Skip to content

Instantly share code, notes, and snippets.

@jjcomer
jjcomer / kahn.clj
Created May 10, 2013 18:25 — forked from alandipert/kahn.clj
Use disj
(use '[clojure.set :only (difference union intersection)])
(defn without
"Returns set s with x removed."
[s x] (disj s x))
(defn take-1
"Returns the pair [element, s'] where s' is set s with element removed."
[s] {:pre [(not (empty? s))]}
(let [item (first s)]
@jjcomer
jjcomer / personal.el
Last active December 26, 2015 05:28
Emacs dotfile
;;; personal.el -- Josh's EMACS config
;;
;;; Commentary:
;;
;; My config for Emacs, using the prelude settings pack.
;;
;;; License:
;;
;;The MIT License (MIT)
;;
@jjcomer
jjcomer / keybase.md
Last active August 29, 2015 13:58
keybase.md

Keybase proof

I hereby claim:

  • I am jjcomer on github.
  • I am jjcomer (https://keybase.io/jjcomer) on keybase.
  • I have a public key whose fingerprint is 951D BB52 4253 4B41 E48F 00BD 8FB0 6166 F8A9 582F

To claim this, I am signing this object:

@jjcomer
jjcomer / keybase.md
Created May 20, 2015 16:58
keybase.md

Keybase proof

I hereby claim:

  • I am jjcomer on github.
  • I am jjcomer (https://keybase.io/jjcomer) on keybase.
  • I have a public key whose fingerprint is 8E60 EB2A 9A8F 5A4E 2146 3F4B 124D C290 7C94 9EF2

To claim this, I am signing this object:

@jjcomer
jjcomer / README.md
Created April 1, 2020 00:13
SCRIPT-8