TYPO3 Cumulus Flash tag cloud by TYPO3-Macher - die TYPO3 Dienstleister (based on WP Cumulus Flash tag cloud by Roy Tanck) requires Flash Player 9 or better.



Announcements on Twitter: @CK2go


Zur Zeit wird gefiltert nach: Carsten König
Filter zurücksetzen


Eclipse/Texlipse: bibtex file in different directory

I recently ran into the problem that I have a common library where i store all my Bibtex references, but Eclipse/Texlipse refused to find it, although I linked the library file from within the project folder.

The solution is rather simple, as it just requires setting the BIBINPUTS evironment variable, so Bibtex can find the desired *.bib file at the different location.

To do so in Texlipse, go to Preferences->Texlipse->Builder Settings->Environment. There you hit 'New...', enter 'BIBINPUTS' as the key and the directory where the bibtex library file (i.e. your *.bib file) is located as the value. Hit OK, close the preferences screen and you are set.

Hope that helps.


Eclipse/Subversive: DH keypair issues

I recently had the issue that one of the SVN servers that I regularly use refused to connect anymore. In the command line, everything wored as intended, but using Subversive within Eclipse did not work. I got a popup window, containing the following information:

java.lang.RuntimeException: Could not generate DH keypair

The problem was, that the SVN server no longer accepted the standard Diffie-Hellman algorithm for SSL connections, as it is supposedly insecure.

The solution is to disable the standard Diffie-Hellman algorithm. To do so a single line needs to be added to the configuration file (for my Oracle Java installation it is found at /opt/Oracle_Java/jdk1.8.0_121/jre/lib/security/) - I just added the following line at the end of the file:


Make sure that your Eclipse installation is using the right Java installation though. This can be configured in the eclipse.ini (my one has the vm set explicitly):


Hope this helps someone! ;)


Python autocompletion in VIM

Having autocompletion (and some other nice stuff) for Python in VIM is not only a nice feature, but something allowing you to be more efficient when programming Python.

First see the result:


To make the functionality (and color scheme) available, download the tarball (pythonVim.tar.gz) and extract it in your home directory (i.e. /home/your_user_name), execute the file to install the neccessary plugins (make it executable first, e.g. by chmod u+x, and add the content of the .vimrc to your .vimrc file. Next time you start VIM, you should have autocompletion available...

Requires VIM 7.3 or above (check with vim -version). You can get this from the VIM FTP archive at Download the archive and extract it, then do the following to install in the local users home directory with Python support enabled:

./configure --with-features=huge --enable-pythoninterp --prefix=$HOME
make all install

Make sure to add $HOME/bin to your $PATH, so the right vim is picked.




Let VIM open file at last editing position

Simply put the following lines to your ~/.vimrc and all files will be opend at the last editing position.

Saves a lot of searching time. ;)

if has("autocmd")
  au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif

Drucken mit dem ASUS RT-N56U Router

Da ich seit heute einen ASUS RT-N56U Wireless Router mein Eigen nenne, sollte dieser natürlich direkt ausgereizt werden. Da der Router über zwei USB Anschlüsse verfügt, sollte also auch der Drucker direkt darüber eingerichtet werden. Also Drucker (ein einfacher Canon Pixma iP3000) an den einen der USB-Ports gesteckt, und siehe da, er wurde direkt vom ASUS Router erkannt. Soweit so gut.

Nur wie kann man nun darüber drucken? Unter Windows aber auch unter Linux? Für Windows gibt es zwar von ASUS die Wireless Utilities, aber irgendwie mag ich keine Zusatzsoftware. Und unter Linux gibt es natürlich die Wireless Utilities nicht. Die automatische Druckererkennung/-suche führte weder unter Windows noch unter Ubuntu zum Erfolg. Also selbst ein wenig recherchiert und ausprobiert, und für Windows 7 wie auch für Ubuntu/Linux eine Lösung gefunden. Diese habe ich nun auch direkt im Tutorial "ASUS RT-N56U und Netzwerkdrucker unter Ubuntu Linux oder Windows 7" beschrieben. Ich hoffe, es hilft dem ein oder anderen weiter.