Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
#########################################################
mgUSERNAME="MailGun Username"
mgPASSWORD="COMPLEX PASSWORD"
testEmail="user@example.com"
#########################################################
echo "Installing this agent may be dangerous, make sure this is the correct server!"
@denkhaus
denkhaus / goinst.sh
Last active August 29, 2015 14:01 — forked from jmervine/goinst.sh
#!/usr/bin/env bash
#
# Example usage:
#
# $ VERSION=1.2.2 sudo ./goinst.sh
if [ "$(id -u)" != "0" ]; then
echo "This script must be run as root" 1>&2
exit 1
fi