I hereby claim:
- I am kscottz on github.
- I am kscottz (https://keybase.io/kscottz) on keybase.
- I have a public key whose fingerprint is 60F6 AC49 95B0 BDFD 3BFC 3C60 584E CE9C 1E95 F0A6
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| import cv2 | |
| import numpy as np | |
| import time | |
| import livestreamer | |
| # use live streamer to figure out the stream info | |
| streams = livestreamer.streams("http://www.twitch.tv/inostupid") | |
| stream = streams['best'] | |
| # open our out file. | |
| fname = "test.mpg" |
| from goprohero import GoProHero | |
| import urllib | |
| import bs4 | |
| import time | |
| def download_and_save(name,route="http://10.5.5.9:8080/videos/DCIM/100GOPRO/"): | |
| grab = route+name | |
| result = urllib.urlopen(grab) | |
| if( result.code == 200 ): | |
| with open(name,'wb') as fp: |
| import itertools as it | |
| def make_cards(n,m=[0,100,200,300,400]): | |
| values = [n+mm for mm in m] | |
| cards = [] | |
| for card in it.permutations(values): | |
| cards.append(list(card)) | |
| return cards | |
| def run_alg(cards,alg): |
| import itertools as it | |
| def make_cards(n,m=[0,100,200,300,400]): | |
| values = [n+mm for mm in m] | |
| cards = [] | |
| for card in it.permutations(values): | |
| cards.append(list(card)) | |
| return cards | |
| def run_alg(cards,alg): |
| import pkg_resources | |
| import argparse | |
| import os.path as osp | |
| import csv | |
| def get_pkg_license(pkgname): | |
| """ | |
| Given a package reference (as from requirements.txt), | |
| return license listed in package metadata. | |
| """ |
| tempoautomation@tempoautomation:~/Code$ ipython | |
| Python 2.7.6 (default, Mar 22 2014, 22:59:56) | |
| Type "copyright", "credits" or "license" for more information. | |
| IPython 1.2.1 -- An enhanced Interactive Python. | |
| ? -> Introduction and overview of IPython's features. | |
| %quickref -> Quick reference. | |
| help -> Python's own help system. | |
| object? -> Details about 'object', use 'object??' for extra details. |
| In [1]: %paste | |
| import tinyg as tg | |
| tgm = tg.TGMode() | |
| tgm.configure() | |
| tgm.home() | |
| tgm.execute("$$\r") | |
| tgm.execute("G91\r") | |
| tgm.execute("G0X100\r") | |
| tgm.execute("G0X-100\r") |
| tempoautomation@MarkV:~/Code/tempo_ws/src/tinyg_node/scripts$ ipython | |
| Python 2.7.6 (default, Mar 22 2014, 22:59:56) | |
| Type "copyright", "credits" or "license" for more information. | |
| IPython 1.2.1 -- An enhanced Interactive Python. | |
| ? -> Introduction and overview of IPython's features. | |
| %quickref -> Quick reference. | |
| help -> Python's own help system. | |
| object? -> Details about 'object', use 'object??' for extra details. |