chrisspeck.com

Chris' random ramblings

Archive for the 'Uncategorized' Category

Installing X11 Screensavers on Ubuntu

Miss the Windows 3.11 days of After Dark?, well if you are running Ubuntu or Mac you can relive it by download the X11 screen saver package.

If running from Ubuntu, you can install it from the repos:

sudo apt-get remove gnome-screensaver
sudo apt-get install xscreensaver xscreensaver-data xscreensaver-gl xscreensaver-data-extra  xscreensaver-gl-extra unicode-screensaver rss-glx

Then start the daemon with:

xscreensaver -nosplash

Make sure you add xscreensaver -nosplash as a startup item.

You can configure the screen savers by running xscreensaver-demo.

Windows users you may turn to Really Slick screensavers.

posted by specky in IT,Uncategorized and have No Comments

Completely removing a mdadm raid array in Ubuntu

To completely remove an mdadm raid array you must “zero the superblock” on the component drives, so that mdadm will not detect them on its next scan/reboot of your system:

sudo bash
mdadm --stop /dev/md1
mdadm --remove /dev/md1
mdadm --zero-superblock /dev/sdb3
mdadm --zero-superblock /dev/sdc3

Oh…and happy new year!

With thanks to MDLog:/sysadmin.

posted by specky in Uncategorized and have No Comments

Calling Bullshit on Electronic Arts Pricing

The following screen shots clearly demonstrate that Electronic Arts intends to fleece Australian consumers by charging them more for the same digital downloads as they do to US consumers.

The first image is of the AU EA Origin store, and the price is clearly $23.95.

The second image is of the US EA Origin store, accessed via a VPN, and the price is clearly $14.95.

The third image is of the AU/US exchange rate. $1 AUD is currently buying $1.01 USD.

Electronic Arts, why do you think you can treat Aussie consumers like crap?

I rest my case.

posted by specky in Uncategorized and have No Comments

Norton Removal Tool

If you get stuck with Norton software on your system try following the steps in this page or downloading one or Symantec’s tools direct from its FTP site.

posted by specky in Uncategorized and have No Comments

Tabcloud syncing browsing sessions between computers and fixing slow Excel 2004 (Mac) spreadsheets with the offset function

Just wanted to blog about two really neat things I’ve this afternoon.

Tabcloud

Ever wish you could save every tab you’re looking at and send it to another computer? If so, this plugin is for you.

This is a plug-in for Chrome (and Firefox and iOS apparently) which lets you save an entire browsing session to the cloud and load the same session at a later time on a different computer…it’s wonderful, and it’s perfect for anyone who is doing research and jumping a lot from PC to PC.

Link is here.

Fixing slow spreadsheets with the Excel “Offset” function

I have developed a multi-sheet timekeeping spreadsheet in Excel 2003, and was tasked with implementing it on the boss’ computer (an iMac). The spreadsheet loaded and displayed fine in Excel 2004 for Mac, however it was inexplicably slow as molasses when it came to recalculating cells and switching tabs.

I thought it had something to do with a massive defined range, and I was right.

Luckily, the offset function can be used to dynamically define a range and hence restrict it to only those cells which have data.

This function returns a reference to a set of cells. The definition is as follows:

Offset( range, rows, columns, height, width )

This function is really useful when you want to create dynamically expanding (or contracting) named ranges. An example of its use is:-

=OFFSET(somesheet!$A$2,0,0,COUNTA(somesheet!$D$2:$D$2000),6)

In the example above I am returning a [n] x 6 block of cells, and using a count of up to the first 1999 text entries in column “D” to determine what [n] should be. Count(…) would be used for a column of numbers.

Implementing this dramatically sped up the operation of a large spreadsheet on Excel 2004 for Mac version of Excel.

One word of warning though – if you are running lookups on the named range, and you have set range_lookup to be false, make sure you sort the data within the named range otherwise new entries (with lower key values) will not be returned.

Here’s a link to the original Microsoft Knowledgebase article about it.

posted by specky in Uncategorized and have No Comments