View gbdp.sh
#!/bin/sh | |
function prompt { | |
printf "Do you want to delete $1? (y/N)? " | |
read -r answer | |
if echo "$answer" | grep -iq "^y" ;then | |
git branch -D $1 | |
fi | |
} |
View setup.sh
#!/bin/sh | |
# Update and install some binaries | |
sudo yum -y update | |
sudo yum -y install zsh curl wget git nano unzip | |
# Use temporary directory | |
mkdir ~/tmp | |
cd ~/tmp |
View inline-spec-macro.clj
(ns inline-spec-macro.clj | |
(:require [clojure.spec.alpha :as s] | |
[orchestra.spec.test :as st])) | |
(clojure.core/defn ^:private in? | |
[coll elm] | |
(some #(= elm %) coll)) | |
(clojure.core/defn ^:private indices | |
[pred coll] |
View dark-riemann.css
/* Background */ | |
body, #event-pane { | |
background: #333333; | |
color: white; | |
} | |
li.button, input.server, div.add.button { | |
background-color: #8BC34A !important; | |
border: 0px solid green !important; |
View dark-splunk.css
/* Based on https://gist.github.com/hobbes3/fbc0c591d49178a7995a */ | |
/* BACKGROUND */ | |
body, | |
.dashboard-body, | |
.footer, | |
.dashboard-panel, | |
.dashboard-cell { | |
background: #333333 !important; | |
} |