Skip to content

Instantly share code, notes, and snippets.

@travisbhartwell
travisbhartwell / gist:1239973
Created September 24, 2011 23:12
Yay Fun Hack
#!/bin/bash
# Don't allow unset variables
set -o nounset
# Exit if any command gives an error
set -o errexit
# Constants
LOG_DIR=$HOME/tmp
@goozbach
goozbach / .gitignore
Created October 18, 2011 19:23
Inheritance/scope problem
*.sw[po]
*.pyc