Aug 17

Photo by: Maciek Duczynski.

This scene depicts the beauty in my statement…

Aug 15

I laughed!

Aug 15

I use Gnome, I like Gnome, and it serves its purpose so I wish Gnome a happy 10th b-day.

Aug 15

Look on the bright side, at least we don’t have a green diamond hovering over our heads… none-the-less, this was a good read on NYTimes.

Aug 14

The first thing I would have done is drop my wife off and go after some young girl. Florida is filled with young impressionable gold diggers. Okay… so that would have probably been moderately better then what this guy did.

Aug 14

V for Vendetta

Aug 13

This article definitely is pertinent to those whom can never throw out the clothing articles and it goes without saying that this article is definitely more pertinent to the female audience.

“I’ve said before that, in my estimation, a life hack is any kind of trick that forces the Smartypants part of your brain and the Dumbass part of your brain to stay in proper communication.”

I’m laughing out loud! This article is definitely worth the mention.

Aug 13

Simple! Use your Linux install CD. At the prompt (once booted using the CD) type “linux rescue”. Follow the prompts, then in the shell use:

$ dd if=/dev/zero of=/dev/{s,h}da bs=1M

Wait for it it to complete and now you have a clean drive. Learn more about the dd command here.

Aug 13

I’m big on the vintage ads. There’s just something about them that luers me in. Check it out!

Aug 13

I was asked why the PHP pages aren’t able to connecto to MySQL. Well… let’s start with IPTABLES, nope. Let’s look at messages, oh yeah! There is that pesky error message about the Kernel audit denying the HTTPD PID from reaching the MySQL object port.

Seems like someone likes their Linux box tight as duck’s arse (I always wanted to say this!). Edit /etc/selinux/config, set it to permissive (from enforcing), then run:

$setenforce 0

All done.

Aug 12

The color car you drive actually says a lot about who you are to your friends, family, co-workers, potential dates and clients. There is some indication that the color car you drive can have as much impact on that “first impression” as the make and model. Funny… I was talking about this not too long ago.

read more | digg story

Aug 10

The next time you feel like asking the Unix admin what the permissions are set to, for the love of god (not that he cares or exists to some) please do your homework and make sure that you understand permissions or at least the basics:

d r w x r w x r w x

Owner Group Other
Directory Read Write Execute Read Write Execute Read Write Execute

So let’s say you run: $ls -ld on /var you should see something like this: drwxr-xr-x

That means the directory owner has Read, Write, Execute. The group has Read and Execute and others have Execute. Simple, eh? So the Owner, Group and Others columns will each have three characters indicating the permissions set.

Aug 10

I found an article on Heartless Bitches talking about the so called “nice guys”… They were valid points in the article, which I actually agree with. So… if you’re one of those self-claimed nice guys, this one’s for you!

Aug 08

I get sad when I hear stuff like this only because I want my child (don’t have one, don’t plan on one) to experience the same joy that I received when I swam in the shores of Kona Hawaii and saw the many different fishies, read more about.

Aug 07

Real simple way of piping multiple files into one in Linux. Simply run:

$ cat file1 file2 file3 >> big_file.txt

Simple but it cuts down on the number of files that you may have to email from the *nix system.

Aug 07

funny stuff…

read more | digg story

Aug 04

Sounds pretty cool! I like it!

Aug 04

I like the idea of billshare. But I’m living comfortably in my condo so I couldn’t offer an opinion about the service.

Aug 04

NEC is going to release a water cooled HDD.

Aug 03

I was working on a PHP script that would query the database, display the results on the front-end and allow users to sort the results using hyperlinks. The only problem is that the sort function on the web page would not work. The first thing you’ll want to do is make sure that you screen the Apache access_log, then hit the web page. If there are any warnings the access or error logs should records them.

In my case, the following error appeared: PHP Notice: Undefined Variable: HTTP_SERVER_VARS in /script/foo.php on line 31, referrer: http://localhost/scripts/?fm_order=ASC&fm_orderby=[Variable]

While I knew the variable was defined in my script I moved on to /etc/php.ini, looked for register_long_arrays. And what do you know? The flag was set to Off, so I enabled it, then ran the script and there you go. To be specific this is the $HTTP_ * _VARS registration of the older (and deprecated) long predefined array variables ($HTTP_*_VARS).  Instead, use the superglobals that were introduced in PHP 4.1.0

But I’m a bit old school and my PHP foo is not up to par…