jQuery: get a specific ancestor of an element

If you want to get a grandparent or great grandparent element you can chain calls to parent(), e.g parent().parent() for the grandparent. Here’s a nicer way.

Read More »


Magento Tip: Enable Google Sitemap XML

Magento has good support for generating a Google Sitemap XML file, there are just a few steps to the process.

Read More »


WordPress Command Line Database Upgrade

If you’re like me and manage dozens of WordPress sites, you’ve probably got a shared code base which allows you to upgrade the WordPress filesystem easily.. But most likely you’ve also found it painful to have to visit each wp-admin individually and click the “Update WordPress Database” button. Ever wanted to script this task to run from the command line? Here you go :)

Read More »


Merge AVI files in Debian Linux

Here’s a nice quick way to merge 2 or more AVI files into 1. Add Debian Multimedia to your sources list vi /etc/apt/sources.list I’m currently using Squeeze – change to your distro as necessary deb http://deb-multimedia.org squeeze main apt-get update Install the Debian Multimedia keyring apt-get install deb-multimedia-keyring Install these packages without verification [y/N]? y […]

Read More »


Magento Performance Boost: Enable Log Cleaning

Magento has automated log cleaning functionality built in, but it is not enabled by default. Here’s how to turn it on.

Read More »


Page 1 of 912345...Last »