Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env bash
log_dir=~/irclogs/crawl
rm ~/names
grep -ir "$1" "$log_dir" | grep -oE "< [[:alnum:]]+>" | grep -ivE "(Henzell|Sequell|Gretell|Sizzell)" >> ~/names
python name_counts.py
crawl () {
case "$1" in
"cao" )
user="joshua"
server="crawl.akrasiac.org"
;;
"cdo" )
user="crawl"
server="crawl.develz.org"
;;
crawl () {
case "$1" in
"cao" )
user="joshua"
server="crawl.akrasiac.org"
;;
"cdo" )
user="crawl"
server="crawl.develz.org"
;;
crawl () {
case "$1" in
"cao" )
user="joshua"
server="crawl.akrasiac.org"
;;
"cdo" )
user="crawl"
server="crawl.develz.org"
;;
#!/usr/bin/env python
from collections import defaultdict
from itertools import chain, repeat
from random import choice
##################
# Map Generation #
##################
#==============
#!/usr/bin/env python
from collections import defaultdict
from itertools import repeat
from pprint import pprint
from random import choice
def grid(height, width):
return [['0' for n in range(width)] for n in range(height)]
def place_bombs(grid, n_bombs):
#!/usr/bin/env python
from collections import defaultdict
from itertools import repeat
from pprint import pprint
from random import choice
def grid(height, width):
return [['0' for n in range(width)] for n in range(height)]
grid = grid(15, 15)
hangedman: 1538
blasthardcheese: 719
elliott: 665
blade: 557
hanged_man: 454
minqmay: 393
nomi: 381
crate: 279
lightli: 275
wensley: 272
HangedMan: 677
[Hanged_Man]: 444
Blade-: 366
elliott: 337
Nomi: 290
Lightli: 231
minqmay: 227
eeviac: 126
Patashu: 117
ktgrey: 103
< Eronarn> fr: remove short blades
< heteroy> fr: quick halberds
< HangedMan> fr: shapeshifters start with mimic equipment
< Dixbert> fr: comprehensive refactoring
< Chousuke> fr: a pony :P
< ghallberg> fr: hell bros, humans living in hell, try to kill you with broken bottles
< HangedMan> fr: xom occasionally summons holies like uhhhh
< alefury> fr: make ghouls fast :D
< Zannick> fr: new branch xom's abyss
< hangedman_> fr: knowledge bots page accepts @? and @??