Skip to content

Instantly share code, notes, and snippets.

(ns random-game
(:require [clojure.string :as str]))
(->
(slurp "https://dl.timo-linde.de/spiele.txt")
(str/split-lines)
(rand-nth))
@Timo-Linde
Timo-Linde / wichtel.clj
Last active November 10, 2021 12:10
Secret Santa
(ns website.wichtel)
(def teilnehmer:innen
#{"Alex" "Alina" "Andrea" "Chris" "Justine" "Pia" "Timo" "Volker"})
(def paare
[#{"Alex" "Alina"}
#{"Andrea" "Volker"}
#{"Chris" "Pia"}
#{"Justine" "Timo"}])
(ns mc.vint)
(def ^:private msb 2r10000000)
(defn read-more?
[b]
(-> (bit-and msb b)
(> 0)))
(defn clear-msb