"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.

Asyncio Basics Python 35

# Asyncio basics in pythonPython 3.5 brought with it asyncio. An event loop based paradigm previously available as a library but now it i...… Continue reading

Quick Laravel/Lumen install with Docker!

Published on March 02, 2016

PHP To Python

Published on February 24, 2016