Kickstarting the PyS60 bluetooth console on Ubuntu

By Ghost on Monday 11 August 2008 17:59 - Comments (1)
Categories: General tricks, Linux, Views: 903

Recently, I discovered that there was a Python scripting engine for the Symbian OS, called PyS60. Given my interest in the programming language, I gave it a try. Using the instructions on the Nokia wiki, I had an installation up and running within the general lifespan of a cup of tea. There was only one feature giving me trouble: the bluetooth interactive console. Getting that to work under Ubuntu proved to be hard to figure out, but in the end easy to solve.

Read more »

Cleaning up version-controlled directories

By Ghost on Sunday 01 June 2008 18:26 - Comments (2)
Categories: General tricks, Linux, Views: 1556

When writing LaTeX documents, you often end up with all kinds of redundant files. These files are generated during the compilation of a dvi or a pdf document and can generally be discarded afterwards. Most of my tex documents are under version control and, consequently, it is possible to get a list of the files that are (and are not) under this control. Using a single Bash command, you can abuse subversion to determine which files you want to delete:

rm -i `svn status | awk '/^\?/ {print $2}'`


Read more »

Requirement list in Latex

By Ghost on Sunday 18 May 2008 09:57 - Comments (3)
Category: General tricks, Views: 2514

This is just a small trick I have used in my last LaTeX-document to make separate list-environments keep incrementing, depending on the numbers of the previous list-environment. I think it is a bit hard to explain, so I will try to do by explaining the reason I needed this feature.

Read more »