Skip to content

Instantly share code, notes, and snippets.

View danielmiessler's full-sized avatar
💭
Coding

Daniel Miessler danielmiessler

💭
Coding
View GitHub Profile
# Black Perl
BEFOREHAND: close door, each window & exit; wait until time.
open spellbook, study, read (scan, select, tell us);
write it, print the hex while each watches,
reverse its length, write again;
kill spiders, pop them, chop, split, kill them.
unlink arms, shift, wait & listen (listening, wait),
sort the flock (then, warn the "goats" & kill the "sheep");
kill them, dump qualms, shift moralities,
values aside, each one;
@danielmiessler
danielmiessler / diceroller.py
Last active September 27, 2015 10:47
A simple dicerolling program.
class Array
def sum
self.inject{|sum,x| sum + x }
end
end
nod = 10
noc = 1000000
target = 20
rolls = []