Category Archives: Development
Creating patch files with git
Git has a built in way to create patches and Github has a great write up on this. The git format-patch command is useful if all your changes are committed and you want to create a patch of certain commits. … Continue reading
Updating the locate database on OSX
locate is a very handy command to find files on the system. It is much faster than find since it keeps a database of all the system files. This database is periodically updated, but if you want to update it … Continue reading
Integrating JSLint for vim
A couple of months ago I moved away from TextMate and started using vim for most of my text editing needs. I love TextMate, but I needed a powerful text editor that is also available on other operating systems. Overall … Continue reading
Upgrading the Subversion command line client on Mac OSX Leopard
UPDATE: Since I wrote this post, I found a couple of other ways of upgrading the Subversion command line client. One option is to install the package via MacPorts or Homebrew. If you use Homebrew, you probably don’t have to … Continue reading
jQuery list paginator plugin – Elpaginator
I know it’s been a while. I started about 5 posts, but haven’t finished any of them… Hopefully this makes up for it: as a treat for the new year, I thought a little jQuery plugin that I wrote would … Continue reading
Splitting a long JavaScript String across multiple lines
Whilst reading a comment by Mike DeBoer on Ajaxian about delimiting JavaScript strings with backslashes, I thought it’s worth mentioning it here as well, if only to remind myself. String concatenation always creates a new string. Thus, writing: var str = … Continue reading
JavaScript cookies made easy
Here is another little script that makes my life a bit easier. It consists of 3 methods that makes working with cookies very straight forward. This script is built on the shoulder of giants: PPK from Quircksmode was the man … Continue reading
TextMate & Subversion 1.5 update problem with conflict
We recently upgraded to Subversion 1.5 server at BBC Worldwide. I ended up upgrading my client at the same time with the latest OSX binary from Colabnet. One weird thing started to happen though: whenever there were conflicts, TextMate wouldn’t … Continue reading
jQuery plugin autoInputValue – default input values made easy
We all know the problem: the designers are struggling to get the form elements in the space they have or they decide that having labels next to input fields is not really necessary… Instead the label is displayed inside the … Continue reading