Public Gists by wvanbergen

gist: 204134 Audio-enabled, profanity-en...
Gravatar
Wed Oct 07 08:30:30 -0700 2009
1
2
3
  module Swearing
    SWEAR_WORDS = ['dammit', 'fuck', 'son of a bitch', 'motherfucker', 'oh no', 'prick']
    SWEAR_VOICE = 'Alex'
gist: 200607 A method to evaluate static...
Gravatar
Sat Oct 03 04:50:45 -0700 2009
1
2
3
class ParseTree
  
  # Evaluates a static part of the tree that ParseTree.translate returns.
gist: 5017 Add the current git branch ...
Gravatar
Tue Aug 12 00:44:18 -0700 2008
1
2
3
# colors for ls, etc.
parse_git_branch() {
  git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ \[\1\]/'