I hereby claim:
- I am kylemcc on github.
- I am kylemcc (https://keybase.io/kylemcc) on keybase.
- I have a public key whose fingerprint is 6743 6AFF 902F DA3D 9DC3 EA33 1C06 BAEB B810 0AF7
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| import sys | |
| class TestTriedToAccessNetwork(BaseException): | |
| pass | |
| if 'test' in sys.argv: | |
| import socket | |
| class PatchedSocket(socket.socket): | |
| def __init__(self, *args, **kwargs): |
| 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) |
| package main | |
| import ( | |
| "net" | |
| "fmt" | |
| "io" | |
| "os" | |
| "crypto/sha1" | |
| "time" | |
| ) |
| #!/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 | |
| # |