Skip to content

Instantly share code, notes, and snippets.

@uranusjr
uranusjr / api.py
Last active August 29, 2015 14:21 — forked from mrjohannchang/api.py
import functools
class Api:
def __init__(self):
self.apis = []
def register(self, f):
self.apis.append(f.__name__)
@uranusjr
uranusjr / .gitignore
Created October 20, 2012 02:10 — forked from adamgit/.gitignore
.gitignore file for Xcode4 / OS X Source projects
#########################
# .gitignore file for Xcode4 / OS X Source projects
#
# NB: if you are storing "built" products, this WILL NOT WORK,
# and you should use a different .gitignore (or none at all)
# This file is for SOURCE projects, where there are many extra
# files that we want to exclude
#
# For updates, see: http://stackoverflow.com/questions/49478/git-ignore-file-for-xcode-projects
#########################