View slack.sh
#!/bin/bash
WEBHOST_NAGIOS="<Host that nagios is runing on>"
SLACK_CHANNEL="#<Channel name>"
SLACK_BOTNAME="<Bot Name>"
WEBHOOK_URL="<Webhook URL>" #Get it from Slack Incoming WebHooks setup instruction
#Set the message icon based on Nagios service state
if [ "$NAGIOS_SERVICESTATE" = "OK" ]
then
View gist:0fb711e8cd5a2674cb1ab9c5fb8a6233
#!/bin/ruby
require 'json'
require 'time'
class Snapshot
def initialize()
@format = 'json'
@zone = get_zone
@hostname = hostname
View README.md

Synopsis

At the top of the file there should be a short introduction and/ or overview that explains what the project is. This description should match descriptions added for package managers (Gemspec, package.json, etc.)

Code Example

Show what the library does as concisely as possible, developers should be able to figure out how your project solves their problem by looking at the code example. Make sure the API you are showing off is obvious, and that your code is short and concise.

Motivation

View 1_Dockerised_JMeter.md
View Gemfile
source "https://rubygems.org"
gem 'puma'
gem 'sinatra'
View Dockerfile
# Example Dockerfile
FROM hello-world
View .bashrc
# Set variables in .bashrc file
# don't forget to change your path correctly!
export GOPATH=$HOME/golang
export GOROOT=/usr/local/opt/go/libexec
export PATH=$PATH:$GOPATH/bin
export PATH=$PATH:$GOROOT/bin
View keybase.md

Keybase proof

I hereby claim:

  • I am rrichards on github.
  • I am rrichardsr3 (https://keybase.io/rrichardsr3) on keybase.
  • I have a public key ASDXE6NrJxC8E5t_9iZ3zYeAT3cczkbfgJHA-80SunABewo

To claim this, I am signing this object:

View dev-machine.sh
#!/bin/bash
# All the configuration settings described below were found on the internet,
# and this script just automates it
# Generating locales
sudo locale-gen en_US en_US.UTF-8 pt_BR pt_BR.UTF-8 es_ES es_ES.UTF-8
# Installing base packages
sudo apt-get update
View gist:fa44988d7ba6656f8a48
#!/bin/ruby
require 'json'
require 'time'
require 'syslog'
class Snapshot
def initialize()
@format = 'json'