Skip to content

Instantly share code, notes, and snippets.

# to iterate on this:
# 1) hit edit in gist
# 2) change
# 3) hit raw link and copy
# 4) target_url=
# 5) curl -i https://git.io/ -F "url=${target_url:?}" | grep ^Location: | cut -d: -f2-
# ^ above no longer works - if using macos you can probably copy and paste between machines tho
set -xe
cd
# if sudo -v # ensure this is a non-work computer before uncommenting this
@apiology
apiology / .eslintrc
Created December 28, 2015 01:57 — forked from ghostwords/.eslintrc
{
// http://eslint.org/docs/rules/
"ecmaFeatures": {
"arrowFunctions": false, // enable arrow functions
"binaryLiterals": false, // enable binary literals
"blockBindings": false, // enable let and const (aka block bindings)
"classes": false, // enable classes
"defaultParams": false, // enable default function parameters
"destructuring": false, // enable destructuring
(defn exact-expr [expr]
(cond (coll? expr) (map exact-expr expr)
(number? expr) (rationalize expr)
:else expr))
(defmacro exact [expr]
(exact-expr expr))
(exact (* 2452.45 100))
;=> 245245N