Linux

Using WGET to download or back up an entire website

Simple to do with Linux from the command line.  This will make a folder with the name of the site, and download all the content it can access into that folder.

wget -c -r -k -U Mozilla www.thesite.com

-c skips any existing files already downloaded (handy if you're resuming after only downloading half the content)

-r downloads the whole site (recursive)

-k converts the links to local links so they will work if you click on them from the folder on your computer

Installing an Ainol Novo 7 Paladin Tablet in Linux (Ubuntu)

I recently got one of these, and I love it.  But I'm doing some Grails development in Windows, for which I needed Java 7, 64-bit - so I've taken to doing my Android development in Linux.

While trying to install the tablet in Linux I came up against something I hadn't seen before... abd devices gave me the following output:

Python tkinter GUI - change default icon: Windows vs. Linux

I'm learning Python at the moment... and as part of that I've been looking at creating platform-independent applications.

The first step, I figured, was to get a basic window operating cross-platform.  I did this, no problem.  I did some reading on tkinter, which seems pretty straight forward (apart from being Tkinter in Python 2.x and tkinter in Python 3.x - note the case change - pretty annoying for converting apps from the old version).  So that was all good anyway.

Ubuntu 9.10 and Sun VirtualBox

As part of my C programming course recently I needed a Linux environment to work in, so decided to give Sun VirtualBox a try as a way to run Ubuntu 9.10 on my Laptop (running Windows 7).  It works well, but required a little tweaking to get going properly.

First, you need to install guest additions - to do this you need to choose it from the devices menu at the top of the VirtualBox window... this mounts them as a virtual CD ROM drive in your Linux install.