I hereby claim:
- I am patricklucas on github.
- I am plucas (https://keybase.io/plucas) on keybase.
- I have a public key ASAAf5af_PRPc0SYFSQwh5Bm1ocuIRUztRPfRmVZQvO0uAo
To claim this, I am signing this object:
# bash completion for Python virtualenvs | |
VE_DIR="$HOME/dev/virt" | |
function ve() { | |
if [ -z "$1" ]; then | |
echo "Must specify env" 2>&1 | |
return 1 | |
fi |
function _ssh_completion() { | |
perl -ne 'print "$1 " if /^Host (.+)$/' ~/.ssh/config | |
} | |
complete -W "$(_ssh_completion)" ssh |
$ whois google.com | |
Whois Server Version 2.0 | |
Domain names in the .com and .net domains can now be registered | |
with many different competing registrars. Go to http://www.internic.net | |
for detailed information. | |
GOOGLE.COM.ZZZZZZZZZZZZZZZZZZZZZZZZZZZ.LOVE.AND.TOLERANCE.THE-WONDERBOLTS.COM | |
GOOGLE.COM.ZZZZZZZZZZZZZZZZZZZZZZZZZZ.HAVENDATA.COM |
CFLAGS=`sdl-config --cflags` | |
LIBS=`sdl-config --libs` -lSDL_image -lSDL_gfx | |
.PHONY: all | |
all: fun | |
fun: main.cpp | |
g++ -o $@ $(CFLAGS) $(LIBS) $^ |
from __future__ import division | |
import random | |
def experiment(num_trials): | |
"""This demonstrates that the expectation of the number of random values | |
on the interval 0 <= r < 1 which sum to greater than 1 is the constant 'e'. | |
""" | |
total_num_values = 0 |
from collections import defaultdict | |
from pyleus.storm import SimpleBolt | |
class CountWordsBolt(SimpleBolt): | |
def initialize(self): | |
self.words = defaultdict(int) |
I hereby claim:
To claim this, I am signing this object:
{ | |
"description": "CAT schemas for Industry Member reportable events", | |
"version": "4.0.0", | |
"dataTypes": [ | |
{ | |
"dataType": "Price", | |
"JSONDataType": "NUMBER", | |
"precision": 10, | |
"scale": 8 | |
}, |