Recent Blog Posts
My Migration from Jekyll to Eleventy
#11ty #jekyll #nodejs #claude-code #tailwindcss
This post chronicles my journey to migrate from Jekyll to 11ty. (aka eleventy) I began this process in December of 2020. I worked on it for a while during that holiday break, and much like many things...
How Tailwind Helped me Write Better Markup
#11ty #tailwind #Frontend Development
Note: Drafted 6 years ago...This post was drafted when I began the process for migrating this site to 11ty and is finally being posted alongside the long-delayed update of the site. I was refactorin...
Automating SFCC B2C Pricebook Site Assignment
#SFCC #Data Integration #Demandware #Commerce Cloud B2C
I shared the following solution on Gist so that I could post it to the Unofficial Salesforce Commerce Cloud B2C Slack Community. Reposting here for posterity and some link clout. 😅...
Generating Screenshots with Phantom JS
Today I was working on integrating product recommendations for emails. The provider of the recommendations engine requires submission of HTML markup. This markup then gets rendered as a dynamic image...
Quick & Dirty Image Resizer with Ruby and RMagick
#ruby #threading #multiprocess #script #shell
I needed to resize a folder of images the other day. So I wrote this handy script: Update (08/10/12) — I had a conversation about shaders and threading with a SIGGRAPH attendee on a flight from LA back home. As a result of that conversation I've decided to multi-thread this script in an effort to make it faster. In the process I beat the crap out of my MacBook Pro but it took the beating like a champ. Thankfully this made me realize that the Ruby garbage collection wasn't working fast enough. So I added some code to free the image resources when they were no longer being used. This had an added benefit of speeding things up even more. I found the Parallel gem which made the multi-threading part of it insanely easy. See for yourself below.