Relocating git-svn repositories

If you use the amazing git-svn to work in a civilised manner with a subversion repository, you may have trouble if the subversion repository is relocated, ie. has its access URL change. This article describes an approach for handling this situation, which git-svn does not directly support.

More …

Renumber clashing Rails migrations in one easy step

If you work in a team on a Rails project, chances are that you and your team mates occasionally create identically-numbered migrations. Renumbering a migration that you’re working on is a pain, unless you’re using this handy renumber_migrations plugin.

More …

Init scripts considered harmful

Tired of PID files, needing root access, and writing init scripts just to have your UNIX apps start when your server boots? Want a simpler, better alternative that will also restart them if they crash? If so, then read this quick-start introduction to process supervision with runit/daemontools.

More …

How to fix hibernation panics on Leopard after a memory upgrade

One of my Macs running OS X Leopard was panicking after I upgraded its memory; while waking from hibernate, I’d get the grey curtain of death and the multilingual “reboot this computer” message panel. If it happens to you too, you’ll be glad to know there’s a solution.

More …

How to use OS X Leopard screen sharing with a Linux machine

Apple’s brand new Leopard version of OS X includes handy support for connecting to shared remote screens right from the Finder. The intention was to connect to other Macs, but with a bit of tweaking you can also connect to VNC servers running on Linux machines with the same ease.

More …

Rails plugin for console database access

Ever tried using ‘psql’ or ‘mysql’ on the command-line to connect to your Rails database, only to find you forgot how to specify all those ‘-u’ and ‘-h’ parameters?

More …

How to make a git mirror of a darcs repository

In this article I discuss techniques for migrating source code repositories from darcs to git. I describe two approaches that failed for me, and introduce a new tool that I was able to use successfully with my own projects, and that can be used to create git mirrors of active darcs repositories.

More …