Archive for the ‘Howtos’ Category

WordPress: Stopping the Sidebar from Printing

I’ve already blogged about this, but here’s a new method on how to fix the problem. This one doesn’t bloat the site as much, and keeps the css files down to a minimum.
Please note: I’m assuming you still use the default theme. Things will be slightly different with other themes, but in general [...]

August 14, 2009   Posted in: Howtos, WordPress  Comments Closed

Exim: Deliver some email address on local domain remotely

Most of my email is handled by a server I run, except for a few legacy address I can’t really move for now.  Before I had been lazy and send simply relayed all mail that didn’t have a local mailbox onto the second server.  However I was forwarding shed loads of emails to duff address. [...]

July 24, 2009   Posted in: Howtos, Linux  Comments Closed

HOWTO: NUT & CPU Throttling/Frequency Scaling

After a couple of power cuts lasting long enough for my UPS to shutdown my PC, I’ve been meaning to get NUTs to set my CPU to lowest speed possible when running on battery power, this week I finally got round to it. Please note these instructions are based on Debian 4.0 (Etch) [...]

May 21, 2007   Posted in: Debian, Hardware, Howtos, Linux  Comments Closed

WordPress: Stopping the Sidebar from Printing

If there’s one thing that really winds me up on the net is that when printing web-pages you end up with a load of crap you didn’t want usually. For example with blogs you usually get a page or two with the content on the blog sidebar, which frankly I don’t need on a [...]

May 9, 2007   Posted in: Howtos, Rants, WordPress  Comments Closed

GVIM/Ubuntu/Debian Syntax Highlighting

It appears in the Edgy Eft and Debian Etch that Syntax highlighting in gvim has been switched off by default.
To add it back add the following line to /etc/vim/gvimrc

” Also switch on highlighting the last used search pattern.
if has(“syntax”) && (&t_Co > 2 || has(“gui_running”))
syntax on
set hlsearch
endif

November 20, 2006   Posted in: Debian, Howtos, Ubuntu  Comments Closed