Play Snake while a youtube video is loading

When you see the youtube loading circle, make sure the focus is on the flashplayer (click it if not) and hit any arrow-key, and enjoy a game of snake.

Published
Categorized as Fun

That’s how to drink coffee

I won a voucher for a mug with an arbitrary printing and as a “The Office” fan, the decision was easy. Et voilà (inspired by the original): Some more:

My first open source project

I recently released my old, long-term project called survey-rocket (a simple online survey tool) to google code. I started to refactor the code to make it more readable and maintainable. Although I invested many hours, there is still a long way to go until it can be considered good code. Basically I used this project… Continue reading My first open source project

Speed up your website served by apache httpd in 2 mins

Slow website? Have you tried turning on file compression? If not, this tweak can speed up your website in an instant. The apache documentation of the mod_deflate is one way to go. Add the following piece of configuration (that I have just copy-pasted from the apache docs website) to your virtual host config (it requires… Continue reading Speed up your website served by apache httpd in 2 mins

Published
Categorized as Web Tagged

zhongtan lu / 中潭路 – now and then

Back in Shanghai and in zhongtan road in April 2012, I was wondering if and how it changed… Lot of things changed. The buildings got renovated, restaurants got refurnished, a Starbucks moved in. The site could be in any other western city. The only constant seems to be the beloved street food, found after sunset at… Continue reading zhongtan lu / 中潭路 – now and then

captcha protect your website using Apache’s mod_rewrite to expel Google, Facebook and Co.

Problem: Yor website has three sources of traffic: SOMEONE: people browsing the web you don’t know FRIENDS: your friends MACHINES: search engines, facebook (when a link is posted, the content of the link is fetched by Facebook), etc. You want that your FRIENDS have full access to your website, whereas MACHINES should not. The SOMEONEs… Continue reading captcha protect your website using Apache’s mod_rewrite to expel Google, Facebook and Co.