I read a lot of news from the 20 min online website using the 20 min online .ch app for iOS. Every now and then, people start commenting the articles (and leave behind a lot of silly comments). My goal was to get the URL where this data (the comments) is loaded from (for some… Continue reading Reverse engineer an iOS App with Wireshark
Category: Software
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
Debain: run script on startup
http://www.debian-administration.org/articles/28
Add tools.jar to maven repository
A way to fix the following error: 6/23/12 1:50:22 PM CEST: Missing artifact com.sun:tools:jar:1.4.2:compile The tools.jar is part of all JDK’s and therefore there is no need to fetch this dependency from any repo. Therefore the easiest thing is to add this jar to the local repository. Locate the tools.jar in the JDK and run… Continue reading Add tools.jar to maven repository
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.
Comprehensive tomcat installation how to
find it here
persitsing an interface type with JPA
Consider this scenario. You have several classes implementing the same interface and you’d like to persist this interface type within an entity. The JPA is not able to handle that, but there is a workaround! Lets make an example: A Plate (entity) has the attribute of type Fruit (interface). The apple, orange and the banana… Continue reading persitsing an interface type with JPA
Link OpenCV projects in OSX using gcc
After getting the OpenCV using mac port I ran into trouble linking projects using the OpenCV functionalities. Using linux, it is as easy as setting the “-lcv” linker flag. Using OSX, I was only successfull when the library paths are returned by the pkg-config utility. You can run the command without the back ticks, and copy… Continue reading Link OpenCV projects in OSX using gcc
Link OpenCV projects in OSX using gcc
After getting the OpenCV using mac port I ran into trouble linking projects using the OpenCV functionalities. Using linux, it is as easy as setting the “-lcv” linker flag. Using OSX, I was only successfull when the library paths are returned by the pkg-config utility. You can run the command without the back ticks, and copy… Continue reading Link OpenCV projects in OSX using gcc
Enter special characters using the US keyboard layout
The problem: I am using the US keyboard layout on all my laptops (lot of stuff is better acessible). The problem emerge if you have to do some corresponce for your daily business and need the special chars of the german language. To make these caracters accessible by shortcuts, do the following: change your keboard… Continue reading Enter special characters using the US keyboard layout