Skip to content

Instantly share code, notes, and snippets.

View gstamp's full-sized avatar

Glen Stampoultzis gstamp

  • Melbourne, Victoria
View GitHub Profile

Keybase proof

I hereby claim:

  • I am gstamp on github.
  • I am gstamp (https://keybase.io/gstamp) on keybase.
  • I have a public key whose fingerprint is 7583 DD23 A818 E89C F0DF 8D58 CFBE 70F4 A44E 018E

To claim this, I am signing this object:

(ns poker.core
(:require [clojure.string :as str])
(:gen-class))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; Helpers
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(defn value [card]
(and card
@gstamp
gstamp / gist:4be38062f500f67e70f8
Last active August 29, 2015 14:04
TPPI Server Info

Welcome to TPPI!

You're probably here because you've been invite to play on the TPPI minecraft server. This server is currently running at an undisclosed location through the power of the NBN.

To play you'll need to do the following:

  • Have your account explicitly whitelisted - please send through your exact login name to sj26.
  • Install a copy of Feed the Beast (http://www.feed-the-beast.com/).

Installation

@gstamp
gstamp / gist:8140768
Created December 27, 2013 00:33
Recent Branches on Git
#! /bin/sh
git for-each-ref --sort=-committerdate refs/heads/ --format='%(committerdate:short) %(authorname) %(refname:short)' | head
@gstamp
gstamp / gist:3429937
Created August 22, 2012 22:11
For a multiline string having a bracket on the first column will highlight it as an error. Also seems to cause problems with paredit.
(setq testing "
(bracket on first column highlighted as red
")
@gstamp
gstamp / gist:704567
Created November 18, 2010 03:04
Macro problem
(defmacro foo []
`(defn bar [p#] (println "hi" ~@(list 1 2 p#))))
;; Results in: Unable to resolve symbol: p# in this context
;; How do I reference p#?