Sorry, you need to enable JavaScript to visit this website.

GNU/Linux

Homer's picture

Give Linux a Windows-style "Registry"

The Ultimate Abomination

First of all, let me make it clear that this is only meant to be a joke.

No really, it's a joke.

Please, for the love of God, do not pervert GNU/Linux into Windows, by giving it the worst configuration storage system of all time.

Having said that, it does actually work (FSVO: "work").

The following takes the contents of "/etc" and "$HOME/{userid}/{dotfiles}", and creates a Windows-style "Registry" from them, comprising two Sqlite3 databases: SYSTEM.DAT.db and USER.DAT.db respectively.

Homer's picture

Firefox / Icecat Tips

Kill that damned "urlclassifier3.sqlite" problem once and for all

Turn off (uncheck) "Block reported attack sites" and "Block reported web forgeries" in Firefox/Icecat security preferences. Unless you're an idiot, or running Windows, then you probably don't need this.

Then quit Firefox/Icecat, and:

cd "$HOME"
find . -name urlclassifier3.sqlite -exec rm -f {} ';' -exec touch {} ';'
su -c "find . -name urlclassifier3.sqlite -exec chattr +i {} ';'"

"chattr +i" means "change the file attributes to immutable", meaning "can't change or delete".

This will now ensure urlclassifier3.sqlite remains a zero byte file forever.

Homer's picture

Torvalds' Hatred of Microsoft Critics is a Disease

Apparently, that melodramatic proclaimer of outrageously twisted opinion, Linus Torvalds, thinks anyone who criticises Microsoft for their unethical (and even criminal) behaviour, is suffering some kind of "disease" (although he fails to specify). I, however, will specify the disease that fuels Torvalds' hatred of Microsoft critics ... it's called "pragmatism".

Homer's picture

Non-existent Device Mapper Volumes Causing I/O Errors?

A couple of days ago I started getting these errors whenever I ran anything that scanned for logical volumes (Linux LVM2):

Buffer I/O error on device dm-6, logical block 0
Buffer I/O error on device dm-7, logical block 0
Buffer I/O error on device dm-8, logical block 0
Buffer I/O error on device dm-9, logical block 0

My first reaction was panic, as I initially believed my HDD was failing, but after some investigation I realised that the above devices simply didn't exist.

Homer's picture

Firefox 3: Is this really Free Software?

You decide:

MOZILLA FIREFOX END-USER SOFTWARE LICENSE AGREEMENT

Version 3.0, May 2008

A source code version of certain Firefox Browser functionality that you may use, modify and distribute is available to you free-of-charge from www.mozilla.org under the Mozilla Public License and other open source software licenses.

Syndicate content