$ cd /path/to/your/project
$ git init .
This file contains 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
CFG = { | |
test: {}, | |
prod: {}, | |
dev: { | |
... | |
# smtp: { ... } | |
} | |
} |
This file contains 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
rsync -a server:backups/ backups/foo/ | |
rsync --server --sender -logDtpre.iLsf . backups/ |
This file contains 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
L = -> console.log.apply console, arguments |
This file contains 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
socat -d -d -d TCP4-LISTEN:9999,fork,bind=localhost TCP4:192.168.1.222:27017 |
This file contains 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
source 'https://rubygems.org' | |
gem 'taps' | |
gem 'rack', '1.5.0' # see https://github.com/rack/rack/issues/528 | |
gem 'sinatra' | |
gem 'pg' | |
gem 'sqlite3' |
This file contains 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
libav-tools | |
libavcodec-extra-53 | |
libavdevice-extra-53 | |
libavfilter-extra-2 | |
libavformat-extra-53 | |
libpostproc-extra-52 |
This file contains 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 | |
host="$HOSTNAME" | |
exclude_list=( | |
/.bundle /.cabal /.gem /.node /.npm /.vagrant.d /Downloads /VMs | |
/opt/{pkg,src} /tmp/work/dump | |
) | |
for x in "$HOME"/tmp/build/chromium*; do |
This file contains 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
ssh -Nv -L 8888:localhost:27017 user1@server1 | |
ssh -Nv -L 9999:localhost:27017 user2@server2 | |
mongodump -h localhost:8888 -d db1 -u user1 -p '' | |
mongorestore -h localhost:9999 -d db2 -u user2 -p '' dump/db1/ |
This file contains 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
build-essential | |
byobu | |
curl | |
dia | |
git | |
gitg | |
grc | |
gstreamer0.10-ffmpeg | |
gstreamer0.10-fluendo-mp3 | |
haskell-platform |