James McDonald

Access

Blog History

Returning DDMMYY in Bash or CMD.exe

Anyone else have a better way on Windows. Let me know. # bash scripting MYDATE=`date +%d%m%y` echo $MYDATE # or all in one echo $(date +%d%m%y) rem Windows cmd.exe rem This gives you the correct format rem offsets rem 01234567890123 rem Mon 01/11/2010 set...

read more

Run Ubuntu > 9.x Headless

Found this after too much Googling so listing here for future reference. Stop X Starting at Boot on an Upstart controlled system update-rc.d -f remove gdm doesn't work: That is because Ubuntu doesn't use System V init files for startup any more, it uses a program...

read more

Finding your Thought Paradigm

I have recently finished reading a book on mind maps by Tony Buzan. In my working life I'm constantly getting deluged by different projects, or goals, all with multiple dependencies and when I try to get them straight by opening a word document and putting it `down on...

read more

Password Obfuscation in VBS Admin Scripts

Sometimes you may want to authenticate to a remote share and do some admin task like create a zipped backup file on your local computer. The problem with the following script fragment is that the raw VBS file contains a plain text password. So how do you hide the...

read more

Ubuntu 10.10 – A thing of beauty

Usually I am aware of the latest version of the Ubuntu operating system arriving a little before it's release time. This is mainly because there is some new feature that I am hanging out to try or bug that I want to leave behind. This time around I've been happily...

read more

LinkedIn – Facebook for Adults

Time sinks: Facebook Twitter Stumbleupon I find LinkedIn is less of a time chewer, of course you can have many hours of fun updating your profile to include just about every facet of work experience you've been through. Creative writing :). I'm noticing LinkedIn...

read more