Skip to content

Instantly share code, notes, and snippets.

Avatar

Jacob O'Bryant jacobobryant

View GitHub Profile
@jacobobryant
jacobobryant / vim-commands.md
Last active Nov 18, 2019
common vim commands
View vim-commands.md
MOVEMENT
j k h l
b B w W
C-u C-d ("control-u")
gg G 10G
C-e C-f
%
0 $
C-o <tab>
@jacobobryant
jacobobryant / logs-datomic-cloud-ions.md
Last active Jul 13, 2019
Better logs for Datomic Cloud Ions
View logs-datomic-cloud-ions.md

You may discover soon after adding logging to your Ions that CloudWatch really sucks. Fortunately you can forward your logs to Loggly instead. See here.

@jacobobryant
jacobobryant / local-root.md
Last active May 24, 2019
tools.deps bug with :local/root?
View local-root.md

On a project I'm working on, this gives me an error:

$ clj -Sdeps '{:deps {trident/build {:local/root "/home/arch/dev/trident/target/build"}}}' \
>     -m trident.build reset
Exception in thread "main" Syntax error compiling at (trident/build/util.clj:1:1).
...
Caused by: java.lang.ClassNotFoundException: jnr.posix.POSIXFactory
...

(I have (:import (jnr.posix POSIXFactory))) in that file).