This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
P(this): | |
humanized: "probability of this fact to be true" | |
examples: | |
- "P(X) really means WHAT IS(The probability of this fact not to be true)" | |
P(~that): | |
humanized: "probability of that fact not to be true" | |
examples: | |
- P(~X) really means WHAT IS(The probability of that fact not to be true)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am oleiade on github. | |
* I am oleiade (https://keybase.io/oleiade) on keybase. | |
* I have a public key whose fingerprint is 7BC5 93AE 6E89 1305 B530 4CB5 7AEA 4733 9DF4 D759 | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
printf "%s\\n", $0 | |
} | |
END { print "" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
State Passed Failed Errored Cancelled Started | |
FinishedAt | |
2014-07-06 43 23 5 5 5 5 | |
2014-07-13 25 19 1 5 5 5 | |
2014-07-20 141 99 9 27 27 27 | |
2014-07-27 111 82 6 20 20 20 | |
2014-08-03 140 96 19 18 18 18 | |
2014-08-10 131 95 11 15 15 15 | |
2014-08-17 123 87 19 13 13 13 | |
2014-08-24 133 86 35 11 11 11 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import fnmatch, subprocess | |
import sys, os | |
import argparse | |
def generate_filename_pattern(pattern): | |
try: | |
if pattern[0] == '.': |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import sys | |
import pprint | |
from time import sleep | |
import twitter | |
import redis | |
API_CREDENTIALS = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import time | |
import random | |
import sys | |
import pygame | |
from pygame import gfxdraw | |
from pygame.time import Clock | |
from pygame import DOUBLEBUF, HWSURFACE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <fstream> | |
#include <string> | |
#include <boost/algorithm/string.hpp> | |
#include "dump.hh" | |
#include "constants.hh" | |
#include "leveldb/db.h" | |
#include "leveldb/write_batch.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import sys | |
import re | |
MANUAL_PACKAGES = dict.fromkeys([ | |
'leveldb', | |
]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def memoize(func, cache, num_args): | |
""" | |
Wrap a function so that results for any argument tuple are stored in | |
'cache'. Note that the args to the function must be usable as dictionary | |
keys. | |
Only the first num_args are considered when creating the key. | |
""" | |
@wraps(func) | |
def wrapper(*args): |
OlderNewer