Skip to content

Instantly share code, notes, and snippets.

View lambacck's full-sized avatar

Christopher Lambacher lambacck

View GitHub Profile
@lambacck
lambacck / bs2to3.sh
Last active August 29, 2015 13:56 — forked from sibson/bs2to3.sh
#!/bin/sh
searchpath='.'
if [ $# -gt 0 ]; then
searchpath=$1
shift 1
fi
searchterm="-e container-fluid -e row-fluid -e 'span\\d{1,2}' -e 'offset\\d{1,2}' -e brand* -e navbar -e nav -e hero-unit -e icon* -e btn -e btb-mini -e btn-small -e btn-large -e visible-phone -e visible-tablet -e visible-desktop -e hidden-phone -e hidden-tablet -e hidden-desktop -e input-prepend -e input-append -e add-on -e btn-navbar -e thumbnail"
@lambacck
lambacck / gist:3048647
Created July 4, 2012 18:03 — forked from jayd3e/gist:3048615
partial Pyramid.iss
[Files]
Source: "python-2.6.msi"; DestDir: "{tmp}"
Source: "setuptools-0.6c11.win32-py2.6.exe"; DestDir: "{tmp}"
[Run]
Filename: "msiexec.exe"; Parameters: "/i ""{tmp}\python-2.6.msi"""
Filename: "setuptools-0.6c11.win32-py2.6.exe"; Parameters: ""
@lambacck
lambacck / gist:1299684
Created October 19, 2011 21:10 — forked from ramalho/gist:1299473
PyCon random review script
#!/usr/bin/python
import random
import webbrowser
def newone():
target = random.randrange(3, 483)
url = 'http://us.pycon.org/2012/review/%s/' % target
webbrowser.open(url)