This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Dawson Reid | |
# Feb 25, 2015 | |
# Note : Currently only supports Debian. | |
VAGRANT_USERNAME="vagrant" | |
VAGRANT_PASSWORD="vagrant" | |
LANGUAGE_LOCAL="en_US" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### | |
Dawson Reid ([email protected]) | |
### | |
exec = require('child_process').exec | |
util = require 'util' | |
path = require 'path' | |
module.exports = (grunt) -> | |
grunt.loadNpmTasks 'grunt-contrib-coffee' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
WORKON_HOME=$HOME/.virtualenv | |
if [ ! -d "$WORKON_HOME" ]; then | |
pip install virtualenvwrapper | |
export WORKON_HOME=$WORKON_HOME | |
mkdir -p $WORKON_HOME |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
RBENV_DIR=$HOME/.rbenv | |
if [ ! -d "$RBENV_DIR" ]; then | |
git clone https://github.com/sstephenson/rbenv.git $RBENV_DIR | |
echo 'export PATH="$RBENV_DIR/bin:$PATH"' >> ~/.bash_profile | |
echo 'eval "$(rbenv init -)"' >> ~/.bash_profile | |
git clone https://github.com/sstephenson/ruby-build.git $RBENV_DIR/plugins/ruby-build |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def is_installed(pkg): | |
''' | |
Tests if a python module is installed. | |
''' | |
try: | |
__import__(pkg) | |
return True | |
except ImportError: | |
return False |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'''! | |
''' | |
from __future__ import ( | |
print_function, | |
unicode_literals,) | |
__author__ = 'Dawson Reid <[email protected]>' | |
import logging |
NewerOlder