Skip to content

Instantly share code, notes, and snippets.

View keybase.md

Keybase proof

I hereby claim:

  • I am dlutzy on github.
  • I am dlutzy (https://keybase.io/dlutzy) on keybase.
  • I have a public key whose fingerprint is 7BB5 E7B4 DF8A 0DE8 822B 135E 5BD2 F33C 30A9 535D

To claim this, I am signing this object:

View install_ganglia.sh
#!/bin/bash
#install script for ganglia monitor node
#using Vladimir Vuksan's RPMs
yum -y install rrdtool mod_php php-gd make
chkconfig httpd on
/etc/init.d/httpd start
cd /lib64
ln -s libexpat.so.1 libexpat.so.0
View gist:3704912
root@redis:~# redis-benchmark -q -n 100000
PING (inline): 45392.64 requests per second
PING: 45433.89 requests per second
MSET (10 keys): 41631.97 requests per second
SET: 45578.85 requests per second
GET: 45808.52 requests per second
INCR: 46317.74 requests per second
LPUSH: 46168.05 requests per second
LPOP: 46125.46 requests per second
SADD: 46125.46 requests per second
@dlutzy
dlutzy / links5.rb
Created Aug 27, 2012
Test Driven Sysadmin 7
View links5.rb
dep 'links.bin'
@dlutzy
dlutzy / links4.rb
Created Aug 27, 2012
Test Driven Sysadmin 7
View links4.rb
dep 'links.bin' do
installs "links"
end
@dlutzy
dlutzy / links3.rb
Created Aug 27, 2012
Test Driven Sysadmin 6
View links3.rb
dep 'links.bin' do
met? {
which "links"
}
installs "links"
end
@dlutzy
dlutzy / links2.rb
Created Aug 27, 2012
Test Driven Sysadmin 5
View links2.rb
dep 'links.bin' do
met? {
which "links"
}
installs {
via :apt, "links"
}
end
@dlutzy
dlutzy / links1.rb
Created Aug 27, 2012
Test Driven Sysadmin 4
View links1.rb
dep 'links is installed' do
met? {
which "links"
}
meet {
log "Test failed. links is not installed, installing now..."
shell "apt-get -y install links"
}
@dlutzy
dlutzy / gist:3484619
Created Aug 27, 2012
Babushka Dependancy Template
View gist:3484619
dep 'dependancy name' do
met? {
}
meet {
}
end
@dlutzy
dlutzy / gist:3484576
Created Aug 27, 2012
Test Driven Sysadmin 3
View gist:3484576
#!/bin/bash
function installinator()
{
if which apt-get > /dev/null
then
echo "I'm a debian based system probably ubuntu"
INSTALLER="apt-get"
fi
if which yum > /dev/null