Find more network printers from the Ubuntu command line
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...
View ArticleHow to connect to kclad (the KCL Active Directory domain)
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...
View ArticleEmacs 22 does not highlight region
Well, I doubt many people have this problem. For some reason, on a server I use the installed Emacs version is Emacs 22, not the current Emacs 23, and I ran into the problem that I was expecting...
View ArticleCompile latest unison on Ubuntu lucid
Short version: You need to apt-get the packages ocaml and liblablgtk2-ocaml-dev, download and unpack the unison tarball you want, then run “make: Change filename in the following as necessary to...
View ArticleInstalling Limesurvey
Notes to future self: Download limesurvey tarball and unpack into web root. Edit [limesurvey-root-dir]/config.php: Change $databaseuser from ‘root’ to ‘limesurvey’ Choose and insert $databasepass, the...
View ArticleUmlaut in R plot on Mac using ESS in Emacs (Aquamacs)
To get the umlaut in your Emacs buffer, type C-x 8 " then the appropriate letter. For example, to get “ü”, type: C-x 8 " u In a plot label, this then did not show up correctly, but instead displayed as...
View ArticleReplace DOS line feeds (CRLF line terminators) using sed
A sed command stumbled on the fact that a text file came from Windows. file filename.csv gave ASCII text, with CRLF line terminators To fix it: sed -i 's/^M//' filename.csv Where the “^M” is input by...
View ArticleReading recalcitrant csv files in R (line n did not have m elements)
Trying to read.csv() or read.table() a csv file in R caused some headaches. In particular, I got: line 14 did not have 98 elements It turns out in this instance it was some (unqouted) string entries...
View ArticleTo get vector graphics from R into Word, use the EMF file format
Find of the day: install.packages("devEMF") This package lets you use emf("filename.emf") plot(...) dev.off() to produce an EMF file, which is a scalable vector graphic that you can import into a MS...
View ArticleQuodLibet on Mac OS X
Hurray! I eventually got a bundle from here. Many thanks to Eric Le Lay for providing it. This was after I failed to get the ‘running from source’ solution described on...
View Article
More Pages to Explore .....