Ultra Slim Leder Sleeve

Wem sein geliebtes Tablet zu schade für Schmutz und Kratzer ist und nun auf der Suche nach einer passenden Tasche ist, sollte sich den folgenden Beitrag genauer ansehen, in dem wir das Ultra Slim Sleeve von Supremery unter die Lupe nehmen.
Continue reading

Posted in Android, German | Tagged , , , | 1 Comment

Taking a screenshot on Nexus S and Asus Transformer TF300

Authors of tutorials, app reviews, tests etc. know that in many situations it is easier to show configurations or program states simply with an image than with blank text. The Nexus S and Asus Transformer TF300 provide with ICS and built in feature for screenshot capturing. Continue reading

Posted in Allgemein, Android, Microtutorials | Tagged , , , , | Leave a comment

Enable OpenMP Support in Visual Studio 2010

OpenMP offers great opportunities for the implementation of multithreaded processing by simply using some preprocessor directives (C++ Sample). Including the omp.h is not enough to activate the support for OpenMP in your application – single threaded processing will be the result, therefore we have to add the /openmp compiler option (VS 2010)
Continue reading

Posted in Coding, Cpp, German, Microtutorials | Tagged , , , , | Leave a comment

Export Framebufferobject as PNG

With the following few lines of code you can read the framebuffer (OpenGL) of your choice and export it as an image (e.g. PNG). You will the DevIL Library that could be found here

// allocate array (take care about the number if channels >> for RGBA use width * height * 4!)
GLubyte* fboData = (GLubyte *)malloc(sizeof(GLubyte)*windowWidth * windowHeight * 4);

// bind screen buffer or the buffer you want
glBindFramebuffer(GL_FRAMEBUFFER, 0);
glReadPixels(0, 0, windowWidth, windowHeight, GL_RGBA, GL_UNSIGNED_BYTE, fboData);

ILuint imageName;
ilGenImages(1, &imageName);
ilBindImage(imageName);
ilTexImage(windowWidth, windowHeight, 0, 4, IL_RGBA, IL_UNSIGNED_BYTE, fboData);
ilSaveImage((ILstring)"YOURFILENAME.png");
// free DevIL image
ilDeleteImages(1, &imageName);
// free array
free(fboData)

Thanks to Infamous for the hint!

Posted in Coding, English, Microtutorials, OpenGL | Tagged , , , , , , | Leave a comment

Shortcodes in Theme

The macro functionality offered by the wordpress shortcode system can be easily integrated in your theme by using the do_shortcode function provided by WP:

<?php echo do_shortcode($content);?> 

example:

<?php echo do_shortcode('[shortcodetag]'); ?> 
Posted in Coding, Microtutorials, PHP, Web, Wordpress | Tagged , , | Leave a comment

WordPress: Remove shortcodes from excerpt on the front page

Shortcodes offer a great flexibility for including plugins in your content on a certain position, but during the repositioning of the ad blocks using the shortcodes, provided by the adrotate plugin, I got confronted with the following problem:
Continue reading

Posted in Coding, Microtutorials, PHP, Web, Wordpress | Tagged , , , , | 4 Comments

Google Analytics Annotations – Ereignisse markieren

Anlässlich der bevorstehenden Veröffentlichung eines äußerst umfangreichen Artikels von poseidon, wollte ich festellen wie sich dieses Ereignis auf die Besucherstatistiken auswirkt. Änderungen wie diese im Contentbereich aber auch Suchmaschinenoptimierungen, Social Network- oder Werbekampagnen können den Trend der Statistiken stark beeinflussen. Um derartige Ereignisse zeitlich in den Statistiken zu markieren bzw. vermerken stellt Google Analytics das Annotationfeature zur Verfügung.

Continue reading

Posted in Allgemein, Tools, Web, Wordpress | Tagged , , , | Leave a comment

Danbos from around the world

Today I want to share a very surprising discovery  with you which I have made a few days ago. The picture of my little Danbo (Danbos jungle) was admitted to the 40 Beautiful Photographs of Danbo collection by cispme.com. Beside the other very lovely photos, Danbos jungle was chosen as the featured image for this collection :)

If you acquired a taste for my pictures please feel free to check out my photostream on flickR!

Posted in Allgemein, Tools, Web | Tagged , , | Leave a comment

Update a Motorola Milestone from Motorola Firmware to CyanogenMod 7

Since Motorola abandoned the Milestone a long time ago, the only way to enjoy an (almost) up-to-date Android experience is to install a custom ROM. In this post I’ll explain how to root your Milestone, backup your data, install CyanogenMod 7 and restore your data again.

Continue reading

Posted in Android, Microtutorials | Tagged , , , | 617 Comments

Doppelte Kontakte im Adressbuch zusammenführen

Inkonsistente Daten sind Allgmein ein Ärgernis, besonders störend wird es wenn dies in einem alltäglichen Hilfsmittel auftritt, dem eigenen Adressbuch. Angefangen von Bekanntschaften die lediglich über ihren Vornamen bekannt sind bis hin zu zweckmäßigen Analogien bezügl. dem Ursprung der Bekanntschaft kann sich so eine Sammlung von häufig doppelten Einträgen ansammeln. In diesem Artikel wollen wir diese Redundanzen aufspüren und zusammenführen.
Continue reading

Posted in Android, Microtutorials, Tools | Tagged , , , | Leave a comment