Using multiple versions of SVN – automatically – transparently

[UPDATE] This post is useless when you upgrade Xcode to version 5.0. If you use version 4 or you’re using a linux environment with svn 1.6 and 1.7 simultaneously; read on :) [/UPDATE]

So you have these projects in your development tree, these are probably managed by the version of Subversion as used on your mac – which with a very high probability would be version 1.6. But now and again, you might find yourself with a Subversion 1.7 project you received from someone else. Your mac will then shout something like this;

Shell outputsvn: The path '.' appears to be part of a Subversion 1.7 or greater
working copy. Please upgrade your Subversion client to use this
working copy.

If – like me – you are NOT prepared to switch to SubVersioN 1.7 entirely, then read on :)

Continue reading “Using multiple versions of SVN – automatically – transparently”

Sending an email upon SVN-commit

When you work with a group of people on the same projects, the larger the group gets, the more difficult the task of keeping everybody informed. So why not do this automatically? Send an e-mail upon an SVN commit. Here’s how I do it. Continue reading “Sending an email upon SVN-commit”

SSL (HTTPS) on your Development WebServer

It took me a while and finally found a working, but a bit ugly, solution. Not to bore you with the details, here are the step by step instruction on how to get HTTPS working on your development web server. Please note, this is not a good setup for live web servers, you will have to take security into account if you use this on a publicly available web server. Continue reading “SSL (HTTPS) on your Development WebServer”

Handy Shell Scripts – part II – manage_launchpad.sh

The second script I’d like to share is one to list or delete items from the OSX Lion launchpad. It’s a very basic script with semi-cryptic output, but it’s useable for the two or three times you’ll ever use it.

Have you looked at your launchpad? It probably has twenty or more items you would like removed, but, …., OSX doesn’t allow you to remove items. Luckily it’s just an SQLITE database and with a few carefully built SQL queries, we can cleanup duplicates and unwanted items.

Continue reading “Handy Shell Scripts – part II – manage_launchpad.sh”

Handy Shell Scripts – part I – svntag.sh

Everyone has ’em. Well, maybe not EVERYONE, but a good many of us, programmers do; those handy little scripts and one-liners that make our jobs a little easier.

The first I’d like to share is one I use daily about a dozen times; svntag.sh
Continue reading “Handy Shell Scripts – part I – svntag.sh”