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
#!/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
#!/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 | |
#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 |
NewerOlder