programming

My first Android application

I've just created my first Android application. I was surprised how simple it was to create but most of all how easy it was to deploy. It was available on the Android marketplace immediately with no hassle. I'll provide another post about once the application is a bit more mature. It's basically just a simple calculator application for physicians.

Coloured diff in Linux with Subversion

To get coloured diff, install colordiff (http://colordiff.sourceforge.net/) and then you can make some aliases like below:

alias svndiff="svn diff --diff-cmd=colordiff"
alias diff="colordiff -u"

Note that I didn't need the -u (unified diff) option for subversion because it does it by default.

If you pipe your diff through less, the output will be all screwed up, this can easily be fixed by using less -r. I aliased it like this:

alias less="less -r"
Subscribe to RSS - programming