This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#cron job | |
#*/5 * * * /path/to/script | |
RCFILE_ARCHIVE=/path/to/rcfile/gzip | |
MORGUE_ARCHIVE=/path/to/morgue/gzip | |
# base is the parent directory of rcfiles/ or morgue/ | |
# files is a newline separated list of rcfiles/neil.rc or morgue/neil.txt files |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# ARGUMENTS | |
# <venv> (a virtualenv name) # this is required | |
src=$HOME/dev | |
dest=$HOME/.venv | |
# the virtualenv name is required |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# ARGUMENTS/VARIABLES | |
# <venv> (a virtualenv name) # this is required | |
src=$HOME/dev # old venv base path | |
dest=$HOME/.venv # new venv base path | |
if [[ $# != 1 ]]; then | |
script=$(echo $0 | grep -oE '[[:alnum:]]+\.[[:alnum:]]+$') | |
echo "Usage: $script <venv>" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
markov chain string generator thing | |
""" | |
from collections import defaultdict | |
import itertools | |
import random | |
import sys |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
markov chain string generator thing | |
""" | |
from collections import defaultdict | |
import itertools | |
import random | |
import sys |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
markov chain string generator thing | |
""" | |
from collections import defaultdict | |
import itertools | |
import random | |
import sys |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
< 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 @?? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HangedMan: 677 | |
[Hanged_Man]: 444 | |
Blade-: 366 | |
elliott: 337 | |
Nomi: 290 | |
Lightli: 231 | |
minqmay: 227 | |
eeviac: 126 | |
Patashu: 117 | |
ktgrey: 103 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hangedman: 1538 | |
blasthardcheese: 719 | |
elliott: 665 | |
blade: 557 | |
hanged_man: 454 | |
minqmay: 393 | |
nomi: 381 | |
crate: 279 | |
lightli: 275 | |
wensley: 272 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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) |
OlderNewer