Skip to content

Instantly share code, notes, and snippets.

View zyegfryed's full-sized avatar

Sébastien Fievet zyegfryed

View GitHub Profile
@zyegfryed
zyegfryed / gist:814432
Created February 7, 2011 14:25
Tastypie OAuth
from oauth2 import Error
from django.utils.translation import ugettext as _
from tastypie.authentication import Authentication
from oauth_provider.utils import initialize_server_request, send_oauth_error, get_oauth_request
from oauth_provider.consts import OAUTH_PARAMETERS_NAMES
from oauth_provider.store import store, InvalidTokenError

Keybase proof

I hereby claim:

  • I am zyegfryed on github.
  • I am zyegfryed (https://keybase.io/zyegfryed) on keybase.
  • I have a public key whose fingerprint is CB7D F78F 241E EC07 3006 43B3 1CA6 8A36 B419 64A5

To claim this, I am signing this object:

@zyegfryed
zyegfryed / graphite-api.conf.py
Last active August 29, 2015 13:57
Graphite API init script
bind = "0.0.0.0:2005"
workers = 4
user = "carbon"
group = "carbon"