Skip to content

Instantly share code, notes, and snippets.

View candid-slack-theme.txt
#2F343F,#241D2E,#FFCE5B,#2F343F,#4C8273,#EFEEEA,#2CDA9D,#FB7DA7,#A18BD3,#1C1C1C
View empire-slack-theme.txt
#292C30,#000000,#B90508,#FFFFFF,#000000,#FFFFFF,#38FFF5,#CC4400
View keybase.md

Keybase proof

I hereby claim:

  • I am bchopson on github.
  • I am bchopson (https://keybase.io/bchopson) on keybase.
  • I have a public key ASBDZJsobzgM0joNIK81gDmY5MoaBc9Q7vHRehafvyb7JAo

To claim this, I am signing this object:

@bchopson
bchopson / find-failures.sh
Created Jun 13, 2016
Command to find grunt test failures
View find-failures.sh
grunt clean:server && grunt test | grep -i -3 failed
@bchopson
bchopson / pre-commit
Created Jun 2, 2016
Pre-commit hook to enforce space after function keyword
View pre-commit
#!/bin/sh
if grep -r --include \*.js "function(" ./app
then
echo "Put a space after the function keyword!"
echo "Run the following command in app directory to fix:";
echo "find . -name \"*.js\" -print0 | xargs -0 sed -i -e 's/function(/function (/g'"
exit 1;
else
exit 0;