Skip to content

Instantly share code, notes, and snippets.

(defun always-nil (&args)
nil)
;; Still some weird things with non-pprint eval going on
(advice-add 'cider-pprint-eval-last-sexp :filter-return #'always-nil)
(advice-add 'cider-pprint-eval-defun-at-point :filter-return #'always-nil)
(advice-add 'cider-pprint-eval-last-sexp-to-comment :filter-return #'always-nil)
(advice-add 'cider-pprint-eval-defun-to-comment :filter-return #'always-nil)
(advice-add 'cider-eval-last-sexp-and-replace :filter-return #'always-nil)
(require '[clojure.string :as string]
'[meander.match.delta :as r.match]
'[meander.strategy.delta :as r]
'[meander.substitute.delta :as sub])
(def html
[:html {:lang "en"}
[:head
[:meta {:charset "UTF-8"}]
@jimmyhmiller
jimmyhmiller / README.md
Created February 2, 2019 05:21
SCRIPT-8
;; Thread first of https://tinyurl.com/yc2vzjm3
(-> 0
1
(num
1)
fizzbuzz
(λfizzbuzz.
λn.
((for
(require '[clojure.spec.alpha :as s]
'[clojure.set :as set]
'[clojure.spec.test.alpha :as stest])
(s/def ::thing any?)
(s/def ::other-thing any?)
(s/fdef a
:args (s/cat :map (s/keys :req [::thing]))
:ret (s/keys :req [::thing]))
@jimmyhmiller
jimmyhmiller / critical_hits.json
Last active January 29, 2018 21:26
pathfinder critical hits json
{
"criticals": {
"bludgeoning": [
{
"description": "Normal damage and 1d2 Con and Str damage. Hand uselss until healed",
"name": "Shattered Hand",
"type": "bludgeoning"
},
{
"description": "Normal damage and target is confused for 1d3 rounds (Fort negates)",
@jimmyhmiller
jimmyhmiller / critical hits json
Created January 29, 2018 21:25
pathfinder critical hits json
{
"criticals": {
"bludgeoning": [
{
"description": "Normal damage and 1d2 Con and Str damage. Hand uselss until healed",
"name": "Shattered Hand",
"type": "bludgeoning"
},
{
"description": "Normal damage and target is confused for 1d3 rounds (Fort negates)",

Loan App

Add bootstrap css

bind @browser
  [#link rel:"stylesheet" href:"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"]

Set Default size

@jimmyhmiller
jimmyhmiller / keybase.md
Created February 13, 2017 19:15
Keybase

Keybase proof

I hereby claim:

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

To claim this, I am signing this object: