"PUSH IT!" Git post-commit hook.

Reading time ~1 minute

For a few months, every time I pushed a commit I would play a sound clip. (Specifically Push It by Salt-n-Pepa) This was just for kicks, but would take a few seconds to open my Spotify account and actually find/play the clip.

Recently I found a way to add it to my post-commit hook in git.

Open .git and navigate to the folder called "hooks". Copy the post-commit.sample and save it as post-commit.

Enter the following command:

afplay "/path/to/file/Pushit.m4a"
Save and enjoy!

NOTE: This only works on mac.

Quick Laravel/Lumen install with Docker!

The default installer that comes with Laravel is great, but unfortunately that means you have to install dependencies of PHP and Laravel/...… Continue reading

PHP To Python

Published on February 24, 2016

Aftertouch in Logic Pro X and 2015 Macbook Pro

Published on February 24, 2016