Skip to content

Instantly share code, notes, and snippets.

Avatar

Christopher O'Brien obriencj

View GitHub Profile
@chrisjacob
chrisjacob / README.md
Created Feb 14, 2011
Setup GitHub Pages "gh-pages" branch as a subfolder within the "master" project on your local checkout - a step-by-step guide.
View README.md

Intro

Setup GitHub Pages "gh-pages" branch as a subfolder within the "master" project on your local checkout.

IMPORTANT

If you plan on switching between different branches (e.g. git checkout master-experiment then revert back with git checkout master) you will loose your child folder from this tutorial (because it's in your .gitignore and is not part of your master branch).

@vivekhaldar
vivekhaldar / church.py
Created Apr 21, 2012
Church numerals in Python
View church.py
#! /usr/bin/python
#
# Church numerals in Python.
# See http://en.wikipedia.org/wiki/Church_encoding
#
# Vivek Haldar <vh@vivekhaldar.com>
#
# https://gist.github.com/2438498
zero = lambda f: lambda x: x
You can’t perform that action at this time.