Skip to content

Instantly share code, notes, and snippets.

View barberj's full-sized avatar

Justin Barber barberj

  • Atlanta, Ga
  • 20:12 (UTC -04:00)
View GitHub Profile
@devnoo
devnoo / doctor.erl
Created July 19, 2012 18:52
seven languages in seven weeks erlang day 3
-module(doctor).
-behaviour(supervisor).
-export([start/0]).
-export([init/1]).
start() ->
supervisor:start_link({local, doctor}, doctor, []).
init(_Args) ->
@tsoporan
tsoporan / gist:2764350
Created May 21, 2012 20:08
Twitter Access Token /w Flask & Rauth
from flask import Flask, request, redirect, url_for
from rauth.service import OAuth1Service
twitter = OAuth1Service(
name='twitter',
consumer_key='TWITTER KEY',
consumer_secret='TWITTER SECRET',
request_token_url = 'https://api.twitter.com/oauth/request_token',
access_token_url = 'https://api.twitter.com/oauth/access_token',
authorize_url = 'https://api.twitter.com/oauth/authorize',

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name: