I hereby claim:
- I am cloudcray on github.
- I am cloudcray (https://keybase.io/cloudcray) on keybase.
- I have a public key ASAz4XwtHslcnqWh1ZGoQVYtKDEwKi41H4jYHU-msqsErQo
To claim this, I am signing this object:
| #!/bin/bash | |
| # | |
| # virtualenvs must be in `~/venv` | |
| # save this as /usr/local/bin/activate | |
| # file is sourced instead of executed - need read permissions only | |
| # `sudo chmod 644 /usr/local/bin/activate` | |
| # | |
| VIRTUAL_ENV="/home/$USER/venv/$1" | |
| export VIRTUAL_ENV | |
| ACT_SCRIPT='source $VIRTUAL_ENV/bin/activate' |
I hereby claim:
To claim this, I am signing this object:
| from foo.bar import baz | |
| import importlib | |
| import foo.bar | |
| importlib.reload(foo.bar) | |
| from foo.bar import baz |
| ¿uɐᴉlɐɹʇsn∀ ʞɐǝds noʎ op ʇnq 'ǝɯ ǝsnɔxƎ | |
I hereby claim:
To claim this, I am signing this object:
| [ | |
| { | |
| "event_id": "Amateur_Pre-Champ_Standard_(WTFQ)_453645", | |
| "comp_id": "Keystone_DanceSport_Classic_2016_31533", | |
| "event_name": "Amateur Pre-Champ Standard (WTFQ)", | |
| "details": { | |
| "results": [ | |
| { | |
| "rank_end": 1390, | |
| "round_reverse_index": 0, |
| # Python 3 | |
| import urllib.parse as p | |
| import bs4 | |
| import os | |
| import json | |
| import requests | |
| class ReadMeIOImporterExporter: |
| import win32com.client | |
| iTunes = win32com.client.gencache.EnsureDispatch("iTunes.Application") | |
| lpl = iTunes.LibraryPlaylist | |
| track_indices = [] | |
| for i in range(lpl.Tracks.Count): | |
| trk = lpl.Tracks(i+1) # iTunes has a 1-based index | |
| if trk.Kind == 1: |
| import urllib | |
| import bs4 | |
| import csv | |
| p = urllib.parse | |
| request = urllib.request | |
| url = 'http://www.ndca.org/directories/' | |
| urls = [] | |
| for i in range(18): # There are 436 adjudicators right now; the loads in sets of 25. 18 pages needed |
| # Author: Cloud Cray | |
| # 2014-12-30 | |
| # Run this script in the same folder as the notebook(s) you wish to convert | |
| # This will create both an HTML and a PDF file | |
| # | |
| # You'll need wkhtmltopdf (this will keep syntax highlighting, etc) | |
| # http://wkhtmltopdf.org/downloads.html | |
| import subprocess | |
| import os |