I hereby claim:
- I am mikeboers on github.
- I am mikeboers (https://keybase.io/mikeboers) on keybase.
- I have a public key whose fingerprint is 9F79 893F 1D13 9C88 86F3 66AD AF8A 1CD7 EAD0 90C4
To claim this, I am signing this object:
function pym { | |
python -m $@ | |
} | |
function _pym_complete { | |
local executable current previous options | |
executable=${COMP_WORDS[0]} | |
current="${COMP_WORDS[COMP_CWORD]}" | |
previous="${COMP_WORDS[COMP_CWORD-1]}" |
import csv | |
import itertools | |
import sys | |
# Read all Tab-delimited rows from stdin. | |
tsv_reader = csv.reader(sys.stdin, delimiter='\t') | |
all_data = list(tsv_reader) | |
# Transpose it. | |
all_data = list(itertools.izip_longest(*all_data, fillvalue='')) |
2013-05-16 17:28:17 mikeboers@maxwell: ~ | |
$ traceroute -w 1 8.8.8.8 | |
traceroute to 8.8.8.8 (8.8.8.8), 64 hops max, 52 byte packets | |
1 * * * | |
2 * * * | |
3 * * * | |
4 * * * | |
5 * * * | |
6 * * * | |
7 * 64.59.148.241 (64.59.148.241) 16.647 ms !X * |
2013-05-15 11:06:20 mikeboers@faraday: ~/Desktop | |
$ gcc fork.c | |
2013-05-15 11:07:25 mikeboers@faraday: ~/Desktop | |
$ ./a.out | |
Before the fork. | |
I am the parent of 9761. | |
I am the child. |
#!/usr/bin/env python | |
from subprocess import call | |
import os | |
import sys | |
import re | |
if len(sys.argv) < 3: | |
print 'usage: %s particle_folder output_type+' % sys.argv[0] | |
exit(1) |
Start CACH (FOR4) of length 40 | |
<Chunk 'VRSN' size=4 value=None> | |
0014: 302e3100 0.1. | |
<Chunk 'STIM' size=4 value=None> | |
0020: 000001f4 .... | |
<Chunk 'ETIM' size=4 value=None> | |
002c: 000001f4 .... |
import base64 | |
import re | |
import sys | |
if len(sys.argv) > 1: | |
code = ''.join(sys.argv[1:]) | |
else: | |
code = sys.stdin.read() | |
# Parse the Google URL. |
import re | |
from mako.template import Template | |
source = '''pre %{for i in range(10)} | |
${- i -} | |
%{- if i % 2 -} | |
- | |
%{- else -} | |
| | |
%{- endif -} |
# encoding: utf8 | |
from __future__ import print_function | |
import base64 | |
import ast | |
def dumps(x): | |
if x in (True, False, None): | |
return repr(x) | |
t = type(x) |
I hereby claim:
To claim this, I am signing this object: