Skip to content

Instantly share code, notes, and snippets.

View avitkauskas's full-sized avatar

Alvydas Vitkauskas avitkauskas

  • Vilnius, Lithuania
View GitHub Profile
@avitkauskas
avitkauskas / core.clj
Created June 8, 2024 12:33
Exploding Dots Machine
(ns dots-machine.core)
(defn representation
"Create a string representation of the digits in dot-machine notation."
[explode create digits]
(apply str create "" explode ": "
(map (fn [digit] (if (< digit 10) digit (char (+ 87 digit)))) digits)))
(defn dots-machine
"Transform the decimal `number` using the `create<-explode` dot-machine."
@avitkauskas
avitkauskas / biff-vim-iced-nrepl.md
Last active February 19, 2024 16:34
How to connect to Biff nREPL using vim with vim-iced

How to connect to Biff nREPL using Vim with vim-iced

If you use vim-iced in Vim and you have troubles connecting to Biff nREPL from your editor, try this:

Add nREPL middleware for vim-iced to your Biff project dependences (deps.edn):

;; deps.edn
{ ; ...
 :deps { ; ...