Skip to content

Instantly share code, notes, and snippets.

View idcmp's full-sized avatar

Idcmp idcmp

  • Vancouver, BC, Canada
View GitHub Profile
[idcmp@idcmp ~]$ cat ~/bin/git-finish
#!/bin/bash
if [ "$1" = "." ]; then
GIT_BRANCH=`git branch --no-color | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/'`
elif [ -z "$1" ]; then
echo "Please specify the branch name."
exit 1
else
GIT_BRANCH=$1
[idcmp@idcmp ~]$ cat ~/bin/git-start
#!/bin/bash
PREFIX=`date +%b%d | tr [:upper:] [:lower:]`
if [ -z "$1" ]; then
echo "Please specify the jira issue."
exit 1
fi
@idcmp
idcmp / hello.py
Created May 18, 2013 03:33
WESTIE
__author__ = 'idcmp'
import json
def handle_westie_results(results):
print results
dancers = {}
success = 0