Kickstarting the PyS60 bluetooth console on Ubuntu
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 »
Read more »
Scripting a ssh tunnel
Sometimes I wonder why I put up with some inconveniences in my work flow. One particular issue I have for a long time is working with ssh-tunnels. It always goes like this: I start a ssh tunnel or other proxy, run a program that uses this proxy and use it until I am done with it, and finally close the proxy afterwards. For a long time I was doing this manually using a terminal, until I finally got fed up with the tedious routine and wrote this simple bash script:
code:
Read more »
code:
1
2
3
4
| #!/bin/sh /usr/bin/ssh -N -D 3124 username@localhost & # Enter your program here kill $! |
Read more »
Cleaning up version-controlled directories
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:
Read more »
rm -i `svn status | awk '/^\?/ {print $2}'`Read more »
Saxion en CAA, losmakelijk verbonden 
Zoals ik al eerder schreef, was boterde het niet lekker tussen het door CAA-beveiligde netwerk van het Saxion en Linux-gebruikers. Servers die toegankelijk waren via het Internet werden afgeschermd voor het interne netwerk en Linux-gebruikers werden min of meer gedwongen om door allerlei hoepels te springen om hun werk normaal te doen. Sinds kort niet meer: de weg naar de schoolwebsites, de Subversion-server en de Linux-systemen is twee dagen geleden vrijgemaakt voor Saxion-gebruikers zonder CAA
.
Lees verder »
Lees verder »
Fun with Synaptics
If you have ever worked with a laptop, you are bound to have played with it's touchpad. It is often configured to generate scroll events when placing a finger along the right and bottom side of the touchpad, as well as single click events when tapping on the touchpad with your finger. However, this is only the tip of the iceberg with things you can convince your driver to do.
Read more »
Read more »