This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns random-game | |
(:require [clojure.string :as str])) | |
(-> | |
(slurp "https://dl.timo-linde.de/spiele.txt") | |
(str/split-lines) | |
(rand-nth)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns website.wichtel) | |
(def teilnehmer:innen | |
#{"Alex" "Alina" "Andrea" "Chris" "Justine" "Pia" "Timo" "Volker"}) | |
(def paare | |
[#{"Alex" "Alina"} | |
#{"Andrea" "Volker"} | |
#{"Chris" "Pia"} | |
#{"Justine" "Timo"}]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns mc.vint) | |
(def ^:private msb 2r10000000) | |
(defn read-more? | |
[b] | |
(-> (bit-and msb b) | |
(> 0))) | |
(defn clear-msb |