Category Archives: Software

Everything related to the non-physical digital world.

bash Tips & Tricks

Bourne Again Shell. bash magic Some handy bash magic. sudo last command If you forgot sudo after executing your 3-lines-command, sudo bang! bang! will repeat the last entered command with sudo prefixed. More parameter magic bang Expands to !$ last argument of previous command !$:p just show last argument of previous command, don’t add to… Read More: bash Tips & Tricks »

event.d/init.d script

event.d script This is an event.d-script for the new Ubuntu Upstart. The event gets started/respawned on runlevels 2-5. If you change to level 0, 1 or 6, the process gets stopped/killed.Manual start/stop works through the same commands start and stop. With status you can check the status. init.d script This does the same using the… Read More: event.d/init.d script »

eZPublish templates in Eclipse

Syntax-highlighting and Code-completion With the Smile eZ Publish-plugin for Eclipse, there is syntax highlighting and code-completion for eZ Publish-templates. But this only works if you open the .tpl-files out of a project. If not already set, at the configuration page Window → Preferences… → General → Editors → File Associations → *.tpl select Open With…… Read More: eZPublish templates in Eclipse »

Dr. Kaiser PcConsole

Homepage: http://www.dr-kaiser.eu/ To make locking the workstation impossible, kill PdsLspSv.exe in Task Manager. HKLM\SYSTEM\CurrentControlSet\Services\PdsLsp\Flags This value controls locking Internet upon bootup (only, if the LehrerConsole isn’t working).

Swing apps show garbled backgrounds

This may have to do with a damaged OpenGL pipeline. Play around with the following parameters: If you found the correct combination, set it as environment variable _JAVA_OPTIONS.