Skip to content

Instantly share code, notes, and snippets.

@uwo
uwo / deps.edn
Last active June 28, 2018 14:32
pspit
{:paths ["."]}
@uwo
uwo / clipboard.clj
Last active June 28, 2018 15:21 — forked from Folcon/clipboard-utils.clj
clipboard spit/slurp
(ns clipboard)
(defn get-clipboard []
(.getSystemClipboard (java.awt.Toolkit/getDefaultToolkit)))
(defn slurp-clipboard []
(try
(.getTransferData (.getContents (get-clipboard) nil) (java.awt.datatransfer.DataFlavor/stringFlavor))
(catch java.lang.NullPointerException e nil)))
@uwo
uwo / .gitignore
Last active July 4, 2018 22:20
pformat & pspit
.nrepl-port
.cpcache
@uwo
uwo / deps.edn
Last active July 9, 2018 19:09
key selection
{:paths ["."]}
@uwo
uwo / deps.edn
Last active July 17, 2018 21:41
process lazy io sequence
{:paths ["."]
:deps
{org.clojure/core.async {:mvn/version "0.4.474"}}}
@uwo
uwo / README.md
Last active July 17, 2018 21:51
async utils

deps.edn

{:deps {gist-uwo/autil {:git/url "https://gist.github.com/uwo/61b3d2f6811e57d3ac387959a5e78c0b"
                        :sha "9a53fbd9ff3812971f34b99c088dd62672fb02c7"}}}
@uwo
uwo / .gitignore
Last active July 19, 2018 13:36
explore xml
.cpcache
@uwo
uwo / README.md
Last active July 22, 2018 17:44 — forked from jcf/log.clj
Refresh logback.xml from a Clojure REPL

deps.edn

{:deps {gist-uwo/logbacku {:git/url "https://gist.github.com/uwo/e98b012c0d9b4bfb4d3464c2ac1e5efd"
                          :sha "6febe8063e7189f39c1bdeb11db2e4ade519bcb8"}}}
@uwo
uwo / .gitignore
Last active September 17, 2018 17:06
osxclip
.cpcache
.nrepl-port
@uwo
uwo / .gitignore
Last active November 15, 2018 21:22
file utils
.cpcache
.nrepl-port