Thursday, August 15, 2013
It's not immediately obvious that you shouldn't just use your gmail account password when submitting code to code.google.com. While you can change your google code settings to do that, the default is to use the auto-generated password available at https://code.google.com/hosting/settings. If you're using google two-factor authentication the auto-generated password is probably your only option.
at 12:43 PM
Saturday, August 3, 2013
Use this command to tar, zip and encrypt a directory:
tar cvz --to-stdout src_dir | gpg --cipher-algo AES256 --symmetric > out.tar.gz.gpgOR you can use gpg-zip, which is a thin shell wrapper around tar and gpg for exactly this purpose, but it turns out getting the arguments passed correctly to tar and gpg for what I want to do was more complex than the above.
at 10:35 PM