[ Launch Inlet ]Gist #4298920 Gist #4298706 Gist #4298583 Gist #4298401 Gist #4298385 Gist #4298360 Gist #4298327 Gist #4298316 Gist #4298253 Gist #4298238 Gist #4298226 Gist #4298087 Gist #4298038 Gist #4298001 Gis
[ Launch: Tributary inlet ] 5193321 by lennyjpg
[ Launch: Tributary inlet ] 5221758 by lennyjpg
[ Launch: Tributary inlet ] 5243084 by lennyjpg
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/sh | |
# open tunnel | |
ssh -v -M -f -N -L 3306:localhost:3306 "$1" -S /tmp/ssh-control | |
# dump sql, gzip, encrypt with openssl | |
mysqldump -u root -p"$3" "$2" --host 127.0.0.1 | gzip | openssl aes-256-cbc -salt -out mysqldump.aes -k "$4" | |
# close tunnel | |
ssh -S /tmp/ssh-control -O exit "$1" |
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
find ~/Library/Mail/ -name "*.emlx" -print0 | xargs -0 grep "^To:" -h | grep -o '[[:alnum:]+\.\_\-]*@[[:alnum:]+\.\_\-]*' | sort | uniq -c | sort -rn > ~/Desktop/recipients-sorted-by-frequency.txt && open ~/Desktop/recipients-sorted-by-frequency.txt |
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
Abaccus | |
Abbervail Dream | |
Abby | |
Abdullah | |
Abercrombie | |
Able Master | |
Above and Beyond | |
Above The Clouds | |
Abracadabra | |
Absent |