This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Generate your backup private key and certificate | |
openssl req -nodes -newkey rsa:1536 -x509 -keyout backup.key -out backup.crt | |
# Encrypt your data to a temporary folder | |
rsyncrypto --verbose --ne-nesting=2 --trim=2 --name-encrypt=/tmp/rsyncrypto-map --delete-keys --changed --recurse /home/cristian/Dropbox/ /tmp/Dropbox/ /tmp/rsyncrypto-keys ~/Dropbox/backups/laptop/crypto/rsyncrypto/backup.crt | |
# Send it over the network | |
rsync --verbose --archive --compress --delete /tmp/Dropbox/ pi:~/backups/laptop | |
# Decryption time! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script translates some SIPS (scriptable image processing system) commands to ImageMagick. | |
# http://www.unix.com/man-page/all/1/sips | |
input="" | |
output="" | |
convertoption="" | |
while : | |
do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# file_path: "yard/.yardoc" | |
# options: {:types=>[:namespace, :method], :levels=>2} | |
# node_path: "YARD" | |
{ | |
"@context": { | |
"type": "@type", | |
"y_ld": "http://sparqly.cfcl.com/y_ld/", | |
"yard": "http://sparqly.cfcl.com/yard/", |