Skip to content

Instantly share code, notes, and snippets.

View _completemarks
_completemarks() {
local curw=${COMP_WORDS[COMP_CWORD]}
local wordlist=$(find $MARKPATH -type l | sed -En 's/(.*)\/.(marks)\/(.*)/\3/p')
COMPREPLY=($(compgen -W '${wordlist[@]}' -- "$curw"))
return 0
chadhs / mkvirtualenv-use-homebrew-python
Created June 20, 2014 03:09
Get `mkvirtualenv` to use homebrew's installed python over system python on OS X (line 4 is the key)
View mkvirtualenv-use-homebrew-python
## python development
export WORKON_HOME=$HOME/.virtualenvs
export VIRTUALENVWRAPPER_PYTHON=/usr/local/bin/python2.7
source /usr/local/bin/

Keybase proof

I hereby claim:

  • I am chadhs on github.
  • I am chadhs ( on keybase.
  • I have a public key whose fingerprint is 4D1A CE5B 6E12 81AE 2DC6 C293 D87C F143 BB61 9F44

To claim this, I am signing this object:

View natal demo
# Natal Demo
## getting started
install natal
npm install -g natal