Archive for October, 2007

Happy Halloween, You Freaks

South Park Pumpkin

Here’s a warning that may save your life: If you’re dressed as any of these people, don’t go out tonight, or ever. Get up from the computer, change your clothes, and go to sleep. It’s over.

Dressed like YouTube? You don’t need to bring condums tonight. Looking like Facebook guy? You don’t even need a penis.

Then again, who cares what the guys look like? After all, isn’t Halloween about women dressing as total slutbags?

Before you grab your digital camera in preparation for snapping Halloween whores this evening, remember these pumpkins.

Be safe guys.

Custom 404/500 Errors via .htaccess

Creating custom pages for 404 (page not found) and 500 (internal server error) errors are super simple. In fact it’s so easy, it’s almost not worth a blog entry. But what the hell.

To get a custom error page rolling, create an .htaccess file with the following:

ErrorDocument 404 /path/to/error/file.404.php
ErrorDocument 500 /path/to/error/file.500.php

Place the .htaccess file in the root directory of your website.

Now when people get a 404 or 500 error, they’ll be directed to your custom error page!

I had some fun creating a custom 404 page for my website - check it out.

Easy Dynamic Database Connection in CakePHP

If you’re like me, you’re strikingly handsome you create Cake applications on your computer, then upload them for testing (and usage) to a server. It’s annoying to have to change the /app/config/database.php file for each new testing environment, especially if the same Cake application is being used on multiple machines.

Thankfully there’s a really simple way around this crap.

Read more »

Networking Ubuntu & Mac OS X - “Fugu” It

There are more than a few ways to share files between Ubuntu and Apple’s Mac OS X. In fact, there are so many methods, I puked when trying to make sense of them all.

Thankfully a silly puffer fish exists in the form of an awesome Mac OS application. It’s called Fugu, and it’s about to make your life a hell of a lot easier.

Fugu allows you to easily connect to your Ubuntu machine (via SSH) from home (like a home network) or while you’re away.

I’ll show you how to combine the power of open-ssh with Fugu to create an Ubuntu/OS X bond that would make Neo weep with pride.

Read more »

Pikachu Finally Opens - Kids Happy Again

Pikachu’s Vagina

Is there a word meaning “the opposite of birth”? Is the idea of Japanese entertainment starting to scare you? It’s true, Picachu’s vagina brings happiness to children. The makers of this product obviously represent the pinnacle of human achievement, right behind the inventors of P-Mate.

Did I die and wake up in Pee wee herman’s dream?

Image Upload Component (CakePHP)

Thanks to some fine work by Ben Borowski, uploading images in CakePHP is easy as kicking your kids. I’ve used this component for quite a few projects. It’s safe to say that it rules.

Learn how to use it, love it, code it.

Read more »

Julia & Slinkachu

Julia Fullerton

Julia Fullerton takes the art of perceptual photography to entirely new level. I’ve seen this type of art before, but let’s not kid ourselves. Nothing comes close to the color depth and strangely haunting reality of Julia’s photos. Go take a cold shower. Wait no, keep reading.

Slinkachu

Next comes the complete opposite of Julia, Slinkachu. This guy likes to shrink life’s moments into chewable prints. I imagine that this one tastes like rice-paper. Or pencil shavings. Work with me people.

Sebastien Nikolaou

Sebastien Nikolaou

Sebastien Nikolaou’s English is shaky but his print work is spot on. He uses a freaking humming bird in a poster design and makes it look fresh as punch. A humming bird?! When it comes to animals in print, I’m used to the bland covers of O’Riley’s programming books. Yawn. Sebastien, thanks for reminding me that animals are artistic… and in color.