Skip to content

Instantly share code, notes, and snippets.

View tsimons's full-sized avatar

TJ Simons tsimons

  • Minneapolis, MN
View GitHub Profile
@tsimons
tsimons / aftereach.sublime-snippet
Last active August 29, 2015 14:16
Sublime Snippets
<snippet>
<content><![CDATA[
afterEach(function () {
$0
});
]]></content>
<tabTrigger>aftereach</tabTrigger>
<description>Jasmine afterEach block</description>
</snippet>
@tsimons
tsimons / commit-msg
Last active October 19, 2015 16:31
Git Hooks
#!/bin/sh
red='\033[0;31m'
NC='\033[0m' # No Color
if !(grep -Fq "[MT-" .git/COMMIT_EDITMSG)
then
echo ""
echo "${red}WARNING! ${NC}Jira ID not found in commit message. Run \"git commit --amend\" before you push, to add it"
echo ""