I hereby claim:
- I am stringertheory on github.
- I am mstringer (https://keybase.io/mstringer) on keybase.
- I have a public key whose fingerprint is 866E D9E9 FDEF 47FB 77AB D1AC 7B91 DA3D 7B5F 643A
To claim this, I am signing this object:
| # standard library | |
| import sys | |
| import random | |
| import time | |
| # need to pip install selenium | |
| from selenium import webdriver | |
| from selenium.webdriver.common.keys import Keys | |
| from selenium.common.exceptions import NoSuchElementException |
| # standard library | |
| import sys | |
| import random | |
| # 3rd party | |
| import numpy as np | |
| import vincent | |
| N_SAMPLES = 10000 |
| # read in data | |
| onlydown <- read.table('scores-onlydown.dat')[,1] | |
| random <- read.table('scores-random.dat')[,1] | |
| # use bootstrap version of KS test | |
| library(Matching) | |
| ks.boot(onlydown, random) |
I hereby claim:
To claim this, I am signing this object:
| # Call virtualenvwrapper's "workon" if .venv exists. This is modified from-- | |
| # http://justinlilly.com/python/virtualenv_wrapper_helper.html | |
| # which is linked from-- | |
| # http://virtualenvwrapper.readthedocs.org/en/latest/tips.html#automatically-run-workon-when-entering-a-directory | |
| check_virtualenv() { | |
| if [ -e .venv ]; then | |
| env=`cat .venv` | |
| if [ "$env" != "${VIRTUAL_ENV##*/}" ]; then | |
| echo "Found .venv in directory. Calling: workon ${env}" | |
| workon $env |
| #!/usr/bin/env python | |
| raise Exception('haters gonna hate') |
| """Script to test a few small versions of combinatorics problem. | |
| """ | |
| from sys import stderr | |
| from collections import Counter | |
| from itertools import permutations | |
| from math import factorial | |
| from time import time | |
| def answer(n, g): |
| import sys | |
| import codecs | |
| from proselint.command_line import lint | |
| import termcolor | |
| WINDOW = 40 | |
| FORE = 'white' | |
| BACK = 'on_blue' |
| """Template for the design process.""" | |
| def empathize(people): | |
| raise NotImplementedError | |
| def define(people, needs): | |
| raise NotImplementedError |
| """Convert a google doc to markdown with all of the cruft removed. | |
| """ | |
| import hashlib | |
| import imghdr | |
| import shutil | |
| import subprocess | |
| import sys | |
| import urllib | |
| import urlparse |