20050222

Bookmark: Mambo

Interesting CMS: http://mamboserver.com/

I might try this someday...

20050221

SysAd: Extract RPM

rpm2cpio glibc-2.3.2-101.i686.rpm | cpio --extract --make-directories

You learn new things everyday...

20050218

Upgrading Ubuntu

Decided to upgrade my Ubuntu work system:

1. add extra repositories
2. sudo apt-get update
3. sudo apt-get upgrade
4. reboot
5. i'm so sexy

20050215

Make Firefox load pages faster

Address Bar -> about:config
Filter: -> network.dns.disableIPv6 -> Change the Value to true (Double click)

20050214

PHP Reminder: type casting and copy substring

I keep forgeting some functions...

$n = (int) substr($s, strpos($s,"-")+1, strlen($s));

strtotime("-1 day", time());
strtotime("+1 day", time());
strtotime("next monday", time());

gmdate("Ymd", time())

20050208

Neo

I just found something about Keanu Reeves. He turned down a role played by Val Kilmer in the movie Heat which stars Al Pacino and Robert Deniro. Instead of being payed mega big bucks for that movie, he choose to do a play called Hamlet and memorized all his lines. I thought this guy has this fear of long lines?

20050207

perl switch code

People think there's no "switch" solution for perl:

for ($animal)
{
     /camel/ and do func(1), last;
     /llama/ and do func(2), last;
}

and you can actually search for a string in an array

grep /EXPR/, @array

20050204

Never let this MCSE guy write anything...

Jesus H. Christ. This guys is fucking stupid and doesn't know what he's talking about. He's putting other good MCSE holders (if there are any) to shame. He wrote an article about Apple's Mac Mini. God it's full of errors and fud.

First he writes:

If you believe Apple’s marketing department, the new Mini is “smaller than most packs of gum” and weighs “less than four quarters”. Well, we received our test unit from Apple yesterday, and let me say right off the bat that those claims are a wee bit of an exaggeration.

WTF is he talking about? Oh, he got it mixed up with the iPod Shuffle! How stupid!

Oh, did I forget to mention that the Mini has no PCI slots either? And no floppy disk drive? Well, no wonder they got the unit to be so small.

LOL!

The Mini boots up into a stripped-down operating system which Apple calls OS X, similar to the stripped-down WindowsCE OS found on many handhelds

ROTFL!

When I consider that a good deal of my time is spent running applications like Disk Defragmenter, Scandisk, Norton AV, Windows Update and Ad-Aware--none of which are available for the Mac platform--it doesn't make sense for me to "switch" to a Mac at this time.

This guy must be joking. This guy is fucking ignorant, troll at best. What a waste of perfectly good bandwidth.

UPDATE: I just found out, he's the Chief Software Reviewer for the online blog company. You'd expect more from a "Chief Software Reviewer".

20050203

My fingers hurt

I've been programming for 5 days straight. There's this sharp pain on my wrist from time to time. Maybe I should consult a doctor for this.

The whole Google network went kaput for a while, at least coming from my network. Everything else was fine. Google, Gmail & Blogger can't be reached for some time. Weird.

The boss gave me a brain numbing project. Keeps on changing specs and the whole project looks like crap. God awful and ugly code here and there because of changes. I know from a clients perspectice, it doesn't matter. But it matters to me damn it!

20050202

More stuff heard on bash.org

I swear I need to finish something at work...


#125283 +(5314)- [X]

<Jeedo> hey baby, whats up?
<Indidge> umm....nothing?
<Jeedo> So....want me to like come over today so we can fuck?
<Indidge> Wait....did you want to speak to my daughter?
<Jeedo> Yes Mrs.Miller.. :-/

Overheard at http://www.bash.org/?latest

#454203 +(731)- [X]


<drmason> there was this one time I was wanking to porn...
<drmason> ... I kept a javascript tutorial open in another window so my parents didn't start wondering why I was always on the desktop with no windows showing
<drmason> so I'm just about to splurge when I suddenly hear my dad coming up the stairs
<drmason> alt-tabbed to the other window and tried to pull my boxers up... computer stalled JUST THEN as my dad was opening the door
<drmason> I just stood up and was like "fuck... dad this honestly isn't what it looks like"
<drmason> and he glanced at the screen and said "I sure hope so because it looks like you're masturbating to a fucking javascript tutorial"