get sun java on debian based system

just type: sudo add-apt-repository “deb hardy main multiverse” sudo add-apt-repository “deb hardy-updates main multiverse” sudo add-apt-repository “deb lucid partner” sudo apt-get update sudo apt-get install sun-java6-jdk

xsl transform template for php5

// path to the xml document (may be url) $xml = “data.xml”; // path to the xsl document (may be url) $xsl = “transformation.xsl”; $xslDoc = new DOMDocument(); $xslDoc->load($xsl); $xmlDoc = new DOMDocument(); $xmlDoc->load($xml); $proc = new XSLTProcessor(); $proc->importStylesheet($xslDoc); echo $proc->transformToXML($xmlDoc);

Stress-testing your website or put your website under siege

Sometimes one just want to check the stability of a web application under heavy load to check whether all ressources are sufficient or just for finding the limits of a webserver. This especially applies if you have some fancy backend calls assoiated with a HTTP request. A small Linux utility named “siege” helps you make… Continue reading Stress-testing your website or put your website under siege

Motorized kickboard

How to pimp a kickboard? Take a two ps two stroke motor from a handy lawn-mower and some pieces of metal and welde it all together… Did it work? Well no. The conversion from the motor to the axis of the small rear-wheel was not done thoughtfully. The motor is fast but not powerful, therefore… Continue reading Motorized kickboard

Categorized as Hardware

WordPress installed, blog opened

My first blog entry. Just managed to install wordrpess. It is not that easy as they claim… For mobile blogging, they provide a iPhone application. It requires the actiavtion of RPCs. Not tested yet, but seems to work.