Restart tomcat (the rude way)

To restart tomcat, fill the following two lines in a .sh file and make it executable (chmod +x [filename]): killall -s 9 java /[tomcat installation folder]/bin/startup.sh Warning: It kills all other java processes as well!

Use ETH SMS service for sending texts abroad

The following simple website demonstratates how to send texts using the free SMS service of the ETH (you need to be member of). The core task of the website is to send a HTTP post request to the following website: https://www.sms.ethz.ch/cgi-bin/sms/send.pl The documentation is found here: https://www.sms.ethz.ch/sms/simpledescription.htm The header data consists out of your ETH… Continue reading Use ETH SMS service for sending texts abroad

get sun java on debian based system

just type: sudo add-apt-repository “deb http://archive.ubuntu.com/ubuntu hardy main multiverse” sudo add-apt-repository “deb http://archive.ubuntu.com/ubuntu hardy-updates main multiverse” sudo add-apt-repository “deb http://archive.canonical.com/ 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

Published
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.