I hereby claim:
- I am bkreider on github.
- I am bkreider (https://keybase.io/bkreider) on keybase.
- I have a public key ASDTruum1_oiV2cChOTQoJtzGJcCnh8p5SjaEWPTN3PHvwo
To claim this, I am signing this object:
"""A notebook manager that uses S3 storage. (based on the Azure manager) | |
http://ipython.org/ipython-doc/dev/interactive/htmlnotebook.html#using-a-different-notebook-store | |
Drop this file in IPython/frontend/html/notebook | |
1. Create a new notebook profile - ipython profile create nbserver | |
2. edit ~/.ipython/profile_nbserver/ipython_notebook_config.py | |
3. Add these lines: | |
c.NotebookApp.notebook_manager_class = 'IPython.frontend.html.notebook.s3nbmanager.S3NotebookManager' |
server { | |
listen unix:/tmp/conda.sock; | |
root /Users/bkreider/mine/resty/html; | |
location / { | |
# conda | |
proxy_pass https://repo.anaconda.com/; | |
proxy_pass_header Server; |
I hereby claim:
To claim this, I am signing this object:
""" | |
Generally used like this: | |
1. fab show_status # shows mongo replication status | |
2. fab kill_master # kills the current master - only if the replicaset has no failures, see "safe" flag | |
3. fab start_down_mongo # brings up down machine | |
""" | |
import os.path | |
import subprocess |
from pyspark import SparkContext | |
from pyspark import SparkConf | |
import os | |
import sys | |
if __name__ == "__main__": | |
conf = SparkConf() | |
conf.setAppName("version-check") |
#!/usr/bin/env python | |
import os | |
import sys | |
import stat | |
import os.path | |
import getpass | |
def walktree(top, callback): |
""" | |
Need to run `ping google.com >> /tmp/google.txt` in another terminal. | |
""" | |
import re | |
from bokeh.plotting import * | |
from bokeh.plotting import line | |
from bokeh.objects import GlyphRenderer | |
MAX_HISTORY = 1000 | |
output_server("ping") |
import ssl | |
import boto | |
import socket | |
GOOD_CERT="/opt/anaconda/lib/python2.7/site-packages/requests/cacert.pem" | |
BAD_CERT="/opt/anaconda/lib/python2.7/site-packages/boto/cacerts/cacerts.txt" | |
HOST="ec2.us-west-1.amazonaws.com" | |
PORT=443 |
#!/opt/anaconda/bin/python | |
""" | |
Check to see if the build number conflicts with a local built package. If | |
so, set the ENVIRON variable BINSTAR_BUILD with a non-conflicting number | |
""" | |
import os | |
import sys | |
import os.path | |
import subprocess |
#!/bin/bash | |
# | |
# remote ipython: | |
# | |
# This starts a remote ipython kernel. Downloads the kernel connection file, | |
# and starts a local ipython console connected to the remote machine. | |
# | |
# Features: | |
# - Automatically starts remote kernel | |
# - Copies remote file into ~/.ripython/<hostname.json> |