Blog Posts

  • Migrate file to a new git repository while preserving version history

    Finding myself in a position where I was decommissioning an old project and starting afresh, there was a file that I wanted to copy to my new project and, ideally, retain all of the valuable version history.

    After searching, I found reams of git commands piped together that may have solved my problem. They tended to be working backwards, making me start with the full repository and then using git filter-branch to filter down to...

  • Feb 2013 eCommerce Survey

    The Ecommerce Survey is now

    The February 2013 eCommerce survey found 34,864 sites in the Alexa Top 1 Million. This is a slight decrease on the October 2012 survey.

    The eCommerce software with the largest market share continues to be Magento. Out of all the eCommerce sites detected, 26% are attributed to the platform.

    This edition sees Zen Cart losing almost 2,000 sites and...

  • Get the Latest Post of a Facebook Page

    My awesome friend Lewis King wanted to display the latest facebook post in the footer of a site that he’s building. He’s not a developer, and facebook didn’t make it easy.

    The tangled web of facebook developer documentation and inadequate access token description. Most blog tutorials out there are outdated because of the introduction of required access tokens.

    My solution:

    1. Get yourself an access token (remember that you need to be...
  • October 2012 eCommerce Survey

    The Ecommerce Survey is now

    The October 2012 eCommerce survey found 35,218 sites in the Alexa Top 1 Million. This is a 4% increase since the February eCommerce survey.

    Magento, with a 23% share of the market, is the leading eCommerce software platform. Equating to 8,087 sites, Magento has seen growth in every single edition since the survey began 2 years ago. It sees...