Skip to content

Instantly share code, notes, and snippets.

View delagoya's full-sized avatar

Angel Pizarro delagoya

View GitHub Profile
@delagoya
delagoya / hack
Created October 10, 2008 15:00 — forked from reinh/ship.sh
hack, ship and pause, play git shell helpers
#!/bin/sh -x
# git name-rev is fail
CURRENT=`git branch | grep '*' | awk '{print $2}'`
git checkout master
git pull origin master
git checkout ${CURRENT}
git merge master
@delagoya
delagoya / hack
Created October 10, 2008 14:58 — forked from reinh/hack.sh
git shell script to pull changes from remote into current branch
#!/bin/sh -x
# git name-rev is fail
CURRENT=`git branch | grep '*' | awk '{print $2}'`
git checkout master
git pull origin master
git checkout ${CURRENT}
git rebase master
import sys
sys.path.insert(0, 'cherrypy.zip')
sys.path.insert(0, 'mako.zip')
import cherrypy
from cherrypy import tools
from mako.template import Template
from mako.lookup import TemplateLookup
import wsgiref.handlers