I hereby claim:
- I am djwhitt on github.
- I am djwhitt (https://keybase.io/djwhitt) on keybase.
- I have a public key whose fingerprint is 94A9 7ED4 6CFC 8958 9B89 DF49 D89D A46F F77A 6978
To claim this, I am signing this object:
#!/usr/bin/env bash | |
term_opts='-it' | |
if [[ $@ == **-d** ]]; then | |
term_opts='-i' | |
fi | |
exec docker run $term_opts \ | |
--user $(id -u) \ | |
--rm=true \ |
I hereby claim:
To claim this, I am signing this object:
(let [event-chan (chan 1) | |
t-out (timeout 5000) | |
start-ts (.getTime (js/Date.))] | |
(go | |
(loop [] | |
(>! event-chan :some-event) | |
(let [[_ ch] (alts! [t-out event-chan] :priority true)] | |
(cond | |
(and (= ch event-chan) | |
(< (- (.getTime (js/Date.)) start-ts) 10000)) |
(defun djw/clojure-find-tag () | |
(let ((symbol (cider-symbol-at-point))) | |
(when symbol | |
(replace-regexp-in-string "[^/]+/" "" symbol)))) |
(defun dotspacemacs/user-config () | |
"Configuration function for user code. | |
This function is called at the very end of Spacemacs initialization after | |
layers configuration. | |
This is the place where most of your configurations should be done. Unless it is | |
explicitly specified that a variable should be set before a package is loaded, | |
you should place your code here." | |
;; General |
Before: | |
Mon Feb 22 2016 20:49:41 GMT-0600 (CST) nvim-parinfer.js: n 10 | |
Mon Feb 22 2016 20:49:41 GMT-0600 (CST) nvim-parinfer.js: n 15 | |
Mon Feb 22 2016 20:49:42 GMT-0600 (CST) nvim-parinfer.js: c 12 | |
Mon Feb 22 2016 20:49:42 GMT-0600 (CST) nvim-parinfer.js: n 6 | |
Mon Feb 22 2016 20:49:42 GMT-0600 (CST) nvim-parinfer.js: n 17 | |
Mon Feb 22 2016 20:49:42 GMT-0600 (CST) nvim-parinfer.js: n 11 | |
Mon Feb 22 2016 20:49:42 GMT-0600 (CST) nvim-parinfer.js: n 11 | |
Mon Feb 22 2016 20:49:42 GMT-0600 (CST) nvim-parinfer.js: n 10 |
<?xml version="1.0" encoding="UTF-8" ?> | |
<workload name="bucket-test" description="Bucket Test"> | |
<storage type="s3" config="accesskey=XXXXXXXXXXXXXXXXXXXX;secretkey=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX==;proxyhost=10.14.20.12;proxyport=8080;endpoint=http://10.14.20.12/" /> | |
<workflow> | |
<workstage name="init"> | |
<work type="init" workers="1" config="cprefix=bucket-test;containers=r(1,10)" /> | |
</workstage> |
########### free mode config ############### | |
protocol=free | |
host=192.168.5.11 | |
#free mode will use 3 ports starting with this one: | |
port=4334 | |
## optional overrides if you don't want ./data and ./log | |
data-dir=/var/lib/datomic | |
log-dir=/var/log/datomic |
class Parslet::Slice | |
attr_reader :size | |
def initialize(string, offset, source=nil) | |
@str, @offset = string, offset | |
@source = source | |
@size = @str.size | |
end | |
def == other |
# Magical Parslet change (hope it works) | |
class Parslet::Slice | |
attr_reader :size | |
def initialize(string, offset, line_cache=nil) | |
@str, @offset = string, offset | |
@line_cache = line_cache | |
@size = @str.size | |
end |