Skip to content

Instantly share code, notes, and snippets.

View anpr's full-sized avatar

Andreas Profous anpr

View GitHub Profile
@bhb
bhb / repl.txt
Created October 18, 2017 22:49
Error messages at clojure repls
;; clojure 1.8.0 - lein repl
user=> (defn hello "hello world")
IllegalArgumentException Parameter declaration missing clojure.core/assert-valid-fdecl (core.clj:7181)
;; clojure 1.9.0-beta2 - lein repl
user=> (defn hello "hello world")
@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='