Just had to upload voice prompts to an Alcatel OmniPCX. The process: Record the message using the "Sound Recorder" on Windows 7 (which saves to WMA format and it's got a high sample rate and it got 2 channels etc) Upload to a Ubuntu 10.10 Linux box and use ffmpeg to...
James McDonald
How Old School Linux are You?
Remember the Registered Linux User Counter: LOL.
WordPress for Android Video Upload
This link http://android.wordpress.org/2010/05/11/wordpress-for-android-version-1-2-geotagging-and-video-upload/ has the secret sauce for uploading 3gp videos to a wordpress blog namely the PJW Mime Config plugin. After installing PJW Mime Config the mime type you...
HP Officejet Pro 8500A A910a on Ubuntu 10.10
Update: The latest version of hplip has the correct entries in the installer/distros.dat file. Go to the aforementioned link and follow the instructions to install on Ubuntu 10.10 and it should work well for you. Just bought a new HP Officejet Pro 8500A A910a as my HP...
The web.archive.org Wayback Machine – A trip down memory lane
If you wonder what content your site had or how it looked months and even years ago http://web.archive.org may be the place to visit. I just had a look at my site http://web.archive.org/web/*/https://toggen.com.au/ and there are pages from as far back as 2003. I...
Accessing Kohana PHP Frameworks Local Userguide
open application/bootstrap.php and make sure your base_url is correct in my case Kohana maps to /~jm/ on my local server Uncomment the 'userguide' => MODPATH.'userguide' module. http://localhost/~jm/index.php/guide
Exporting Dia Diagrams to PNG from the Command Line
A post from the Dia mailing list: I was asked to deliver some diagrams Dia diagrams I did, in PNG format. I just would imagine the nightmare it would have been to do this under "other" diagramming tools. for D in *.dia; do dia -t png -s 1024x $D; done I just checked...
Reducing the size of a massive PDF so you can email it
Just joined a heap of PDF files with pdftk output*.pdf cat output nov2010.pdf and got a 19.5MB PDF file. From here found a working solution to reduce the size of the PDF. gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dQUIET -dBATCH...
I heart Justin Bieber – Embedding Youtube Videos in Your Website
Now all I need to do is sit back and watch my blog traffic increase exponentially Changing the size of your embedded Youtube Video And incidentally if you want to change the size of your embedded metube video you just edit the width and height parms from the default...
A Good Multi-Language Admin Scripting Resource
Currently Looking at Kix Scripting and Found this site which has a heap of good downloadable examples. http://www.robvanderwoude.com/
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...
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...
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...
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...
www.smh.com.au redirects to m.smh.com.au when using Chromium on Ubuntu Linux
Looks as if smh's (Sydney Morning Herald's) browser user-agent detection code is not correctly identifying the "Chromium 6.0.472.63 (59945) Ubuntu 10.10" browser. Instead of giving you www.smh.com.au it redirects to m.smh.com.au I posted a work-a-round over at...
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...
yum update Metadata file does not match checksum
Just had yum update cause a "Metadata file does not match checksum" As usual Google had an answer but for me it didn't work... My error was caused by danguardian web filtering blocking the download of the yum repository metadata files Dansguardian is configured with...
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...