Skip to content

Instantly share code, notes, and snippets.

View IGJoshua's full-sized avatar

Joshua Suskalo IGJoshua

  • IRIS.TV
  • Ames, IA
View GitHub Profile
@freakhill
freakhill / user-reader-dispatch-macro.clj
Created January 22, 2020 13:10
because i was curious, also keywords not supporting spaces is puzzling, why?
(ns keyword-reader-macro.core
(:import [clojure.lang LispReader LispReader$StringReader]))
(defn field []
(.getDeclaredField LispReader "dispatchMacros"))
(defn dispatch-macros []
(.get (field) LispReader))
(defn dispatch-reader!
@ericnormand
ericnormand / 00_script.clj
Last active May 18, 2024 08:30
Boilerplate for running Clojure as a shebang script
#!/bin/sh
#_(
#_DEPS is same format as deps.edn. Multiline is okay.
DEPS='
{:deps {clj-time {:mvn/version "0.14.2"}}}
'
#_You can put other options here
OPTS='