Skip to content

Instantly share code, notes, and snippets.

View barkanido's full-sized avatar
🎯
Focusing on https://github.com/AppsFlyer/aerospike-clj

Ido Barkan barkanido

🎯
Focusing on https://github.com/AppsFlyer/aerospike-clj
View GitHub Profile
[1
"a string"
{"a-map-key" [42]}
['("this" "is" "a" "list" "of" "strings")]
#{\a \b}
]
{:type :warrior
:name "Bad guy"
:position {:x 11 :y 344}
:health 93
:objects [:sword :dagger]}
{:type :sword
:name "excalibur"
:strength 50
:weight 40}
(defprotocol Talker
(talk [this msg]))
(defrecord Hero
[name type position health objects]
Talker
(talk [this msg]
(println (:name this) ":" msg)))
(->Hero "Bad Guy" :warrior {:x 11 :y 344} 93 [:sword :dagger])
@barkanido
barkanido / setup-neovim-ubuntu.txt
Created October 19, 2020 17:35
a working neovim setup on Ubuntu + clojure dev env
# tested on ubuntu 20.04
Install NeoVim
install a JDK (8/11 is fine) (I use azul)
install lein (a Clojure build tool)
sudo apt install nodejs git curl nvim python3-pip npm clang
sudo npm install -g neovim
pip3 install --upgrade pynvim jedi msgpack black
pip install --upgrade pynvim jedi msgpack
clone Clojure language server (clone https://github.com/snoe/clojure-lsp and run the install_clojure_lsp script.