Monday, November 25, 2013

Send/write code in Gmail emails

Use this chrome extension to write the code snippet in Markdown, toggle convert snippet to HTML and send. Win!

Friday, November 15, 2013

Checkout version of a file in previous git commit

# This rolls back the diff of the file in the git commit
git checkout COMMIT_SHA FILE

# Commit the file modification (rolled back diff)
git add FILE
git commit -m "Check out previous version of file." 

Thursday, November 14, 2013

Get large facebook profile picture from facebook id.

Just use the following url format for your image tag.