Skip to content

Instantly share code, notes, and snippets.

View nbrownus's full-sized avatar
💥

Nate Brown nbrownus

💥
  • Defined Networking, Inc
  • Earth
View GitHub Profile
@nbrownus
nbrownus / kibana-deb.sh
Last active August 29, 2015 13:56
Make a .deb from kibana-latest.zip
# Run this in a path you don't care about, things may get deleted!
VERSION="3.0.0"
BUILD="betable2"
set -e -x
ORIGPWD="$(pwd)"
cd "$(mktemp -d)"
trap "rm -rf \"$PWD\"" EXIT INT QUIT TERM
@nbrownus
nbrownus / graphite-web-deb.sh
Last active November 10, 2015 22:33
Creates a deb for graphite-web
VERSION="0.9.14"
BUILD="slack4"
set -e -x
ORIGPWD="$(pwd)"
TMP="$(mktemp -d)"
cd $TMP
trap "rm -rf \"$TMP\"" EXIT INT QUIT TERM
git clone https://github.com/graphite-project/graphite-web.git
@nbrownus
nbrownus / carbon-deb.sh
Last active November 10, 2015 22:33
Creates a deb for carbon
VERSION="0.9.14"
BUILD="slack2"
set -e -x
ORIGPWD="$(pwd)"
TMP="$(mktemp -d)"
cd $TMP
trap "rm -rf \"$TMP\"" EXIT INT QUIT TERM
git clone https://github.com/graphite-project/carbon.git
@nbrownus
nbrownus / whisper-deb.sh
Last active November 10, 2015 22:33
Creates a deb for whisper
VERSION="0.9.14"
BUILD="slack2"
set -e -x
ORIGPWD="$(pwd)"
TMP="$(mktemp -d)"
cd $TMP
trap "rm -rf \"$TMP\"" EXIT INT QUIT TERM
git clone https://github.com/graphite-project/whisper.git
@nbrownus
nbrownus / grafana-deb.sh
Last active August 29, 2015 13:57
Creates a deb for grafana
# Run this in a path you don't care about, things may get deleted!
VERSION="1.8.1"
BUILD="betable2"
set -e -x
ORIGPWD="$(pwd)"
cd "$(mktemp -d)"
trap "rm -rf \"$PWD\"" EXIT INT QUIT TERM
#!/bin/sh
VERSION="7u67"
BUILD="betable1"
set -e -x
# Keep track of the original working directory.
OLDESTPWD="$PWD"
@nbrownus
nbrownus / haproxy-deb.sh
Created November 4, 2014 23:29
Builds a super basic haproxy deb, no extra crap
#!/bin/sh
VERSION="1.5.8"
BUILD="betable1"
set -e -x
DIRNAME="$(cd "$(dirname "$0")" && pwd)"
OLDESTPWD="$PWD"
@nbrownus
nbrownus / gist:7a8fa65e644d4c371b3b
Created November 18, 2014 18:16
rsyslog - collectd config
<Plugin "tail">
<File "/var/log/rsyslog_stats.log">
Instance "rsyslog"
#########################################################
# MAIN QUEUE SECTION ####################################
#########################################################
<Match>
DSType "GaugeLast"
@nbrownus
nbrownus / bbcp-deb.sh
Created February 21, 2015 00:09
Builds a deb of bbcp
#!/bin/sh
VERSION="1.0.0"
BUILD="betable1"
set -e -x
DIRNAME="$(cd "$(dirname "$0")" && pwd)"
OLDESTPWD="$PWD"
@nbrownus
nbrownus / hadoop-deb.sh
Created March 2, 2015 18:38
Hadoop deb builder
#!/bin/sh
VERSION="2.4.1"
BUILD="betable2"
set -e -x
DIRNAME="$(cd "$(dirname "$0")" && pwd)"
OLDESTPWD="$PWD"