This is probably the first of a series of posts where I’ll try to explain my approach to deploying scalable applications with OpsWorks. More particularly, my goal is to cover the deployment of a fully-optimized Magento website. But first I’d like to share some words over why I’m choosing OpsWorks over the other application management services in the AWS cloud. At the... Read More →
The OnePica_ImageCdn extension enables you to host the category and product image cache on a CDN or a separate server. It’s a great extension that worked out of the box when I tried it with Amazon S3. But our client was using ImageMagick for image manipulation instead of GD2 (which is unfortunately the standard). And OnePica_ImageCdn only supports GD2 at... Read More →
If you want to show only the state abbreviation (code) in the “State” drop-down in the Magento checkout (e.g. “NY” instead of “New York”) then follow these simple steps: Create an override of app/design/frontend/base/default/template/customer/form/address.phtml Find the first script tag around line 27 in the line that says something like echo $this->helper('directory')->getRegionJson(). Copy the code in the snippet below into the... Read More →
Here’s a documented list of useful Git tricks and aliases from my development box – hope someone finds it useful! For more information on Git Aliases and other examples please visit this page and this other one. If you’re looking for good summary and history aliases you’ll find some useful ones here.
Its been a great year: got happily married, bought a house, grew my company (Strategery), got better at speaking Dutch… Since this is probably my last post this year, I’d like to simply share some of the tools and libraries I’ve been using while working at Strategery. These tools and services have helped make my work-life so much easier and... Read More →
Today I stumbled upon a jQuery-UI plugin that adds support for touch events to all your jQuery-UI widgets – out of the box! It’s so easy to install that it will give you the this-is-a-miracle feeling when you test it on a touch screen. It’s called jQuery-UI Touch Punch and was developed by David Furfero. It is worth explaining how... Read More →
Today I tried to find the ssh-copy-id program for MinGW shells but I couldn’t find it anywhere. So I decided to write a shell script to imitate it and of course try to learn some basic shell scripting. To be honest this is one of my first takes at shell scripting. But the resulting script works and seems fairly robust so here... Read More →
I believe these are highly simple yet really useful tips for any Unix sysadmin/webmaster. I don’t have to export, transfer and import large MySQL databases very often so today I decided to add these one-liner commands to my blog so I know where to find them next time. Hope its useful for someone else too! An important note: I like... Read More →
I recently faced the challenge of listing all parent IDs for a given Magento product. The solution – while definitely not overly complicated – wasn’t as straightforward as I first thought, and documentation in the matter is surprisingly scarce. So here’s how to get the parent IDs for a given product.
Over the weekend I decided to do some experimenting with CSS 3 fonts, shadows and transitions. I decided to use Adobe Kuler’s API to power my little PHP experiment. Adobe Kuler is a fantastic online color-picker, and more. You can create color themes based on an image, a color, engage with their community and interact through an API. The API... Read More →