Archive for the ‘Howtos’ Category

AutoIT: _WordDocFindReplace in TextBox + Disable Macros

The Default _WordDocFindReplace only works with pretty standard word documents (It’s more the fault of the way VBA’s find function work the word.au3). However thanks to a few VBA samples on the web I’ve managed to come up with some code to get around this issue. First do your normal find & replace to catch […]

July 22, 2011 · robert · Comments Closed
Tags: , ,  · Posted in: Howtos, Work / Microsoft

Ubuntu 10.04 and cupsaddsmb

It seems on my setup cupsaddsmb doesn’t work out of the box (even once drivers are added) the missing finial steps (for my setup is) Setup Administrators group sudo net sam createbuiltingroup Administrators sudo net sam addmem Administrators “domain\Domain Admins” sudo net sam addmem Administrators “localhost\administrator” Setup driver push sudo chgrp admin /var/lib/samba/printers cupsaddsmb -U […]

October 8, 2010 · robert · Comments Closed
Tags: , ,  · Posted in: Howtos, Ubuntu

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 the […]

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

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 · robert · Comments Closed
Posted in: Howtos, Linux

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) and may […]

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

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 print […]

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

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 · robert · Comments Closed
Posted in: Debian, Howtos, Ubuntu