Skip to content

Instantly share code, notes, and snippets.

View respatialized's full-sized avatar
📶
stabilizing

respatialized

📶
stabilizing
View GitHub Profile
import codeanticode.syphon.*;
import ddf.minim.analysis.*;
import ddf.minim.*;
Minim minim;
AudioInput in;
SyphonServer server;
@respatialized
respatialized / docker_local_shell.sh
Created May 19, 2020 14:00
Mount the working directory in a docker container.
while getopts "d:f:" opt; do
case $opt in
d) dir=$OPTARG ;;
f) format=$OPTARG ;;
*) echo 'error' >&2
exit 1
esac
done
@respatialized
respatialized / deps.edn
Last active April 6, 2022 18:30
Scicloj.ml reprex
{:deps {scicloj/scicloj.ml {:mvn/version "0.2.0"}}}
@respatialized
respatialized / README.md
Created May 12, 2022 14:00
[WIP] Clerk build regression reprex

Clerk Regression Test

This notebook won't build on v0.7.418 but it will on 0.6.387. I think.

To use

clojure -X:success

To run a successful build.

(ns geoplot
(:require [nextjournal.clerk :as clerk]
[nextjournal.clerk.viewer :as viewer]
[clojure.data.json :as json]
[clojure.java.io :as io]
[applied-science.js-interop :as js]))
;; # replicating the Observable Plot [earthquake map example](https://observablehq.com/@observablehq/plot-earthquake-globe?intent=fork) in Clerk using `sci`
(def earthquake-data
@respatialized
respatialized / deps.edn
Last active January 5, 2025 23:49
kindly-render tap browser
{:deps {org.scicloj/kindly-render
#_{:mvn/version "0.1.1-alpha"}
{:git/url "https://github.com/scicloj/kindly-render"
:sha "d77dee338c7d72d157e20b5a45a5513441f5d5e5"}
com.github.igrishaev/ring-jdk-adapter {:mvn/version "0.1.1"}
;; use newer version to avoid JDK22+ errors
io.github.nextjournal/markdown {:mvn/version "0.6.157"}
org.clojure/data.json {:mvn/version "2.5.1"}}}