Skip to content

Instantly share code, notes, and snippets.

View csu's full-sized avatar

Christopher Su csu

  • San Francisco, CA
View GitHub Profile
python setup.py sdist upload -r pypi
:*b0:#d-::
FormatTime, CurrentDateTime,, yyMMdd
SendRaw %CurrentDateTime%
return
@csu
csu / gist:a3594e9a0f55419f90a0f8ba5c1fc840
Created October 9, 2016 22:07
Gets the year of the first commit in the repo
git log $(git log --reverse --pretty=format:%H|head -1) --date=short --pretty='format:%cd' | cut -c 1-4
git log $(git log --pretty=format:%H|tail -1)
@csu
csu / gist:d6b4148930126745b7491acb54b936d7
Created October 9, 2016 22:22
Gets the date of the first commit in a git repo
git log $(git log --reverse --pretty=format:%H|head -1) --date=short --pretty='format:%cd'
@csu
csu / me
Last active May 11, 2023 07:56
I'm a software engineer in San Francisco, CA.