Skip to content

Instantly share code, notes, and snippets.

File created by PyGithub
@Aaron1011
Aaron1011 / foobar.txt
Created February 5, 2014 04:24
Gist created by PyGithub
File created by PyGithub
File created by PyGithub
@Aaron1011
Aaron1011 / foobar.txt
Created February 5, 2014 04:31
Gist created by PyGithub
File created by PyGithub
File created by PyGithub
@Aaron1011
Aaron1011 / foobar.txt
Created February 5, 2014 04:32
Gist created by PyGithub
File created by PyGithub
File created by PyGithub

Keybase proof

I hereby claim:

  • I am Aaron1011 on github.
  • I am Aaron1011 (https://keybase.io/Aaron1011) on keybase.
  • I have a public key whose fingerprint is 5B68 51CB B27C 9ED0 4264 048B 26E8 E618 340A 8ADB

To claim this, I am signing this object:

###TeCoEd and a T-REX:-)
import sys, subprocess, urllib, time, tweepy
import piface.pfio as pfio
pfio.init()
# == OAuth Authentication ==
#
# This mode of authentication is the new preferred way
# of authenticating with Twitter.
@Aaron1011
Aaron1011 / xkcd.py
Created September 3, 2014 23:31
xkcd 1416 - 'Pixels' image scraper
import requests
import os
JSON_BASE = 'http://c.xkcd.com/turtle/'
IMAGE_BASE = 'http://imgs.xkcd.com/turtledown/'
IMAGE_SUFFIX = '-tiled.png'
START = 'turtles'
IMAGE_DIR = 'imgs/'