Category: Howto

  • ActionScript 2: Copy MovieClips with BitmapData on runtime

    The flash.display.BitmapData class enables you to copy arbitrary movie clips on runtime, e.g. movie clips attached from the library or external loaded images or swf files. Here is a little helper function that does all the magic stuff: import flash.display.BitmapData; /** * @param sourceMovieClip Movie clip to copy * @param targetMovieClip (Empty) movie to past […]

  • Ubuntu 10.04 & PHP 5.3: Setup PDFlib 6 with PECL

    If you want to use the (old) PDFlib 6 (because you have paid for a license), you will get the following error when you try to install the latest pecl pdflib package (version 2.1.8) for PHP 5.3: […] running: make /bin/bash /var/tmp/pear-build-root/pdflib-2.1.8/libtool –mode=compile cc -I. -I/tmp/pear/temp/pdflib -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pdflib-2.1.8/include -I/var/tmp/pear-build-root/pdflib-2.1.8/main -I/tmp/pear/temp/pdflib -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext […]

  • Ubuntu 10.04 & VDR: Setup femon plugin

    The VDR plugin femon adds a DVB status monitor to the OSD that displays signal information and some other parameters of the current selected channel. This plugin is very useful to, e.g. analyze the quality of the DVB signal. The installation is very easy, just use: # sudo apt-get install vdr-plugin-femon # sudo /etc/init.d/vdr restart […]

  • SCORM 1.2 & Opera: Hints to develop SCORM compliant learning content

    Introduction The eLearning standard “SCORM 1.2” defines a JavaScript API to exchange date between the Learning Management (LMS) and the learning content, called Sharable Content Object (SCO) by SCORM. Basically, this API defines a handful JavaScript functions that the LMS has to provide to the SCO to initialize and finish the communication, transfer data, and […]

  • Hibernate & UserType: How to persist JSON objects

    A Hibernate UserType defines a (custom) way how to save Java objects into the database. Basically, it defines how the object is serialized to be persisted in the database and how the object is (re)created from the serialized data stored in the database. Here is a UserType that I’ve written to persist objects of type […]

  • Ubuntu 9.10 & VDR: Setup EPGSearch plugin

    The EPGSearch plugin adds some useful features to your VDR system. Certainly, the most commonly used feature is, that this plugin enables the VDR system to automatically search for programs to record (based on times, channels and/or days). To install the plugin just use: # sudo apt-get install vdr-plugin-epgsearch # sudo /etc/init.d/vdr restart If you […]