Create tar image at a/foo.tar
clojure -A:user/pack -m mach.pack.alpha.jib --image-type tar -A:prod -m edge.main --tar-file a/foo.tar --image-name foocorpLoad tar into Podman
podman load -i a/foo.tar| " Simple plugin to reset iskeyword when in cmdline mode. | |
| let s:saved_iskeyword=0 | |
| function s:reset_iskeyword() | |
| let s:saved_iskeyword=&iskeyword | |
| set iskeyword& | |
| endf | |
| function s:restore_iskeyword() |
| (defn- schema->type | |
| [schema] | |
| (let [types (concat | |
| (m/search schema | |
| {"format" "date-time"} :db.type/instant | |
| {"format" "uri"} :db.type/uri | |
| {"type" "array"} '(Array nil) | |
| {"type" "boolean"} :db.type/boolean | |
| {"type" "integer"} :db.type/long | |
| {"type" "string"} :db.type/string |
| (defn- schema->type | |
| [schema] | |
| (let [types (concat | |
| (m/search schema | |
| {"format" "date-time"} :db.type/instant | |
| {"format" "uri"} :db.type/uri | |
| {"type" "array"} '(Array nil) | |
| {"type" "boolean"} :db.type/boolean | |
| {"type" "integer"} :db.type/long | |
| {"type" "string"} :db.type/string |
| (ns user | |
| (:import [org.cactoos.io InputOf TeeInput] | |
| [org.buildobjects.process ProcBuilder] | |
| [org.zeroturnaround.exec ProcessExecutor] | |
| [org.apache.commons.io.input ReaderInputStream] | |
| [org.apache.commons.io.output WriterOutputStream])) | |
| (defn reload | |
| [] | |
| (require 'user :reload)) |
| " vim:fdm=marker:tw=59 | |
| source ~/src/github.com/junegunn/vim-plug/plug.vim | |
| let g:config_base_dir = '~/.config/nvim' | |
| call plug#begin(g:config_base_dir.'/pluggedtest') | |
| " Enable true colour (16 million instead of 256) support | |
| set termguicolors | |
| " Set the clipboard to be the same as the system's |
This is amazing, don’t you know.
I hereby claim:
To claim this, I am signing this object:
In this document I’m going to attempt describe the problems that may arise when building a Vim integration with the Clojure nREPL
nREPL client functionality can be broken down into 2 parts:
Managing connections to an nREPL server
bencoding
connecting
Interacting with the nREPL (UI)
| import sys | |
| import os | |
| basedir = os.path.dirname(os.path.realpath(__file__)) | |
| sys.path.append(os.path.join(basedir, "nrepl_python_client/")) | |
| import nrepl | |
| conn = nrepl.connect("nrepl://127.0.0.1:35243") | |
| # Create a session |