Post thumbnail of Remove files after svn add but before committing
10 February 2010
Continue reading Remove files after svn add but before committing

Remove files after svn add but before committing

You’ve added a whole directory to get checked into subversion, and then realized you forgot to remove the binaries, or perhaps you had some hidden files, .nfs0001 or thumbs.db or something else you just don’t want to commit. There’s two ways to undo this situation.

Post thumbnail of Fedora 12 bloat
19 November 2009
Continue reading Fedora 12 bloat

Fedora 12 bloat

The default installations of Fedora 12 (64-bit intel and 32-bit ppc, at least) are really bloated. There are tons of new packages that don’t belong in a default installation. There are a ton more than I just don’t have any need for. To be fair, you can do a net install which gives you a smaller footprint to begin with and you have the option to customize the installations to avoid installing anything you don’t need in the first place. But do I really need special support packages for specific Lexmark printers by default? How about cheese, ivtv-firmware, or fpaste?

Post thumbnail of How to remove yum packages without dependencies
8 April 2009
Continue reading How to remove yum packages without dependencies

How to remove yum packages without dependencies

I can’t figure out how to make yum ignore dependencies and I can’t find it by googling either. The yum-allowdowngrade package doesn’t do what I expected it to do. So I’ll just have to ignore yum for now and force rpm to do the job.

Post thumbnail of Control the links that appear in Mediawiki’s toolbox and make it vanish for anonymous users
10 March 2009
Continue reading Control the links that appear in Mediawiki’s toolbox and make it vanish for anonymous users

Control the links that appear in Mediawiki’s toolbox and make it vanish for anonymous users

I wanted to simplify the toolbox for a special purpose wiki, but everywhere I searched all I could find was how to change the name of the toolbox, or how to show it only to logged in users, etc. To delete one of the default toolbox links, just change the data value to something it will never see. You could remove the if statements completely for each link you want removed, or just change the data value to something that will never result in entering the if statement. It’s less intrusive than removing the code completely. Either way, you won’t be deleting the toolbox function, only the link from the interface — which is exactly what I wanted. If you want to trim the navigation part of the sidebar, that’s built right in. Just go to Mediawiki:Sidebar and edit that page.

Powered by Wordpress   |   Lunated designed by ZenVerse