Skip to content

Instantly share code, notes, and snippets.

View kenmickles's full-sized avatar
🚀

Ken Mickles kenmickles

🚀
View GitHub Profile
@kenmickles
kenmickles / gist:4032351
Created November 7, 2012 15:44
Useful shell commands that I'll never remember
# tail log file with timestamp
tail -f log/production.log | awk '{now=strftime("%F %T%z\t");sub(/^/, now);print}' | grep something
# determine when a git branch was created
git show --summary `git merge-base new_map master`
@kenmickles
kenmickles / gist:1895126
Created February 23, 2012 21:23
URL for adding a companion to a Southwest flight
http://www.southwest.com/account/rapidrewards/bookCompanion.html?recordLocator={CONFIRMATION_NUMBER}&ss=0