BASH Tip: Alternative to expr for arithmetic

I discovered recently a neat way to do arithmetic in BASH without the need to use the expr command. There's a build-in that uses the syntax $((…)) or $[ … ]. This is also faster as it avoids the need to invoke a separate command. See: http://snap.nlc.dcccd.edu for more on…

BASH: Open FileMerge from CLI

Here's a quick tip. If you want to open FileMerge (Apples graphical diff utility available in developer tools) from the CLI you can use the command opendiff e.g: opendiff file1 file2 This save lots of hassle when you are trying to resolve versioning conflicts, as I always find it…

Contributing to projects on Launchpad.net with Bazaar

Launchpad.net is a site for hosting software projects and in a lot of ways it is similar to google code and sourceforge.net. Launchpad allows you to plan and manage bug tracking for your project, as well as manage delivery of translations. However, the ace up launchpad's sleeve is…

Bazaar Lightning Talk

Here's the slides from a recent Lightning talk I gave at our London offices on the Bazaar version control system. A full transcript is available here: http://www.slideshare.net/muffinresearch/bazaar-vcs…

Sneaky hfs_fsck post reboot

Just thought I'd mention this, unlike linux and windows if your mac crashes you aren't told that the filesystem integrity needs to be checked when you reboot. Now this is probably a good thing up to a point, as macs do a good job of hiding technical stuff from people…

Dealing with Text Conflicts in Bazaar Version Control

This post is a follow-on from a previous post that formed a basic introduction to Bazaar version control. If you'd like to find out more about Bazaar then you can also read about it on the official Bazaar website There will come a time in any project when you will…