Skip to content

Instantly share code, notes, and snippets.

View kylemcc's full-sized avatar

Kyle McCullough kylemcc

View GitHub Profile
@kylemcc
kylemcc / slowtest.py
Last active December 23, 2015 18:39 — forked from stantonk/slowtest.py
if 'test' in sys.argv:
import django.test
import time
class TimedTestCase(django.test.TestCase):
_TOO_LONG = 0.100
def run(self, *args, **kwargs):
_start = time.time()
super(TimedTestCase, self).run(*args, **kwargs)
@kylemcc
kylemcc / hack.sh
Last active January 27, 2016 11:59 — forked from erikh/hack.sh
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#