Get rid of the Floppy Icon in (x)Ubuntu

By default Ubuntu is configured to load the floppy kernel driver on start-up, if you don’t have a floppy drive though this can be annoying because the icon will appear as a un-mounted drive on your system. In Xubuntu on my machine the icon and entry in thunar (the file manager) looked like this.FloppyIcon

The fix is to unload the floppy driver from memory, thankfully on Ubuntu its a module so you can unload the module with the following command:

sudo rmmod floppy

If you want to permanently stop it from loading on boot you can blacklist the driver as follows:

echo “blacklist floppy” | sudo tee /etc/modprobe.d/blacklist-floppy.conf
sudo rmmod floppy
sudo update-initramfs -u

AJAX Loading Gif Creator

ajax-loaderIf you use any AJAX based sites you’ve probably seen the spinning “loading” icons people use to indicate something is loading (like the one on the right). I’ve been looking for somewhere I can get one for a website I’m working on.

I wondered onto this site AjaxLoad via this Stack Overflow Entry which has a web based image generator, its actually very cool. Now I just have to work out how to get the image to work correctly in ASP.Net.