Saturday, 24 November 2007

UNC vs Duke

Poker

Our neighbor has invited me to his monthly poker evening. The only problem is that I don't know how to play. I have month to learn enough to not look an idiot.

Photos

This should be a photo slideshow linked to picassa.



Tuesday, 20 November 2007

Tag cloud

I got fed up with not beign able to find things I'd noted down here, so I added the ubiquitous tag cloud, using these instructions.

Monday, 19 November 2007

American TV

So it turns out that the best thing about American TV is that there are so many adverts (which are a special type of annoying) that you *really* have to want to watch something in order to put up with it. Even BBC America . On a lot of the minor channels where we sometimes watch college sport, the advertisers obviously don't have a large marketing budget. So they JUST SHOUT and hope you'll buy the product. I guess it must work. We don't watch a lot of TV.

I heard from a bloke in the pub that a lot of people download their TV from usenet. I'm not surprised.

Wednesday, 14 November 2007

One blog per week

According to my favourite blog, Coding Horror the path to blog greatness is to set a schedule and stick to it. It has to be said that I am not the worlds best at sticking to things. Our bookshelf as at least three books that I started and never finished. Since nobody outside my family and friends really cares what I do on a day-to-day basis - unless I happen to win the lottery in the next year I don'thttp://www.blogger.com/img/gl.link.gif expect the readership to exceed... more than a handfull. However, I think it's worth keeping a journal even if it's only for myself. Lots of folks are currently using facebook - and once the novelty of the apps has worn off, the real interest in facebook - for me at least is to see what people are up to (Status updates) and seeing their photo's. I don't see why blogs and things like 'twitter' couldn't do the same thing but using a more open platform. It will be interesting to see what happens with facebook during the coming year - it's currently very hot.

Tuesday, 16 October 2007

ksh script template

Here's a nice little exampel of how to write and comment shell scripts.


#!/bin/ksh

#
#Display a usage message
#
usage() {
echo "usage: "
}

if [[ $# -lt 1 ]] ; then
usage
exit 1
fi

#
#Process command line options
#
while [ $# -gt 0 ]
do
case $1 in
-m) REGMODEL=$2
shift
;;
-t) REGTEST=$2
shift
;;
-p) REGPROTO=$2
shift
;;
-b) REGBLD=$2
shift
;;
-months) MONTHS_TO_Q=$2
shift
;;
-h) help=true
;;
-burt) BURT=1
;;
-graph) GRAPH=1
;;
-error) ERROR=1
;;
-all) ALL=1
;;
-*) echo $0 $1: Unrecognised option >&2
;;
*) ;;
esac
shift
done