Skip to content

Instantly share code, notes, and snippets.

Dominic Monroe SevereOverfl0w

Block or report user

Report or block SevereOverfl0w

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@SevereOverfl0w
SevereOverfl0w / new.clj
Created Sep 27, 2019 — forked from eraserhd/new.clj
Another win for meander
View new.clj
(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
@SevereOverfl0w
SevereOverfl0w / new.clj
Created Sep 27, 2019 — forked from eraserhd/new.clj
Another win for meander
View new.clj
(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
View in-to-proc.clj
(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))
@SevereOverfl0w
SevereOverfl0w / plug-fork.init.vim
Created Jul 9, 2018
My init.vim based on a fork of vim-plug
View plug-fork.init.vim
" 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
@SevereOverfl0w
SevereOverfl0w / docgist-test.adoc
Last active Feb 16, 2018
Test docgist with asciidoctor
View docgist-test.adoc
View keybase.md

Keybase proof

I hereby claim:

  • I am severeoverfl0w on github.
  • I am severeoverfl0w (https://keybase.io/severeoverfl0w) on keybase.
  • I have a public key ASAAWOqoz7BMSwcOd57NBQ7ieH70taq0ujaVNYDkXS2enwo

To claim this, I am signing this object:

@SevereOverfl0w
SevereOverfl0w / vim_clojure_client.adoc
Last active Jan 1, 2018
Some thoughts on integrating Neo(vim) and Clojure tooling
View vim_clojure_client.adoc

Async nREPL client for Clojure

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:

  1. Managing connections to an nREPL server

    • bencoding

    • connecting

  2. Interacting with the nREPL (UI)

@SevereOverfl0w
SevereOverfl0w / figwheel.py
Created Jul 19, 2016
Interacting with Figwheel via Python
View figwheel.py
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
@SevereOverfl0w
SevereOverfl0w / built.boot
Created Jun 3, 2016
Boot, Asciidoctor, Blogging, Spec
View built.boot
(set-env! :dependencies '[[adzerk/boot-test "1.1.0"]
[im.chit/hara.event "2.2.17"]
[im.chit/hara.time "2.2.17"]
[org.asciidoctor/asciidoctorj "1.5.4"]]
:source-paths #{"test" "src"})
(require '[adzerk.boot-test :refer :all])
(require '[boot.util :refer [dosh]])
(require '[clojure.java.io :as io])
(require '[hara.time :as t])
View keybase.md

Keybase proof

I hereby claim:

  • I am severeoverfl0w on github.
  • I am severeoverfl0w (https://keybase.io/severeoverfl0w) on keybase.
  • I have a public key ASBEuNCN21tUfT5X9jCrZDrS_ATOvx6TsLt3rOWyNeGIogo

To claim this, I am signing this object:

You can’t perform that action at this time.