Stand alone Magento scripts

Before running any stand alone scripts that use core Magento objects and functionality, you need to make sure Magento is properly initialised. Add this snippet to the top of your script, updating the path according to your installation.

Read More »


WordPress Snippet: Display multiple loops on the same page

Let’s say that on a category page of your WordPress blog, you want to display a secondary list of posts, for example the 3 latest posts from a “featured” category. You have a couple of good options here.

Read More »


Javascript & jQuery Cheat Sheet

Even the smartest cookies forget things from time to time.. Here’s a collection of Javascript & jQuery code snippets for your reference.

Read More »


WordPress Function: in_category_extended()

The core WordPress function in_category() is pretty handy but it’s also pretty basic. in_category_extended() is designed to extend the functionality of in_category() by examining descendant categories aswell as the current one.

Read More »


LAMP setup guide: Configure Debian Linux for Apache, MySQL and PHP

Here at Sycha, we’re full advocates of the LAMP web development suite. This article is a step by step guide to setting up a Linux server running Debian with stable versions of Apache, MySQL and PHP. Also included are some performance tweaks to default settings, sys admin tips, and info on sending email with Exim.

Read More »