By far the best ToDo list I have ever used.
This file contains 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
# math based on http://eulerto.blogspot.com/2011/11/understanding-wal-nomenclature.html | |
dbname = "" | |
dbuser = "" | |
host_master = "" | |
host_slave = "" | |
previous_recieved_lags = [] | |
previous_replated_lags = [] |
This file contains 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
identity = RbVmomi::VIM.CustomizationLinuxPrep({ | |
hostName: RbVmomi::VIM.CustomizationFixedName(name: "test"), | |
domain: "test.com" | |
}) | |
global_ip_settings = RbVmomi::VIM.CustomizationGlobalIPSettings({ | |
dnsServerList: ["172.31.10.37"], | |
dnsSuffixList: ["identified.com"] | |
}) | |
This file contains 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
%header | |
.name | |
The is the name | |
.actions | |
These are actions | |
.print-only | |
Only in Print |
This file contains 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
%header | |
.name | |
The is the name | |
.actions | |
These are actions | |
.print-only | |
Only in Print |
This file contains 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
# 0) do only if you done have the code | |
git clone REPO_URL | |
# 1) pull latest master | |
git checkout master | |
git pull origin master | |
# 2) create new branch. | |
git checkout -b feature/foobar |
This file contains 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
require "thread" | |
require "fftw3" | |
require "coreaudio" | |
require 'ruby-progressbar' | |
# progressbar = ProgressBar.create | |
# progressbar.total = 100 | |
Thread.abort_on_exception = true |
This file contains 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
class MultiIO | |
def initialize(*targets) | |
@targets = targets | |
end | |
def write(*args) | |
puts "writing" | |
@targets.each { |t| t.write(*args) } | |
end |
This file contains 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
#!/usr/bin/env bash | |
# haproxyd | |
# Script to start|stop|restart haproxy from /etc/init.d/ | |
# By Phil Monroe. | |
HAPROXY_PATH=/usr/sbin | |
HAPROXY_DAEMON=$HAPROXY_PATH/haproxy | |
HAPROXY_CONFIG=/etc/haproxy/haproxy.cfg | |
test -x $HAPROXY_DAEMON || exit 0 |
This file contains 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
--- cleanup | |
drop database test; | |
drop user piston; | |
drop user crankshaft; | |
drop user identified; | |
--- setup | |
create database test; | |
\c test |