- emacs 26.3
- cider 0.25.0
- leiningen 2.9.4 on Java 11.0.2
~/.lein/profiles.clj
:{:user {:plugins []}}
In a terminal, run these commands:
(defn qualify-definitions | |
[d prefix] | |
(let [p (str prefix ".") | |
p' (str "#/definitions/" p)] | |
(into | |
{} | |
(map (fn [[k v]] | |
[(str p k) | |
(walk/postwalk | |
(fn [o] |
;; "human" date/time format parsing | |
(def human-time-parser | |
(insta/parser | |
"S = H (':' M)? ' '? P? (' ' Z)? | |
H = #'[1-9]' | #'1[0-2]' | |
M = #'0[0-9]' | #'[1-5][0-9]' | |
P = AM | PM | |
AM = 'A' 'M'? | |
PM = 'P' 'M'? |
{:paths ["."] | |
:deps {clansi/clansi {:mvn/version "1.0.0"}}} |
You need to have SketchTool installed somewhere in your path.
Add this in your ~/.gitconfig
file (for some reason, it won't work in a local .gitconfig file):
(defmacro dbg [body] | |
`(let [x# ~body] | |
(println "dbg:" '~body "=" x#) | |
x#)) |