Skip to navigation

Archive for the 'Uncategorized' Category

Compile latest unison on Ubuntu lucid

Wednesday, May 23rd, 2012

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 download the tarball you want: wget http://www.seas.upenn.edu/~bcpierce/unison//download/releases/stable/unison-2.40.63.tar.gz tar xvfz unison*tar.gz cd unison* sudo aptitude install ocaml make UISTYLE=text sudo aptitude install liblablgtk2-ocaml-dev make unison Maybe […]

flexSURVEY

Tuesday, December 14th, 2010

I came across flexSURVEY, which looks similar in idea to my Template 2.0 for web experiments, except flexSURVEY uses PHP (Template 2.0 is pure JavaScript up to the point of data submission at the end). I haven’t tried it, but it looks like it could be a nice way to do some speedy PHP-based questionnaires.

How to change the timeout and default in the boot menu on a Windows/ Linux dual boot

Wednesday, August 5th, 2009

The file you need to edit is /boot/grub/menu.lst and it contains lots of helpful comments. The two lines you’ll most likely need are: timeout 10 which gives the timeout in seconds, and default 0 which defines the default boot option, as the order of the item in the menu list, starting at 0. You can […]

LaTeX: using apacite and hyperref in the same document

Wednesday, March 18th, 2009

The latest (4.0) version of apacite no longer conflicts with the package hyperref, but you must load hyperref before apacite. That is, the preamble of your document should look something like this: \documentclass{article} … other packages etc … \usepackage{hyperref} \usepackage{apacite} \begin{document} … At least, that is the only way it worked for me. When I […]