Category Archives: Programming

jQuery list insertion sort plugin

Here’s a basic jQuery sorting plugin for generic parent child relationships I wrote. Wherein ‘element’ is the html you wish to insert and ‘value’ is what the associated weight of the element I’m inserting. For now it compares the weight … Continue reading

Posted in Programming | Tagged , | Leave a comment

Magento: Listing regions from a country code

Once and a while you may want to get a collection of the regions that are associated with a country in Magento. For example, the United States is of course a collection of… states. In Magento these are referred to … Continue reading

Posted in Programming | Tagged , | 3 Comments

New Drive

Picked up a 500GB 2.5″ drive and an Astone enclosure today. Pretty sweet. Unfortunately it was about $30 more expensive getting it from iStore than from MSY but convenience of getting it on your lunch break is a big trump … Continue reading

Posted in Programming | Tagged | Leave a comment

Easy checkbox toggling with jQuery

So I needed to have a regular form checkbox toggle the visibility of a div in my webpage today. It turned out jQuery supports the concept of toggling visibility via .toggle(), which I didn’t realise until I looked it up. … Continue reading

Posted in Programming | Tagged | Leave a comment

iPhone and Google Streetview

So iPhone update 2.2 has added Streetview to Google Maps. You actually need to specify a location first in order to be able to swap to Streetview. Which is done by clicking the red man next to the address, shown … Continue reading

Posted in Programming | Tagged | 1 Comment