Here’s a nicer way to get an ancestor element without chaining calls to parent().parent() etc.
Author Archive
jQuery: get a specific ancestor of an element
June 22nd, 2013
Comments Off on jQuery: get a specific ancestor of an element
Magento Tip: Enable Google Sitemap XML
May 15th, 2013
Comments Off on 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.
Magento has good support for generating a Google Sitemap XML file, there are just a few steps to the process.
WordPress Command Line Database Upgrade
September 22nd, 2012
Comments Off on 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 🙂
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 🙂
Merge AVI files in Debian Linux
September 21st, 2012
Comments Off on 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.listvi /etc/apt/sources.list I’m currently using Squeeze – change to your distro as necessary deb http://deb-multimedia.org squeeze maindeb http://deb-multimedia.org squeeze main apt-get updateapt-get update Install the Debian Multimedia keyring apt-get install deb-multimedia-keyring Install these […]
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.listvi /etc/apt/sources.list I’m currently using Squeeze – change to your distro as necessary deb http://deb-multimedia.org squeeze maindeb http://deb-multimedia.org squeeze main apt-get updateapt-get update Install the Debian Multimedia keyring apt-get install deb-multimedia-keyring Install these […]
Magento Performance Boost: Enable Log Cleaning
May 9th, 2011
2 Comments
Magento has automated log cleaning functionality built in, but it is not enabled by default. Here’s how to turn it on.
Magento has automated log cleaning functionality built in, but it is not enabled by default. Here’s how to turn it on.