- High level overview https://yogthos.github.io/ClojureDistilled.html
- Interactive exercises http://clojurescriptkoans.com/
- More interactive exercises https://www.4clojure.com/
- Community-powered Clojure courses https://clojurecademy.com/
- Getting started guide https://grison.me/2020/04/04/starting-with-clojure/
- Interactive book https://www.maria.cloud/
- Interactive workbook http://viewer.gorilla-repl.org/view.html?source=github&user=lspector&repo=clojinc&path=worksheet.clj
- Clojure by example https://github.com/inclojure-org/clojure-by-example
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
# Get editor completions based on the config schema | |
"$schema" = 'https://starship.rs/config-schema.json' | |
# Inserts a blank line between shell prompts | |
add_newline = true | |
# Replace the '❯' symbol in the prompt with '➜' | |
[character] # The name of the module we are configuring is 'character' | |
success_symbol = '[➜](bold green) ' | |
error_symbol = '[✗](bold red) ' |
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
(java.util.Date. ) | |
(require '[clojure.string :as str]) | |
(require '[clojure.edn :as edn]) | |
(defn map-from-string [xstr] | |
"Warning: | |
potential security vulnerability in clojure.core/read-string. | |
(https://clojuredocs.org/clojure.edn)" | |
(edn/read-string (str "{" xstr "}"))) |
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
;;; what time is it? | |
;;; (java.util.Date. ) | |
(defn trans-counter [percent-encoded-session] | |
"If the argument is a URLencoded string representing an eGain chat session, | |
this produces a map of utterance counts by source (system, agent, customer) and total count" | |
(let [decoded-string (decode-content percent-encoded-session)] | |
{:sm (count (re-seq #"\{SYSTEM\}transType" decoded-string)) | |
:am (count (re-seq #"\{AGENT\}transType" decoded-string)) | |
:cm (count (re-seq #"\{CUST\}transType" decoded-string)) |
I hereby claim:
- I am SSYH on github.
- I am SamHahn (https://keybase.io/SamHahn) on keybase.
- I have a public key ASANHO0sW4fpqp_GizqWZINLFlt8BnytksINXjCIFPlXqgo
To claim this, I am signing this object: