Skip to content

Instantly share code, notes, and snippets.

usrlocalben /
Created May 15, 2016 04:37
"oh hell!" card game logic
"oh hell!" card game logic
(aka contract whilst)
benjamin yates & dave renne, 2016
renne house rules edition
import sys
import random
from itertools import chain
View gist:be9abca5f3b13169cce8
git config --global ""
git config --global "David Renne"
git config --global core.editor "vim"
git config --global core.fileMode false
git config --global push.default current
git config --global alias.up 'pull --rebase --autostash'
git config --global alias.cp 'cherry-pick'
git config --global alias.s 'status'
git config --global 'checkout'
git config --global alias.c 'commit -a'
View oo.php
// Define the 'class' class
$class = Obj()
->fn('new', function ($class) {
$newClass = Obj($class->methods)
->fn('new', function($class) {
$obj = Obj($class->imethods);
$args = func_get_args();
martinisoft / gistie.rb
Created September 23, 2008 06:29 — forked from pieter/gistie.rb
command-line posting to gist
View gistie.rb
#!/usr/bin/env ruby
# Made by Pieter de Bie <>
# Based on a "Pastie" task by someone
require "tempfile"
USERNAME = "martinisoft"
TOKEN = "6ef8395fecf207165f1a82178ae1b984"