Skip to navigation

Archive for August, 2011

How to connect to kclad (the KCL Active Directory domain)

Tuesday, August 30th, 2011

I followed these instructions (I did not get any errors). sudo aptitude install likewise-open5 Connect: sudo domainjoin-cli join kclad.ds.kcl.ac.uk LOGIN Reboot. Add the line winbind use default domain = yes to the file /etc/samba/lwiauthd.conf Reboot. Check if you are connected: sudo domainjoin-cli query I now seem to be connected whenever I am on the KCL […]

Find more network printers from the Ubuntu command line

Friday, August 19th, 2011

Some of the network printers at work do not show up when I try to find them via the Ubuntu GUI System -> Administration -> Printing but I can find them via the command hp-probe. Here at work the list returned by hp-probe is long and I know the names I’m looking for start with […]

ggplot2 error “invalid argument to unary operator”

Monday, August 8th, 2011

I had a longish ggplot command and kept getting the error: invalid argument to unary operator It happened when I was specifying custom labels with scale_y_continuous but it turns out this was irrelevant and it hinged on a line break. It turnsout (at least when stepping through the code with ESS in Emacs using C-c […]