Skip to content

Instantly share code, notes, and snippets.

View cesarvarela's full-sized avatar
🟢
this is a green dot

Cesar Varela cesarvarela

🟢
this is a green dot
View GitHub Profile
#!/bin/sh
# Some things taken from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
echo ""
echo "Increasing the window resize speed for Cocoa applications"
defaults write NSGlobalDomain NSWindowResizeTime -float 0.001
echo ""
@cesarvarela
cesarvarela / pre-commit
Last active August 29, 2015 14:05 — forked from mobz/pre-commit
#!/bin/sh
# don't commit jasmine specs containing a ddescribe or iit
if git diff --cached --name-only | xargs egrep --include "*.spec.js" "\b(iit|ddescribe)\b"
then
echo "Found spec with iit or ddescribe"
exit 1
fi