Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
# Script for installing tmux on systems where you don't have root access.
# tmux will be installed in $HOME/bin.
# It's assumed that wget and a C/C++ compiler are installed.
# exit on error
set -e
TMUX_VERSION=2.0
{
"template": "sfly-preprod-logs-*",
"settings" : {
"number_of_shards" : 5,
"number_of_replicas" : 1,
"index" : {
"query" : { "default_field" : "@message" },
"store" : { "compress" : { "stored" : true, "tv": true } }
}
},
@zhoutuo
zhoutuo / jsdoc3.rb
Last active December 17, 2015 05:59 — forked from cescoffier/jsdoc3.rb
require 'formula'
class Jsdoc3 < Formula
homepage 'http://usejsdoc.org/'
url 'https://github.com/jsdoc3/jsdoc/archive/releases/3.2.zip'
def install
libexec.install Dir['*']
# Custom invoker that just passes on whatever arguments you give it
system "/bin/echo '#!/bin/sh' > jsdoc"