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…

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…

Contributing to projects on Launchpad.net with Bazaar

Launchpad.net [https://launchpad.net/+about] is a site for hosting software projects and in a lot of ways it is similar to google code [http://code.google.com] and sourceforge.net [http://sourceforge.net]. Launchpad allows you to plan and manage bug tracking for your project, as well as…

Is NetNewsWire trying to tell me something?

Do you ever get the feeling your computer is trying to communicate with you. Seems NetNewsWire [http://www.newsgator.com/Individuals/NetNewsWire/] admires the geek at the controls. Huh? Don't get it? Read more about 1337 [http://en.wikipedia.org/wiki/Leet].…

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…

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 [https://muffinresearch.co.uk/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 [http://bazaar-vcs.org] There…