Generate a good canoe polo draw.
Runs on Python 3, with click installed (pip install click).
| # -*- coding: utf-8 -*- | |
| # | |
| # edit.py | |
| # code-library | |
| # | |
| """ | |
| Implementation of edit distance. | |
| """ |
| # avoid false precision on floating point numbers | |
| %precision 3 | |
| pd.set_option('display.precision', 3) | |
| # use seaborn for nice theming | |
| import seaborn as sns | |
| # up the font sizes on graphs | |
| sns.set_context("notebook", font_scale=1.5, rc={"lines.linewidth": 2.5}) |
| #!/bin/bash | |
| # | |
| # bootstrap.sh | |
| # | |
| # Bootstrap a new Mac. | |
| # | |
| set -e | |
| declare -a BREWS |
| .ipynb_checkpoints |
| Arrow−Struck Tiger | |
| Big Halberd | |
| Black Whirlwind | |
| Boat Flame | |
| Comet | |
| Demon Carver | |
| Demon Face | |
| Demon King Who Roils the World | |
| Dragon from the Cave | |
| Dragon from the Forest |
| #!/bin/bash | |
| # | |
| # aws_profile | |
| # | |
| # Manages multiple AWS accounts through symlinks. | |
| # | |
| if [ ! -d ~/.aws ]; then | |
| echo "ERROR: can't find \${HOME}/.aws directory" 1>&2 | |
| exit 1 |
Here's my saga. It's heavily based on this earlier gist, but adapted for Mavericks. I'm starting off from pyenv running anaconda-1.9.1.
I tried several versions, but only 2.4.8 compiled successfully for me.
wget http://downloads.sourceforge.net/project/opencvlibrary/opencv-unix/2.4.8/opencv-2.4.8.zip
unzip opencv-2.4.8.zip
cd opencv-2.4.8| #!/bin/bash | |
| # | |
| # tempdir | |
| # | |
| # Enter a temporary scratch space directory. | |
| # | |
| d="$(mktemp -d)" | |
| ( | |
| echo "Entering $d" |
I hereby claim:
To claim this, I am signing this object: