Skip to content

Instantly share code, notes, and snippets.

View twumdjin's full-sized avatar

Twum Djin twumdjin

  • Goodwater Capital
View GitHub Profile
require 'csv'
require 'json'
require 'net/http'
require 'uri'
require 'date'
CHATS_URL = 'https://api.livechatinc.com/v2/chats/'
class ReadChatsApi
@twumdjin
twumdjin / gist:0ceeafc91c9d0a764b8b
Created January 14, 2015 19:05
Differentiating between production, development and test environments in Google App Engine (GAE)
import os
TEST = 0
DEVELOPMENT = 1
PRODUCTION = 2
__ALL_ENVIRONMENTS = (TEST, DEVELOPMENT, PRODUCTION)
def current():
"""