Skip to content

Instantly share code, notes, and snippets.

View taoliu's full-sized avatar
🌎
Working from the earth

Tao Liu (τν) taoliu

🌎
Working from the earth
View GitHub Profile
@taoliu
taoliu / pyprofile
Created June 19, 2011 20:06 — forked from anonymous/pyprofile
pyrprofile: profile Python script
#!/usr/bin/env bash
## pyprofile: profile Python script
## $Revision$
## Copyright 2011 Michael M. Hoffman <[email protected]>
## Modified by Tao Liu: Correctly get the command name.
set -o nounset
set -o pipefail