Skip to content
Bash, irb, but mostly vim
Shell VimL Ruby JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bin
config
dockerfiles
git_template/hooks
hooks
server
ssh
README.md
ackrc
bash_aliases
bashrc_personal
chrome_secure_shell_settings.js
editrc
gemrc
git-completion.bash
git-prompt.sh
gitconfig
gitignore
inputrc
irbrc
profile_personal
rcrc
tmux.conf
vimrc
whyvim.rb

README.md

Installation

bin/devbox_install.sh will boostrap a new Amazon Linux instance.

Back up meta from devbox

cd /data
filename=meta.$(date +"%F").tar.gz
tar -C /data/meta --exclude='**/tmp' -c -f - . | gzip > $filename
gpg -c $filename
docker run --rm -it --volumes-from data -e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY anigeo/awscli s3 cp /data/$filename.gpg s3://daniel-devbox/$filename.gpg --acl bucket-owner-full-control
rm $filename*

Restore meta directory

filename=meta.$(date +"%F").tar.gz
mkdir -p data/meta
cd data/meta
docker run --rm -it -v $(pwd):/tt -e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY anigeo/awscli s3 cp s3://daniel-devbox/$filename.gpg /tt/$filename.gpg
gpg -d $filename.gpg > $filename
tar -zxf $filename
Something went wrong with that request. Please try again.