Author Archives: admin
Segmentation fault
I experienced that sometimes, web applications partly break with the following apache error log: [Thu Oct 22 11:54:39 2009] [notice] child pid 17157 exit signal Segmentation fault (11) [Thu Oct 22 12:00:06 2009] [notice] child pid 17158 exit signal Segmentation … Continue reading
Import Events into Google Calendar
This is a wrapper class for some Google calendar import methods. Frequently I get a list with lots of dates I’ve to add to the Google calendar. To bad that there is no calendar import function for the Google calendar. … Continue reading
Using Both ondblclick & onclick Handlers
var dblclick = false;function MethodA(){setTimeout(function(){if(dblclick == true){return;}alert(‘MethodA’);},250);}function MethodB(){dblclick = true;alert(‘MethodB’);setTimeout(function(){dblclick = false;},250);} Back from hell after long I post a workaround for the ondblclick and onclick javascript issue: It’s not possible to define both handlers so that the onclick handler … Continue reading
Booting Gentoo from USB Hard Disk
I installed my Gentoo on my internal hard disk. Due to mobility I think about moving my system to a portable USB hard disk. The first idea was to use an initial ram disk image to load the USB drivers … Continue reading
Burning CD/DVD using the Shell
It’s not very difficult to write CD/DVD’s from the linux shell. Here’s is a short summary how to burn CD/DVD’s using mkisofs and cdrecord. First of all, you have to create an ISO image, which you can write onto CD/DVD. … Continue reading
DigitalProductID Decode Algorithm
Every licence key, you give for Microsoft software, creates a DigitalProductID in the Windows registry. E.g. you find the digital product id for your Microsoft Windows in your registry: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion The following algorithm shows you howto decode the digital … Continue reading
Gentoo, Gnome & Vmware Trouble
After another world-update (Vmware Workstation 5.5.3 build-34685, D-Bus Message Bus Daemon 1.0.2) I got the following errors when I try to start vmware: workstation1@ws1 /usr/local/bin $ /opt/vmware/workstation/bin/vmware /opt/vmware/workstation/lib/bin/vmware: /opt/vmware/workstation/lib/lib/libpng12.so.0/libpng12.so.0: no version information available (required by /usr/lib/libcairo.so.2) process 1777: Attempt … Continue reading
PHP Upload Script with Progress Bar
Introduction If you want to upload some files through a web interface using PHP, you might use a classic POST method to push the data to the action script. If you choose your file and submit the HTML form, the … Continue reading