Skip to content

Instantly share code, notes, and snippets.

View justinvoss's full-sized avatar

Justin Voss justinvoss

View GitHub Profile
@justinvoss
justinvoss / fabfile.py
Created June 20, 2011 16:05
Example Fabric and Cuisine Scrips
from deployment.cuisine import *
from fabric.api import *
from fabric.context_managers import *
from fabric.utils import puts
from fabric.colors import red, green
import simplejson
import os
#!/usr/bin/env python
# This is the code used to select the winner of
# the Tauntaun Sleeping Bag Contest, sponsored by
# Bleeding Wolf Productions.
#
# The code has been made public so it's fairness
# can be challenged if necessary. The contestants'
# data have been removed to protect their privacy.
#
@justinvoss
justinvoss / using-lang.sh
Created March 18, 2010 01:05
A script for launching OS X apps using any given human language.
#!/bin/bash
# A script for launching OS X apps using any given human language.
if [ $# -ne 2 ]; then
echo "Usage: $0 [language] [application]"
echo "Example:"
echo " $0 fr_CA /Applications/iCal.app"
exit 1
fi