Renting a bike in Taipei is pretty east, yet I could not find any helpful information in the internet. Taiwanese people are passionate about cycling and I am sure that it is an emerging sport and tourist attraction in Taiwan. Therefore I wanted to try it myself and explore the country by bicycle. Giant is… Continue reading Rent a bike in Taipei
Blog
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
LED based lighting at home? Yes!
When I was looking for some lamps for my new home I noticed, that barely no LED based lighting products are available for serious lightning at home. Those available seem to be more like decoration. Therefore I ordered a LED panel in the internet. It has 600 LEDs and the color temperature is 3000 K.… Continue reading LED based lighting at home? Yes!
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
Slashdot Article Ad Fail
Something I was laughing about recently
Simple OpenCV video input/output sample
This short piece of code below captures a frame from a web cam and shows it in a window. Some simple transformations can be applied. #include #include int main(void) { //we assume, that there is only one camera CvCapture* capture= cvCaptureFromCAM(-1); IplImage* img; int loop; while(loop++width; int height = img->height; int nchannels = img->nChannels; int… Continue reading Simple OpenCV video input/output sample
Set URL of Tomcat Webapplication to ROOT in Eclipse
When you create a Dynamic Web Application in Eclipse and run it on Tomcat, the Website will be available trought http://localhost:8080/[PROJECT_NAME]. To “move” the application in the root (making it accessible on http://localhost:8080), go into the project’s properties, go to “Web Project Settings” and just enter “/” in the Context Root textbox. Done.