The real reason for global warming.

Thursday, October 2nd, 2008

Click on the graph below to save the movie locally for viewing. It’s 700MB and I’m on a measly T1 so be nice and download it locally.

graph source.

Use your Sprint Instinct as a modem in Ubuntu (Hardy) with USB

Friday, August 1st, 2008

Edit: For typo, USBDialup is now Instinct. This isn’t a beginners guide so you need to install ppp and such on your own.
I was going through a lot of craziness setting up my Sprint Instinct to use as a modem, but I figured it out tonight.
First, make sure your phone is in Modem mode.  [...]

Root Password Generation

Tuesday, April 8th, 2008

Creating and maintaining root passwords across a large number of servers is not something to take for granted. In networks there are often hundreds of servers to maintain. A good Sysadmin knows that for maximum security each and every server needs to have a unique root password. The practicality for this is [...]

Secure /tmp usage for bash scripting

Tuesday, April 8th, 2008

I’ll cut to the chase…
# Secure tmp directory usage.
tmp=${TMPDIR-/tmp}
tmp=$tmp/unf.$RANDOM.$RANDOM.$RANDOM.$$
(umask 077 && mkdir $tmp) || {
echo “Could not create temporary directory! Exiting.” 1>&2
exit 1
}
(umask 077 && mkdir $tmp/mebad) || {
echo “Could not create temporary directory! Exiting.” 1>&2
exit 1
}

in-addr.arpa!

Thursday, January 31st, 2008

I wrote this in 2004, but I figured it’d be good to get this archived in here for safe keeping. Enjoy the geekery.
Finally I have figured out how to delegate a class B. Actually I learned that it’s not a delegation at all. That was my main barrier, semantics. Some dude and a guy [...]

LVS/ldirectord virtual ports don’t match real, the fix and them monitoring script action.

Wednesday, January 30th, 2008

As far as I know this only applies to Ubuntu Server 6.06 LTS. ymmw. This is for my notes and I will use shorthand explanations to suit my own purposes. Please leave comments and I will reply as appropriate. All IPs are forged.
Take a look at my /etc/heartbeat/ldirectord.cf config:
virtual=149.212.45.44:80
real=10.0.1.1:8080 masq
real=10.0.1.2:8080 masq
# [...]

Google is The Masons Worst Nightmare

Monday, November 5th, 2007

Google is one of the most intelligent corporations this era has ever seen. With a world of corporations trying to take advantage of you in the name of their own profits, it’s nice to see Google fighting back. You see, they do take the peoples money, but most of their money, as we [...]

Peanut Oil Powered Cars.

Tuesday, June 26th, 2007

That’s all I want. Not only is it good for my heart (an infant hand-full a day) but it’s also good for my cars. Sure, I could convert my car to run on jungle juice. That’d be amusing to have a sticker on your car saying “Powered By Alcoholics.” Life is [...]