• Homebrew with multiple users

    I’m a great fan of homebrew, the package manager for OS X that gives access to a raft of useful tools. However, it’s designed for a single user, really, which is OK for a developer’s laptop but less cool for a shared computer or one that uses network accounts. For these cases, here’s a solution.

  • Awk for Apache / Nginx logs

    Apache, Nginx and the like log every request your web server processes, unless you’ve configured them not to. Whilst statistics packages such as Awstats, Webalizer, Google Analytics and friends provide a useful overview there’s nothing that beats the raw data for being able to answer your own questions. Here, I introduce an awk script you can use to get your own analysis going.

  • Relatively Popular: a plugin for Habari

    Blog popularity: it’s nice to know what’s popular and what’s not with visitors on a blog and a summary of the most popular entries helps those who’ve not visited before. Thing is, there’s a problem… most blog popularity measures are based on visits for all time, so what if you write a new article?

  • Column/grid width & arrangements tool

    This page contains a plugin you might like to use if you need to work out an arrangement of columns for a given width, such as for a website design. Select the number of columns and drag the box edge to choose the total width.

  • Arranging columns for a web page theme

    Yesterday, I published the first version of a tool to calculate and visualise website column widths which simplifies the process of splitting a content area into a number of equally spaced equal width columns. Yes, there are plenty of tools out there that will take a given column width and spacing and tell you the overall width, but there aren’t many that you can give the total width and the number of columns you’re looking for and you get to see the available column width options.

  • Javascript: Path to the current script

    If–within a javascript file–you wish to find the path to this file, how’s it done?