Coding, in this context, is the art of using a markup, styling, or scripting language to create a website or web application.

End tags, semi-colons and maintainable code

Relying on browsers to magically insert missing code, like optional HTML tags or semi-colons and curly braces in JavaScript, is not developer-friendly.

Posted on April 17, 2012

Use only what you need

Don’t add boilerplate code, polyfills, shivs, frameworks and other things that increase the weight of your site unless you actually need it.

Posted on March 23, 2012

Ruby reading tips

Links to some online resources that are useful to anyone wanting to learn about programming in Ruby.

Posted on March 3, 2011

YUI Compressor and CSS media queries

Older versions of YUI Compressor have a bug that makes some media queries malformed after minifying, causing browsers to skip the rules within. There is a fix though.

Posted on December 20, 2010

Removing title attributes inserted by TextMate’s Hyperlink Helper bundle

How to stop TextMate’s Wrap Word / Selection as Link command from automatically downloading the linked page and inserting its title as a title attribute on the link.

Posted on December 7, 2010

How to make WordPress URLs root relative

WordPress seems to like absolute URLs. For reasons of portability, download size, and general code neatness, I like root relative URLs. Here is how I make WordPress agree with me.

Posted on October 25, 2010

Minimise file size with the YUI Compressor TextMate Bundle

You can use the YUI Compressor TextMate bundle to make minifying your CSS and JavaScript files from within TextMate as easy as hitting a keystroke.

Posted on August 26, 2010

WebKit Web Inspector improvements

The web developer tool for Safari and other WebKit-based browsers has just received a number of improved and new features worth checking out.

Posted on November 11, 2009

Write HTML and CSS quicker with with Zen Coding

The Zen Coding plugin, available for TextMate and several other editors, speeds up your HTML and CSS coding.

Posted on September 21, 2009

Pointing a Subversion working copy to a moved repository

If a Subversion repository has moved to a new location, use the svn switch command with the –relocate switch to make the working copy point to the repository’s new URL.

Posted on March 18, 2009

JavaScript Tools bundle for Textmate

The JavaScript Tools TextMate Bundle gives you quick and easy access to JSLint and various JavaScript formatting and compression tools without leaving TextMate.

Posted on January 19, 2009

Find inline CSS and JavaScript with Inline Code Finder

Inline Code Finder is a neat quality assurance tool that will find and highlight any elements that have inline events, inline styles, or javascript: links.

Posted on December 16, 2008

Version control with Subversion on Mac OS X

Using version control to keep track of changes to your files will make you sleep better at night, and getting started is easier than you may think it is.

Posted on December 10, 2008

TextMate productivity tips

Twelve tips that help you use TextMate more efficiently and remove some of the tedious parts of writing client-side code.

Posted on November 25, 2008

Character encoding

Character encoding can be very tricky to get right all the way from your keyboard to the end user’s browser, but reading these two articles may increase your chances of getting it right.

Posted on November 4, 2008

DOMAssistant bundle for TextMate

To save keystrokes and speed up development I have created a DOMAssistant bundle for TextMate.

Posted on March 10, 2008

Reasons for code bloat

Chris Heilmann talks about what causes the code on Web projects to grow out of control.

Posted on June 4, 2007

Archive contents