Skip to content

Instantly share code, notes, and snippets.

View puget.css
/* Styling for Puget :html-classes / lambdaisland/deep-diff2 */
code .class-delimiter { color: #a3685a;}
code .class-name { color: #a3685a;}
code .nil { color: #4d4d4c;}
code .boolean { color: #4d4d4c;}
code .number { color: #4271ae;}
code .character { color: #a3685a;}
code .string { color: #3e999f;}
code .keyword { color: #4271ae;}
View defwrapper.clj
(ns defwrapper
(:require [clojure.string :as str]))
(set! *warn-on-reflection* true)
(defn class-methods [^Class class]
(seq (.getMethods class)))
(defn constructors [^Class klazz]
(.getDeclaredConstructors klazz))
View message.json
"text": "Thanks to <@U0525KG62> I was able to create my own very non-scientifiy graphs on our counties covid-19 cases 7 daysrolloing average development. This “just a bunch” of statements put together in a repl.",
"files": [
"id": "F01E5SET7RV",
"created": 1605191147,
"timestamp": 1605191147,
"name": "image.png",
"title": "image.png",
"mimetype": "image/png",
View google_drive.clj
(:require [google-apps-clj.credentials :as cred]
[ :as gd]
[ :as io]))
(def CREDS (-> "ixoflow-google-service-account.json"
(cred/credential-with-scopes [])))
View pinyin.edn
This file has been truncated, but you can view the full file.

Lambda Island Open Source is hiring remotely a part-time maintainer to help us manage our open source efforts. This includes over a dozen projects like the Kaocha test runner, deep-diff, Regal, lambdaisland/uri, and Glögi.

This is not about doing major feature work, instead it's about everything else, all the other things that go into running a successful open source project.

Note that this is in a sense a "public" position, you will be visible in the

View install_runtimes
set -e
# Install JS runtimes for script/test, and set the necessary env vars (so source
# this script in your shell).
# Will ignore runtimes for which the env var is already set (so you can point at
# your own installation).

2020-09-12 Testing ClojureScript itself


There are various test suites under src/test

  • cljs
  • cljs_cli
  • clojure
  • self
View index.html
<!doctype html>
<meta charset="utf-8" />
<title>acme frontend</title>
<div id="root"></div>
<script src="/js/main.js"></script>
View most_dowloaded.edn
(["tigris/tigris" 2508842]
["cheshire/cheshire" 2499472]
["ring/ring-codec" 2447238]
["crypto-random/crypto-random" 2361352]
["crypto-equality/crypto-equality" 2344776]
["ring/ring-core" 2169766]
["clj-time/clj-time" 2137134]
["instaparse/instaparse" 2006171]
["clj-stacktrace/clj-stacktrace" 1961148]
["clout/clout" 1871846]