In order to set xterm as default terminal emulator for Ubuntu/Unity or IceWM and to make it a bit nicer (appearance and scrolling behaviour), I will give some short tips here. First we need to edit the $HOME/.Xresources file: ! Adjusting the font xterm*faceName: Monospace xterm*faceSize: 11 ! Changing foreground/background color xterm*background: #2B1520 xterm*foreground: …
Continue reading Setup and configure xterm as your default terminal emulator
Author:Carsten König
Creating your personal Python environment using virtualenv
Often you are working on a computer where you do not have the user privileges to install custom Python modules (or software in general). Or you do not want to mess with the operating systems Python environment. Then, sometimes you just want (or have to) install python modules with a specific version, e.g. to get …
Continue reading Creating your personal Python environment using virtualenv
Using Gildas/Class from Python
As many people have been asking me on how to use Gildas/Class from within Python, I’ll try to give a quick tour here. You will need to have Class installed including the Pyclass extension. Before you start the Python script you need to initialize Gildas in the shell. Make also sure it is in your …
Continue reading Using Gildas/Class from Python
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 …
Continue reading Eclipse/Texlipse: bibtex file in different directory
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 …
Continue reading Eclipse/Subversive: DH keypair issues
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: Youtube: http://www.youtube.com/watch?v=TNMjbaimk9g 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), …
Continue reading Python autocompletion in VIM
Linux: use SSH with X11 forwarding and compression for better performance
To get better performance when using X11 forwarding (either with the -X or -Y option) with a SSH connection, one should enable data compression: $ ssh -X -C -c blowfish-cbc,arcfour to avoid enabling compression with each command, one could enable it permanently in the configuration file ($HOME/.ssh/config): Cipher blowfish Ciphers blowfish-cbc,aes128-cbc,3des-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc Compression yes …
Continue reading Linux: use SSH with X11 forwarding and compression for better performance
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 endif
ASUS RT-N56U und Netzwerkdrucker unter Ubuntu Linux oder Windows 7
Um am ASUS RT-N56U Router einen Drucker zu betreiben muss man theoretisch nicht viel tun: Drucker einstecken und am Client PC entsprechend einrichten. Wie letzteres aber ohne die ASUS Wireless Utilities funktioniert (diese gibt es für Linux nicht), will ich hier kurz für Linux (Ubuntu mittels CUPS Web-Interface) und Windows 7 beschreiben. Ubuntu/Linux: Wichtig sind hier …
Continue reading ASUS RT-N56U und Netzwerkdrucker unter Ubuntu Linux oder Windows 7
Unterschied zwischen zwei Datenbanken exportieren
Um mit Selenium Testcases für TYPO3 Extensions erzeugen zu können stellte sich mir die Frage, wie ich möglichst einfach ein umfangreiches Datenbank-Testinventar erstellen kann, ohne alle Tabelleneinträge von Hand anlegen zu müssen. Die Lösung ist dabei recht einfach: Datenbank kopieren Änderungen am Original durchführen Datenbanken vergleichen und Änderungen exportieren Doch wie kommt man an die …
Continue reading Unterschied zwischen zwei Datenbanken exportieren