I hereby claim:
- I am macroscopicentric on github.
- I am magpieohmy (https://keybase.io/magpieohmy) on keybase.
- I have a public key ASDSPscAzuW0Nl2YtFC-D3_ZC9M6ylv4ypvDA--9t-2Iiwo
To claim this, I am signing this object:
import sys | |
import subprocess | |
def make_boilerplate(directory): | |
#Don't split and add shell=True arg to subprocess to concatenate commands. | |
mkdir = 'mkdir {0}' | |
tests = 'mkdir {0}/tests && touch {0}/tests/__init__.py && touch {0}/__init__.py' | |
# virtualenv_config = 'mkvirtualenv {0} && pip install nose' | |
git_setup = 'git -C {0} init && echo "*.pyc" > {0}/.gitignore && git -C {0} add -A && git -C {0} commit -m "Boilerplate repo."' | |
commands = [mkdir, tests, git_setup] |
PATH=/usr/local/bin:$PATH | |
PATH=/Applications/Postgres93.app/Contents/MacOS/bin:$PATH | |
PATH=/usr/local/heroku/bin:$PATH | |
if [ -f $(brew --prefix)/etc/bash_completion ]; then | |
. $(brew --prefix)/etc/bash_completion | |
fi | |
if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi |
I hereby claim:
To claim this, I am signing this object: