Skip to content

Instantly share code, notes, and snippets.

View dmd's full-sized avatar

Daniel M. Drucker, Ph.D. dmd

View GitHub Profile
"Hole Foods" store. Donuts, bagels, Cheerios, pretzels, mac and cheese, pineapple rings, Life Savers
"Interrobang", OKCupid clone for grammarians
$590 bike wheel with apps
$60 IPHONE DICK
$600 shoes made of pretty much paper
'A Modest Proposal' family restaurant
.Hz .o, .Hz .m, .Hz .k, .Hz .n
1 month a year people get drafted to do menial labour
1) you have something to say 2) you blog about it 3) PROFIT
1-bit router
"Hole Foods" store. Donuts, bagels, Cheerios, pretzels, mac and cheese, pineapple rings, Life Savers
"Interrobang", OKCupid clone for grammarians
$590 bike wheel with apps
$60 IPHONE DICK
$600 shoes made of pretty much paper
'A Modest Proposal' family restaurant
.Hz .o, .Hz .m, .Hz .k, .Hz .n
1 month a year people get drafted to do menial labour
1) you have something to say 2) you blog about it 3) PROFIT
1-bit router
for job in $(sacct -a -X --start now-24hours -o jobid,State|grep COMPL|cut -f1 -d' '); do
seff -d $job | awk '
NR==2 {
jobID=$3;
user=$4;
reqmemGB=$11/1024/1024;
memGB=$15/1024/1024;
efficiency=(memGB/reqmemGB)*100;
printf "%s\t%s\t%.0f%%\t%.0f/%.0f\n", jobID, user, efficiency, memGB, reqmemGB}'
done \
22:26 <@esch> lindsay longan
21:43 <@rob> (21:42:43) lindsay: ok well, i changed my desktop, and i didnt notice that the picture i picked was a screen shot, and i was freaking out trying to move my icons and they weren't moving, and i could NOT figure out what the problem was, i even restarted my computer
21:29 <@stynxno> though i'm sure teens just hang out with him to try and meet lindsay
10:32 < [bp]> http://www.tmz.com/2007/07/24/sheriffs-release-lindsays-mug-shot/
18:00 <@Wedge> and her "hotness" is WAY overrated http://www.evilbeetgossip.com/wp-content/uploads/2007/07/lindsay_foreigner.jpg
20:39 <@JLA> man, i hate lindsay
19:38 < trollocaust> lindsay thought i was talking about her
20:30 < caterpillar> lindsay is a dog
20:16 <@adipocere> lindsay
00:31 < Judge> lindsay is on the rag atm imo
This file has been truncated, but you can view the full file.
i: 406302
the: 402777
a: 311500
to: 232430
it: 230250
is: 207686
and: 195452
juffo: 182675
that: 181886
wup: 179490
This file has been truncated, but you can view the full file.
i: 406302
the: 402777
a: 311500
to: 232430
it: 230250
is: 207686
and: 195452
juffo: 182675
that: 181886
11: 180509
keywords:
Celeste Drucker: 5828
Daniel Drucker: 4071
Sabina Drucker: 2883
Ariel Weinberg: 1805
Sarah Johnstone: 1086
wedding: 659
Ada-mew: 576
Crispin Weinberg: 511
Dalmatian Coast: 441
from math import comb
import sys
def probability_of_eights(sequence_length, total_string_length=64):
digits = 16
def p(k):
placements = comb(total_string_length - k * (sequence_length - 1), k)
combinations = digits ** (total_string_length - k * sequence_length)
total_ways = digits ** total_string_length
return placements * combinations / total_ways