Blog

News and views from the Clarksys crew on all things cloud, cybersecurity, and scale.

Windows Upgrade, FAA Error Cause LAX Shutdown

See: Windows Upgrade, FAA Error Cause LAX Shutdown I will let this one speak for itself. "The recent shutdown of LAX due to an FAA radio outage was apparently caused by a Windows 2000 integration flaw, possibility related to an old Windows 95 bug. An…

Read more...

Test for existing data in a db w/ perl.

my $sth = $dbh->preparecached(q(select primarykey from table where primarykey = ?)) or die "Couldn't prepare statement: " . $dbh->errstr; $sth->execute; my ($count) = $sth->fetchrowarray; $sth->finish unless ($count) { ... }…

Read more...

Vixie cron’s @reboot

– @reboot Run once, at startup. @yearly Run once a year, "0 0 1 1 *". @annually (same as @yearly) @monthly Run once a month, "0 0 1 * *". @weekly Run once a week, "0 0 * * 0". @daily Run once a…

Read more...

640K

“640K ought to be enough for anybody.” Bill Gates Most people involved with technology knows this famous quote from Bill Gates. With TeraByte disk arrays selling for under $10,000 dollars it’s always amazes me how fast technology evolves. I can vividly remember installing my first 1.02GB hard drive. It…

Read more...

Tips for Job Seekers

Include a copy of your resume. Before you click the send button, make sure that you attached your resume first. Use spell check. Not only should you use spell check, you should also read your message and resume aloud to yourself, and someone you know should read it to make…

Read more...

HOWTO Remove Lilo/Grub

HOWTO Remove Lilo/Grub from your computer when you have been dual booting Windows XP and Linux and decided to remove linux and totally screwed up the hard drive so the system wouldn’t boot. Yep that’s what I did, I had linux partitions on my laptop, needed to reclaim the space…

Read more...

Postgresql Rocks

Postgresql supports a data type "inet". Inet allows you to insert ip addresses into the table, and then later run operations against the host/network ranges. A while back I accidentally created a schema using the inet data type, today I was able to search for transactions based on a subnet…

Read more...

Set the timezone in FreeBSD

I recently noticed that some of my servers configured to use GMT as their timezone (I will detail the merits of using GMT or UTC as a timezone in another post) had switched and where now reporting BST instead of GMT. FreeBSD provides a utility tzsetup which provides a graphical…

Read more...

FreeBSD Make World

Steps I use to make world on FreeBSD: 1. Install cvsup-without-gui # cd /usr/ports/net/cvsup-without-gui make install distclean 2. Update the source files # cvsup -g -h <cvsup-mirror> /usr/share/examples/cvsup/stable-supfile 3. Configure a kernel See Configuring the FreeBSD Kernel in the FreeBSD Handbook 4.

Read more...

Knoppix

Everyone should know about and use Knoppix: …Knoppix, a Free and Open Source Live Linux CD. Knoppix is a GNU/Linux distribution that boots and runs completely from cd. It includes recent linux software and desktop environments, with programs such as OpenOffice.org, Abiword, The Gimp, Konqueror, Mozilla, and hundreds of…

Read more...