This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM phusion/baseimage:0.9.6 | |
RUN apt-get -qq -y install wget | |
RUN wget https://www.rabbitmq.com/rabbitmq-signing-key-public.asc -O /tmp/rabbitmq.asc | |
RUN apt-key add /tmp/rabbitmq.asc | |
RUN rm /tmp/rabbitmq.asc | |
RUN echo "deb http://www.rabbitmq.com/debian/ testing main" > /etc/apt/sources.list.d/rabbitmq.list | |
RUN apt-get -qq update | |
RUN apt-get -qq -y install rabbitmq-server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am wavejumper on github. | |
* I am crowley (https://keybase.io/crowley) on keybase. | |
* I have a public key whose fingerprint is 549E A6FA 6952 A4F6 CAD6 41FC CBC2 6C40 3C9D 8DB2 | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[org.clojure/clojure "1.5.1"] | |
overrides | |
[clojurewerkz/elastisch "2.0.0-beta3"] -> [org.clojure/clojure "1.6.0"] | |
Consider using these exclusions: | |
[clojurewerkz/elastisch "2.0.0-beta3" :exclusions [org.clojure/clojure]] | |
[compojure "1.1.6"] -> [org.clojure/core.incubator "0.1.0"] | |
overrides | |
[com.cemerick/friend "0.2.0"] -> [org.clojure/core.incubator "0.1.1"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
DOWNLOADS=/home/wavejumper/files | |
WATCH_FOLDER=/home/wavejumper/deluge-watch | |
SEEDBOX_BOOKMARK=Seedbox | |
case "$1" in | |
upload) | |
scp "$2" $SEEDBOX:$WATCH_FOLDER | |
;; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/env node | |
var words = [ | |
'ag man', | |
'antie', | |
'anties', | |
'aweh', | |
'baas', | |
'babelaas', | |
'bakgat', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Modified from https://gist.github.com/douglasduteil/5525750#file-travis-secure-key-sh | |
# | |
# If you need: | |
# ssh-keygen -t rsa -C "travis" -f ~/.ssh/travis_rsa | |
# | |
# Example usage: ./travis-encrypt-key.sh ~/.ssh/travis-rsa | |
# Run in same directory as your .travis.yml file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(live-add-packs '(~/.live-packs/tom-pack)) | |
(add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/")) | |
(set-default-font "Inconsolata 14") | |
(add-hook 'after-init-hook 'color-theme-solarized-dark) | |
(add-hook 'prog-mode-hook #'diff-hl-mode) | |
(setq scroll-step 1) | |
(setq scroll-conservatively 10000) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(use 'rhizome.viz) | |
(defn hierarchy [root] | |
(for [d (descendants root) | |
:when (some #{root} (parents d)) | |
:let [h (hierarchy d)]] | |
(if (empty? h) d [d h]))) | |
(defn hierarchy-graph [root] | |
(view-tree sequential? seq [root (hierarchy root)] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns foo.core | |
(:require [clojure.core.match :refer (match)] | |
[compojure.core :refer :all])) | |
(defn metrics [req resp] | |
(match [req resp] | |
[{:uri "/login"} {:status 401}] | |
(println "Failed login") | |
[{} {:status 500}] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show: Clojure Java REPL Tooling Duplicates All (21 frames hidden) | |
1. Unhandled clojure.lang.ExceptionInfo | |
Value does not match schema: {:a (not (= :b :c)), :b | |
missing-required-key} | |
{:type :schema.core/error, | |
:schema | |
{:a {:v :b}, | |
:b [java.lang.String], |
OlderNewer