Apr 07

I suppose this is what I would look like if I were to be animated:

Will Sani from Springfield

Apr 07

Yeah, I like cats…

More of the stupid pet pictures

Apr 07

I’m already screwed up, so seeing something like this just tears my heart out.

Poor little guy, if I saw him on the street, I would have picked him up in a heart beat!

Apr 06

I’ve found God, says man who cracked the genome.

Apr 01

I got a little paranoid with MySQL running in Windows 2003, so I wrote a quick script to make backup script of the databases along with the save date:

@echo off
FOR /F “TOKENS=1* DELIMS= ” %%A IN (’DATE/T’) DO SET CDATE=%%B
FOR /F “TOKENS=1,2 eol=/ DELIMS=/ ” %%A IN (’DATE/T’) DO SET mm=%%B
FOR /F “TOKENS=1,2 DELIMS=/ eol=/” %%A IN (’echo %CDATE%’) DO SET dd=%%B
FOR /F “TOKENS=2,3 DELIMS=/ ” %%A IN (’echo %CDATE%’) DO SET yyyy=%%B
SET date=%mm%%dd%%yyyy%

echo Running MySQL5 Backups
“C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqldump” -uroot -p[PASS] -P [PORT] –result-file=”c:\backup\[HOSTNAME].%date%.sql” –all-databases –verbose –add-drop-table -add-locks -f
echo Done!

Mar 30

I was migrating a VM container to Virtuozzo VE when I ran into the following error:

# Error invoking external utility: can’t set Container network flags

It looks like this is a bug with Virtuozzo container version 4.0, and from the look of it there doesn’t seem to be a hotfix in existence. However, you can fix the issue by issuing the following command:

$ vzctl set [VEID] –netif_add vznet1 –ipadd [IP ADDRESS] –save

This worked in my case.

Mar 29

Buy this album.

Mar 15

hahaha! I nearly feel on my knees reading this.

Mar 11

I was checking the DNS record for a domain (using dnsstuff.com) and I noticed that the Bind version was being disclosed to the public:

Your nameservers have the following versions:
65.49.*.*: “9.2.4″
65.49.*.*: “9.2.4
Continue reading »

Mar 07

So you’ve got yourself one of those dreaded Microsoft Outlook errors? Same here:

Task ‘Checking for new mail in subscribed folders on Mail Failure Logs.’ reported error (0×8004DF0B) : ‘Outlook is unable to download folder (null) from the IMAP e-mail server for account Mail Failure Logs. Error: The connection to the server is unavailable. Outlook must be online or connected to complete this action. If you continue to receive this message, contact your server administrator or Internet service provider (ISP).’

Truth be told, Bill Gates isn’t at fault here. This is actually a courier-imap setting. To correct the issue, shell to your server, and edit /etc/courier-imap/imapd (may be located elsewhere on your *nix distro) look for the following flag: MAXPERIP=4, increase the number and restar the courier services. The error is no longer there.

Mar 03

Like I said, music 1.0 is dead

RIAA’s Mafia days are numbered…

Feb 27

I’m beginning to lose my mind with the amount of information I have to remember. This includes the passwords for nearly 200+ accounts that I have for my personal and web hosting business that I maintain.

Now, I could have setup a fancy database and encrypt the data using DES but that’s too much work and I want to be able to carry the data securely with me. So, what’s the answer? Enter IronKey.

.My own personal IronKey

$78 for the 1GB version got me a USB key that has a built in Crypto chip that protects data using the same encryption algorithm as many governmental agencies. I wish that they would have developed the Linux drivers as well. It seems that they’re working on it but no news on when it’ll be released. Update: Core functions now available in Linux.

Note: Remember to carry it with you and don’t leave sitting around in the office. This has a threshold of 10 attempts for the account log-in, so try 10 times and you’ll erase everything permanently!

Log-in screen Password manager

Of course, your other alternative is PassPack but you won’t have a cool all metal USB key that’s practically indestructible.

Feb 18

If you’re a Linux geek in the San Francisco bay area, then you should contribute to installfest.

Feb 16

Easy:

$ find [path] -user [user] -print | xargs rm -Rfv

Feb 13

Evidently the IT guys at Paris in Vegas don’t believe in upgrades:

Marquee at night Marquee in the morning

Feb 13

This is actually very neat.

Feb 11

crap! Plesk with Qmail has some small bugs. To correct this particular issue, run the following command:

$ find /var/qmail/mailnames -type d -name ‘.*’ -a -not -name ‘.spamassassin’ -exec touch ‘{}’/maildirfolder \; -exec chown popuser:popuser ‘{}’/maildirfolder \;

Give it a few minutes…

Feb 08

Really easy! If you have an SSL certificate, you can setup pop3s, imaps and smtps by editing the following:

POP3: /usr/share/courier-imap/pop3d.pem
IMAP: /usr/share/courier-imap/imapd.pem

First, backup the existing files, then (use vi) remove the KEY And CERTIFICATE and replace them with your own. Once you’ve done this, run:

$ service courier-imap restart

Continue reading »

Jan 29

So, I run the bash installer for a software from the shell and I get a window with ASCII characters instead of the lines for the border. The solution?

$ export LANG=en_US.ISO-8859-1″ >> .bashrc

Jan 19

I’ve been running on nothing but Rockstart, Chilli, Fig newton and some other crap for the last 24 hours now. There is nothing glam-fabulus about IT!