Skip to content

Instantly share code, notes, and snippets.

View phyer219's full-sized avatar
🏠
Working from home

Zeqing Wang phyer219

🏠
Working from home
View GitHub Profile
@dps
dps / gist:4189760
Created December 2, 2012 16:52
Python code to convert seconds since epoch to ISO format (for kml, xml datetime etc)
dt = datetime.datetime.utcfromtimestamp(seconds_since_epoch)
iso_format = dt.isoformat() + 'Z'
git config --global https.proxy http://127.0.0.1:1080
git config --global https.proxy https://127.0.0.1:1080
git config --global --unset http.proxy
git config --global --unset https.proxy
npm config delete proxy