I hereby claim:
- I am crlane on github.
- I am crlane (https://keybase.io/crlane) on keybase.
- I have a public key whose fingerprint is 2DEE 1D7E 6D28 C87D FB2C CA48 EA81 2985 3D57 CD15
To claim this, I am signing this object:
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| ''' | |
| File: fitter_happier.py | |
| Author: Cameron Lane | |
| Description: Demonstration of the mac os x `say` command from within python. | |
| ''' | |
| import sys,os,urllib2 | 
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| import os, sys | |
| from subprocess import call | |
| _THEMES = '/usr/local/Cellar/highlight/3.12/share/highlight/themes/' | |
| _CMD = 'highlight {} --output={} -O {} --line-numbers --font-size {} --font {} --style {} -W -J {} -j {}' | |
| _OUTPUT = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'output/') | |
| _TEST =os.path.join(os.path.dirname(os.path.realpath(__file__)), 'test/') | 
| import subprocess | |
| import os | |
| START_DIR = '' # replace with your directory | |
| DEST_DIR = '' # replace with your directory | |
| CMD = 'enscript -1rG --line-numbers --highlight=python -p - --color=0 {} | pstopdf -i -o {}.pdf' | |
| def print_source_code(): | |
| for dirname, subdirs, filenames in os.walk(START_DIR): | |
| if 'env' in subdirs: | 
| # ~/.tmuxinator/jazimba.yml | |
| name: jazimba | |
| root: ~/dev/jazimba | |
| # Optional tmux socket | |
| # socket_name: foo | |
| # Runs before everything. Use it to start daemons etc. | |
| pre: vagrant up | 
| from collections import defaultdict | |
| def node(): | |
| return defaultdict(node) | |
| def word_exists(word, node): | |
| if not word: | |
| return None in node | |
| return word_exists(word[1:], node[word[0]]) | 
I hereby claim:
To claim this, I am signing this object:
| https://cloud.google.com/vision/docs/supported-files | |
| https://www.tensorflow.org/tutorials/image_retraining | |
| https://cloud.google.com/blog/big-data/2016/12/how-to-classify-images-with-tensorflow-using-google-cloud-machine-learning-and-cloud-dataflow | |
| https://cloud.google.com/dataflow/docs/quickstarts/quickstart-python | |
| https://cloud.google.com/storage/docs/moving-buckets | |
| https://github.com/GoogleCloudPlatform/cloudml-samples/tree/master/flowers | |
| https://github.com/tensorflow/models/blob/master/research/slim/scripts/finetune_inception_resnet_v2_on_flowers.sh | |
| https://research.googleblog.com/2016/08/improving-inception-and-image.html | |
| https://cloud.google.com/ml-engine/docs/deploying-models | |
| https://keras.io/preprocessing/image/ | 
| let blacklists = ["https://mail.google.com/*", "*://mail.google.com/*", "*://feedly.com/*", "*://*/*.pdf"] | |
| map jj <Esc> | |
| map <C-d> scrollPageDown | |
| map <C-u> scrollPageUp | |
| map <C-f> scrollFullPageDown | |
| map <C-b> scrollFullPageUp | |
| map u lastClosedTab | |
| map O :tabnew<Space> | |
| map o :open<Space> | 
| #!/usr/bin/env bash | |
| REGEX="(i?pdb|__import__\((\'|\")i?pdb(\'|\")\)).set_trace\(\)" | |
| if git-grep --cached -n -P "$REGEX"; then | |
| echo "Your commit includes interactive debug statements. Please remove" | |
| exit 1 | |
| fi |