This file contains 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 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 (dawson@streamlyne.co) | |
### | |
exec = require('child_process').exec | |
util = require 'util' | |
path = require 'path' | |
module.exports = (grunt) -> | |
grunt.loadNpmTasks 'grunt-contrib-coffee' |
This file contains 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 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 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 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 <dawson@streamlyne.co>' | |
import logging |
NewerOlder