Skip to content

Instantly share code, notes, and snippets.

Verifying that +rodbegbie is my blockchain ID. https://onename.com/rodbegbie

Keybase proof

I hereby claim:

  • I am rodbegbie on github.
  • I am rodbegbie (https://keybase.io/rodbegbie) on keybase.
  • I have a public key whose fingerprint is 8682 32DC 21D7 3638 FFCE 90FD 8DE9 BCE6 EBD5 7A1C

To claim this, I am signing this object:

Kushi Tsuru Mon-Sun 11:30 am - 9 pm
Osakaya Restaurant Mon-Thu, Sun 11:30 am - 9 pm / Fri-Sat 11:30 am - 9:30 pm
The Stinking Rose Mon-Thu, Sun 11:30 am - 10 pm / Fri-Sat 11:30 am - 11 pm
McCormick & Kuleto's Mon-Thu, Sun 11:30 am - 10 pm / Fri-Sat 11:30 am - 11 pm
Mifune Restaurant Mon-Sun 11 am - 10 pm
The Cheesecake Factory Mon-Thu 11 am - 11 pm / Fri-Sat 11 am - 12:30 am / Sun 10 am - 11 pm
New Delhi Indian Restaurant Mon-Sat 11:30 am - 10 pm / Sun 5:30 pm - 10 pm
Iroha Restaurant Mon-Thu, Sun 11:30 am - 9:30 pm / Fri-Sat 11:30 am - 10 pm
Rose Pistola Mon-Thu 11:30 am - 10 pm / Fri-Sun 11:30 am - 11 pm
Alioto's Restaurant Mon-Sun 11 am - 11 pm
@rodbegbie
rodbegbie / facebook.py
Created September 3, 2011 00:15
Hacked version of "official" (but now unsupported) Facebook Python SDK to support OAuth 2.0
#!/usr/bin/env python
#
# Copyright 2010 Facebook
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
@rodbegbie
rodbegbie / foursquare-v2-oauth-python.py
Created January 18, 2011 23:10
Foursquare v2 API python oauth2 example
### Note: This depends on my fork of a fork of python-oauth2
### https://github.com/offlinelabs/python-oauth2
### (The original python-oauth2 doesn't support OAuth 2.0. It's just the second
### OAuth 1.0 library. dgouldin created a fork which has the Client2 class, and
### I tweaked it to support the latest draft of the OAuth 2.0 spec, as implemented
### by the Foursquare v2 API.)
>>> from django.conf import settings
>>> import oauth2, json
@rodbegbie
rodbegbie / hosts
Created July 27, 2010 00:51
Fuck these guys.
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost
> Rod Begbie's Custom Quix Commands
> GITHUB: http://gist.github.com/297988
> GITHUB-FORKED: http://gist.github.com/290059
> MORE: http://quixapp.com
> UPDATED: 2010-02-08_21-42-18
@Rod Begbie's Custom Quix Commands
@Forked from Merlin Mann.
down http://downforeveryoneorjustme.com/%d Is this site downforeveryoneorjustme?
eye javascript:void(window.open('http://tineye.com/search?pluginver=bookmark_1.0&url='%20+%20encodeURIComponent(%r))); TinyEye: Where's this image from?
gma https://mail.google.com/mail/s/#tl/search/%s Search Gmail
@rodbegbie
rodbegbie / remove_polarrose.py
Created October 26, 2009 09:12
Hacky script to remove all the Polar Rose notes now that Flickr has proper persontagging
#!/usr/bin/env python
import flickrapi
import unicodedata
api_key = ""
secret = ''
flickr = flickrapi.FlickrAPI(api_key, secret, token='72157622540482605-f58378ebf472c802')
walker = flickr.walk(user_id='35034351963@N01', per_page=200)