Subclipse and Ubuntu

Subclipse will need the JavaHL Library so you have to install libsvn-java. The latest version of libsvn is 1.6.x but not compatible with the latest version of subclipse :|
Solution 1
use subclipse 1.6
Solution 2
use subclipse 1.8 and update the libsvn. Dominik Stadler has the latest packages in his PPA https://launchpad.net/~dominik-stadler/+archive/ppa

Tokenizer for Linux Shell (cut2)

About a year ago, i coded a little command line tool to tokenize data from a file or stdin and print each token as new line to stdout. Now you can use grep, sort or cut to manipulate the data further. As delimiter you can use any string you want and it will be left out in the result.

Sourcecode

After make copy the cut2 binary to /usr/bin/ and you can use it like every other command line tool.

Usage: cut2 -d DELIM [- | filename]

Have fun :)

update: improved code now available at github

Se up a Git server with gitosis

The instructions i used can be found at scie.nti.st.

If you use Debian or Ubuntu you can install git and gitosis like:
apt-get install git gitosis

Everything works fine but i could not check out the repo with another user because of this warning:
“git Warning: remote HEAD refers to nonexistent ref, unable to checkout”

Found the solution on stackoverlow:
just do git config push.default current at the original source and the clone/checkout works fine!

To configure git-daemon and export singel repositories, this tutorial might help!

Microsoft Lifeview VX-1000 on Ubuntu 10.10

The cam is working out of the box with Ubuntu 10.10 (you can test this with cheese) but in Skype we have a weird picture, so we have to do some things:

(http://wiki.ubuntuusers.de/Skype)

#1 sudo nano /usr/local/bin/skype and paste LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so /usr/bin/skype "$@" and make it executeable sudo chmod uga+x /usr/local/bin/skype. Now Skype should show a nice picture, but there is no sound yet. So we go to the audio-configuration select output and choose our “LifeCam VX-1000 Analog Mono” and set the volume to 100%.

#2 if you have tvtime installed it might not work anymore. edit sudo nano /etc/tvtime/tvtime.xml and change <option value="/dev/video1"></option>, but it still does not work. there is a bug in tvtime which is fixed by Whoopie, so install his fixed version: sudo apt-add-repository ppa:whoopie79/ppa, update sudo apt-get update and install new tvtime sudo apt-get install tvtime.

@Ubuntu 12.04: here the path to the lib changed to /usr/lib/i386-linux-gnu/libv4l/v4l1compat.so