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 logikal on github. | |
* I am logikal (https://keybase.io/logikal) on keybase. | |
* I have a public key whose fingerprint is 4AA7 1915 C6EE E036 8E65 F4AF 2A9D 8844 0180 009A | |
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
consul: | |
image: progrium/consul | |
name: consul | |
ports: | |
- "8500:8500" | |
- "53:53/udp" | |
command: -server -bootstrap -ui-dir /ui | |
registrator: | |
image: progrium/registrator |
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
{ | |
"vars": { | |
"@gray-base": "#000", | |
"@gray-darker": "lighten(@gray-base, 13.5%)", | |
"@gray-dark": "lighten(@gray-base, 20%)", | |
"@gray": "lighten(@gray-base, 33.5%)", | |
"@gray-light": "lighten(@gray-base, 46.7%)", | |
"@gray-lighter": "lighten(@gray-base, 93.5%)", | |
"@brand-primary": "#f7941e", | |
"@brand-success": "#5cb85c", |
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
root@contactriak0001t1mdw1 certs]# cat /etc/riak/advanced.config | |
[ | |
{riak_core, | |
[ | |
{ssl_enabled, true }, | |
%% The cluster manager will listen for connections from remote | |
%% clusters on this ip and port. Every node runs one cluster | |
%% manager, but only the cluster manager running on the | |
%% cluster_leader will service requests. This can change as nodes | |
%% enter and leave the cluster. |
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 | |
# Set Graphite host | |
GRAPHITE=graphite.sjc1.sendgrid.net | |
GRAPHITE_PORT=2003 | |
# Loop forever | |
while : | |
do | |
# Get epoch |
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
description "the consul service" | |
start on filesystem or runlevel [2345] | |
stop on runlevel [!2345] | |
pre-stop exec consul leave | |
respawn | |
umask 022 | |
chdir / | |
setuid 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
> [bin] uname -a | |
Darwin log1kal 12.5.0 Darwin Kernel Version 12.5.0: Sun Sep 29 13:33:47 PDT 2013; root:xnu-2050.48.12~1/RELEASE_X86_64 x86_64 | |
> [bin] docker run ubuntu cat /etc/lsb-release | |
DISTRIB_ID=Ubuntu | |
DISTRIB_RELEASE=12.04 | |
DISTRIB_CODENAME=precise | |
DISTRIB_DESCRIPTION="Ubuntu 12.04 LTS" | |
> [bin] docker run -d -p 4001:4001 -p 7001:7001 coreos/etcd | |
Unable to find image 'coreos/etcd' (tag: latest) locally | |
Pulling repository coreos/etcd |
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
source "http://my.api-server.tld:26200" | |
cookbook "foo" | |
cookbook "bacon" |
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
set nocompatible " be iMproved | |
set encoding=utf-8 | |
filetype off " required! | |
set rtp+=~/.vim/bundle/vundle/ | |
call vundle#rc() | |
" Let Vundle manage Vundle. Required! | |
Bundle 'gmarik/vundle' |
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/sh | |
while true; do | |
if test -n "`tmux showb 2> /dev/null`"; then | |
tmux saveb -|pbcopy && tmux deleteb | |
fi | |
sleep 0.5 | |
done |