Skip to content

Instantly share code, notes, and snippets.

View ccjoel's full-sized avatar
🌀
Unknown

Joel ccjoel

🌀
Unknown
View GitHub Profile

shadow-cljs code split

Quick comparison to the cljs.loader recently added to CLJS.

Things shadow-cljs does for you:

  • enable-console-print! is a config option, you do not need to call it
  • loader/set-loaded! will be injected for you as well

Install

@paolocarrasco
paolocarrasco / README.md
Last active June 25, 2025 08:14
How to understand the `gpg failed to sign the data` problem in git

Problem

You have installed GPG, then tried to commit and suddenly you see this error message after it:

error: gpg failed to sign the data
fatal: failed to write commit object

Debug

@ccjoel
ccjoel / gist:eb7dcd892805006b2db1567f4f0df1d3
Created May 2, 2019 20:19 — forked from aphyr/gist:3200862
Clojure message passing test
(ns messagepassing.core)
(import [java.util.concurrent LinkedTransferQueue])
(def m 10000000)
(defn queue-test []
(defn bounce [in out m]
(let [value (.take in)]
(if (< value m)
(do
@brandomr
brandomr / es-mapping-update.py
Created November 21, 2022 19:32
es-mapping-update
from elasticsearch import Elasticsearch
import json
es = Elasticsearch('http://localhost:9200')
q = {
"query": {
"match_all": {}
}
}