Google News Results Suck

SPOILER ALERT: If you watch Celebrity Apprentice or 24 please look away!

So in one night, on two separate occasions I decide to look up a cast member of each show I was watching. Each time with only about 8-10 minutes left in the show. This is what I find. Continue reading…

Reducing the Size of Your Magento Install

Quoting a Magento Professional Partner nicknamed “Crucial”:

Yes, it’s safe to delete that data. I always clear it out after an upgrade:

rm -rf downloader/pearlib/cache/* downloader/pearlib/download/*

Basically when you are upgrading and installing, your downloader folder will become very large, and you are safe to clean out the two following folders:

  • /downloader/pearlib/cache
  • /downloader/pearlib/download

SMARTd Commands for SATA Drives

Show all SMART information

[code]smartctl -d ata -a /dev/sda1[/code]
  • -a = Show all SMART information for device.
  • -d = Specify the device type to one of: ata, scsi, marvell, 3ware (ata is selected above).
  • /dev/sda1 = The drive.

Run a self-test

[code]smartctl -d ata -t offline /dev/sda1[/code] [code]smartctl -d ata -t long /dev/sda1[/code]

Output self-test and other log results

  • smartctl -d ata -l selftest /dev/sda1
  • smartctl -d ata -l error /dev/sda1
  • smartctl -d ata -l selective /dev/sda1
  • smartctl -d ata -l directory /dev/sda1

Output all options

[code]smartctl -h[/code]


  • Enable smart by editing /etc/smartd.conf file.
  • Smart Configuration file: /etc/smartd.conf
  • Start/Stop smart: /etc/init.d/smartd start | stop

List of CC Spells for Power Aura’s Classic

Kidney Shot/Hammer of Justice/Cheap Shot/Maim/Charge Stun/Intercept/Concussion Blow/Pounce/Shadowfury/Deep Freeze/Gnaw/Intimidation/Repentance/Impact/Blackout

Silence/Strangulate/Counterspell/shield bash/bash/pummel/kick/Mind freeze/earth shock/spell lock

Entangling Roots

Polymorph/Freezing Trap/Frost Nova/Frostbite/Hex

Slow/Typhoon/Hamstring/Daze/Wing Clip/Earthbind/Piercing Howl

Cyclone/Blind/Fear/Banish/Psychic Scream/Mind Control/Wyvern Sting/Seduction/Shackle Undead/Hibernate/Mind Control/Sap/Turn Evil/Scatter Shot/Scare Beast/Gouge/Howl of Terror/Death Coil/Intimidating Shout

Install mod_security 2 on CentOS/RedHat

This is a translation from Spanish to English, but still the best guide I’ve used so far. Modified slightly to help others but could use more work.

Important: ModSecurity blocks lots of UNIX commands. I had to add dots to them. They are colored red so you know to change them.

This article assumes that you have installed a RedHat Enterprise or CentOS and not guaranteed to work, although we have tested on several CentOS 4.5 with success. Continue reading…

ListMessenger SMTP Error

I started receiving the following error after making some network changes:

[code]Unable to send message to LM_Mailer responded: SMTP Error: Could not connect to SMTP host.[/code]

How I fixed it: I set my ListMessenger to use PHPmail and then edited my php.ini file. In that file there is a setting for your smtp server, it was set to localhost. I changed it to our default smtp server and it worked again.

Why: I was fiddling around with network settings and managed to break something so that computers on the local network can’t access the server via it’s name, and apparently it can’t access itself by localhost. I’m not sure why this happened but I think it has something to do with VMWare network cards stealing priority and forcing IP’s that didn’t work.