This file contains hidden or 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 | |
if [ $# -ne 3 ] | |
then | |
echo "Usage: $0 {pcf-version} {mysql-host.fqdn} {mysql-user}" | |
echo "Cleans PCF databases on a MySQL host" | |
exit 1 | |
fi | |
VERSION="$1" |
This file contains hidden or 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 | |
if [ $# -ne 3 ] | |
then | |
echo "Usage: $0 {pcf-version} {mysql-host.fqdn} {mysql-user}" | |
echo "Creates PCF databases on a MySQL host" | |
exit 1 | |
fi | |
VERSION="$1" |
This file contains hidden or 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
# | |
# OpenSSL example configuration file. | |
# This is mostly being used for generation of certificate requests. | |
# | |
# This definition stops the following lines choking if HOME isn't | |
# defined. | |
HOME = . | |
RANDFILE = $ENV::HOME/.rnd |
This file contains hidden or 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
[req] | |
default_bits = 2048 | |
default_md = sha256 | |
distinguished_name = subject | |
encrypt_key = no | |
prompt = no | |
req_extensions = req_ext | |
[subject] | |
countryName = AU |
This file contains hidden or 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
# | |
# all credit to https://gist.github.com/shrayasr/8714601#gistcomment-2127790 | |
# | |
## setup | |
TMUX_VER=2.6 | |
LIBEVENT_VER=2.1.8-stable | |
TEMP_COMPILE=~/tmux-temp-compile | |
COMMON_INSTALL_PREFIX=/usr/local |
This file contains hidden or 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 | |
if [ $# -ne 1 ] | |
then | |
echo "Usage: $0 {host.fqdn}" | |
echo "runs curl against a host until it doesn't" | |
exit 1 | |
fi | |
HOST=$1 |
This file contains hidden or 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
var net = require('net'); | |
var server = net.createServer(function(socket) { | |
socket.write('ADMIN HE DOING IT SIDEWAYS\r\n'); | |
socket.pipe(socket); | |
}); | |
server.listen(process.env.PORT); |
OlderNewer