Skip to content

Instantly share code, notes, and snippets.

thechinnster /
Last active August 29, 2015 14:07
Chinn Family Favorite Movie Quotes

[I know it was you Fredo. You Broke My Heart][1]

-- [The Godfather Part II][2]

[Show Me The Money][3]

-- [Jerry Maguire][4]


HOWTO: Using FileMerge (opendiff) with Git on OSX

FileMerge (opendiff) can really come in handy when you need to visually compare merging conflicts. Other times it's just a nice visual way to review your days work.

The following method works by creating a simple bash script ( that sets us up with the proper command line arguments for Git to pass off files to FileMerge.

thechinnster /
Last active June 21, 2021 20:37
What to Install on a Fresh Mac

What To Install On A Fresh Mac


From App Store

  • [1Password][1]
  • [xCode][2]
  • [Hammerspoon][3]
  • [Caffeine][4]
thechinnster /
Created April 15, 2013 16:38
Text File to Day One
if [[ -s $doneFile ]] ; then
echo -e "\n\n #done" >> $doneFile
/usr/local/bin/dayone new < $doneFile
rm $doneFile
touch $doneFile
fi ;
View gist:5267129
#triangle-down {
width: 0;
height: 0;
border-left: 50px solid transparent;
border-right: 50px solid transparent;
border-top: 100px solid red;
View gist:4946572

Sublime Text 2 – Useful Shortcuts (Mac OS X)


⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt
thechinnster /
Created January 31, 2013 21:55
Ben's Lit Picks
thechinnster /
Last active December 10, 2015 00:08
Year of Roth

Philip Roth has stopped writing novels. Having read all of the novels he's written I'm sad that I'll never read another one for the first time so the next best thing is reading them again. I invite you all to join me in reading a selection of these novels throughout 2013: The Year of Roth.

In order to keep the reading list manageable I've culled the complete bibliography, cutting off both ends (including all the late short books) and removing a few others. As much as some folks love The Great American Novel it's unquestionably minor Roth and I could do without reading it again. I've omitted The Plot Against America because it's long and a downer to have to end on. Feel free to pick it up on 1/1/2014.

Following is a list of included books with start dates:

My Life as a Man Feb 4
Portnoy's Complaint Jan 1
The Breast Jan 28
thechinnster / conflict-regex
Created December 10, 2012 21:40
Regex for conflict markers
thechinnster / update
Created November 20, 2012 20:15 — forked from padcom/update
Git update hook forcing the existence of Jira ticket id at the beginning of the subject (first line in commit message)
View update
# Make sure we handle the situation when the branch does not exist yet
if ! [ $oldrev = 0000000000000000000000000000000000000000 ] ; then
excludes=( ^$oldrev )