Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env bb
;; lein2deps | jet --pretty > deps.edn
(require '[clojure.string :as str]
'[clojure.edn :as edn])
(defn read-project-clj []
(-> "project.clj"
slurp
{"323474"
{:session-id "323474",
:session-data
{:session-information
{:description
"NatWest Group (Formally RBS) is the largest business and commercial bank in the UK. It offers market-leading digital capabilities combined with expert human support for personal customers. And it provides banking services for around one in four businesses in the UK and Ireland. NatWest's goal is to become a 'relationship bank in a digital world\" NatWest last presented at DevOps Enterprise Summit 2019, the Hero’s Journey. The journey continues today as Agile and DevOps principles and practices are adopted to improve productivity, creativity and competitive advantage. “Organise the people, organise the work, speed up the work” is the mantra of improvement across the bank, inspired in 2018 by the pan-bank Ways of Working improvement programme. NatWest Group have embarked on an ambitious project, implementing DevOps principles, practices and capabilities across a multi-organisational landscape spanning over 7000 engin
(ns vormen
(:require [clojure.string :as str]))
(defn basisvorm []
(case (rand-int 4)
0 [:num (inc (rand-int 15))]
(1 2 3) (into [:term (inc (rand-int 15))]
(comp (map (fn [_] (rand-nth '[a b c d])))
(distinct))
(range (inc (rand-int 2))))))
(ns vormen
(:require [clojure.string :as str]))
[:+ [:* 25 'a]]
(defn dice [n d]
(apply + (map (fn [_] (inc (rand-int d)))
(range n))))
(defn basisvorm []
#!/usr/bin/env bb
;; lein2deps | jet --pretty > deps.edn
(require '[clojure.string :as str]
'[clojure.edn :as edn])
(defn read-project-clj []
(-> "project.clj"
slurp
#!/bin/sh
exec java-17 \
-Xms8G \
-Xmx8G \
-XX:+UseG1GC \
-XX:+ParallelRefProcEnabled \
-XX:MaxGCPauseMillis=200 \
-XX:+UnlockExperimentalVMOptions \
-XX:+DisableExplicitGC \
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
https://maven.apache.org/xsd/settings-1.0.0.xsd">
<servers>
<server>
<id>my.datomic.com</id>
<username>...</username>
<password>...</password>
</server>

Graphics

CLJC

  • Quil Graphics and animation sketches, based on Processing
  • th.ing/geom a comprehensive and modular geometry & visualization toolkit. WebGL, OpenGL, SVG.
  • Iglu Turning data into GLSL shaders for use by OpenGL and WebGL. By Zach Oakes, part of play-cljc.

Clojure