KSH basics

Just for the guys who keep forgetting about the simplest commands in korn shell (like me…) www.well.ox.ac.uk/~johnb/comp/unix/ksh.html

postgreSQL - Dynamic SQL in trigger-functions for table audit

The problem For a college project I tried to create a pl/pgsql trigger function, which should be invoked by a trigger and then saves the unaltered dataset to an audit table. This task alone is no rocket science and therefore boring. I would have to create a trigger, a trigger function and a log table per auditing table and call the function on ervery update or delete. Instead I aimed for this solution:

... and now for something completely different

recently a good friend of mine started to blog. He was so kind to refer to my blog, so will I. Stefan writes about his daily life, professional Java development and tools and coffee. The last part might be exaggerated, but he should write about coffee. Everyone should. So please have a look: aza-net.blogspot.com

Backspace in Firefox and Linux

Anyone who is used to firefox under windows (and probably mac) is also used to the backspace key. under windows, firefox will go one page backwards if you hit backspace. Under Linux if you hit backspace, there happens… nothing. Which is disgusting. I found a website (german) which describes how to change the behavior: Type in your adress bar: “about:config” Confirm the warning: Search for “Backspace”: Alter “browser.

How to install HandBrake on Ubuntu 11.10

If not already happened: Install the synaptic package manager (search for synaptic in the Ubuntu software center) Download this package according to your architecture. If you are not sure which architecture you need, try amd64 or i386. This are the two most used architectures. Install the package by double clicking. Open a terminal and execute sudo add-apt-repository ppa:stebbins/handbrake-releases Open synaptics package manager, go to preferences / package sources / other software.

Ubuntu 11.10 + Lenovo Ideapad Z370

Two days ago I’ve updated Ubuntu to 11.10 and it worked well. I started from scratch, so I won’t have to deal with “old” problems: Here is my setup: Plain vanilla Lenovo Z370 Harddrive was replaced by a 60 Gb Sata2 SSD Ubuntu 11.10 (Desktop edition) I installed the IdeaPad Driver Package (get it here) to get rid of a lot of the “Keycode 240” On the pro side:

New task: Get my sd-card reader working...

New task of the day: Get my sd-card reader in my laptop working. My Lenovo IdeaPad is nice and everything but sometimes there are some annoying things. Like a not working sd-card reader. There absolut no reaction on Ubuntu if I insert a sd-card… Maybe, I will find out :-) Update: rmmod ehci_hcd doesn’t work echo "usb-storage" >> /etc/modules; modprobe usb-storage was promising, but doesn’t work either What do I know?

Slideshow2 Vertical Alignment

To update my last post, this solution worked for me: On the Slideshow2 homepage is an working example with vertical alignment. So I downloaded exactly this version of the slideshow2.js and the according mootools and tadaa! It works. It seems that the current version simply is not capable of vertical scrolling. A single drawback is still there: The option “resize” doesn’t work. But as long as you can live with that, the slideshow2 V1.

Slideshow2 - Vertical alignment

I was looking for a javascript gallery plugin for a website I maintain. After I checked two or three plugins (incl. galleria) I decided that Slideshow2 is the tool, I’ll use. One of the big points in my decision for Slideshow2 was the simple integration of a vertical thumbnail list. I tried it in galleria as well but failed. With Slideshow2 everything went well. Download the package, edit the file like specified and voilá you’ve got an vertical thumbnail list.