Artikel in Kategorie "Programmierung"

Drawing a Yellow Rectangle on Android

As an addendum to my previous article, there now also is an Android App „YellowRectangle“ that draws a yellow rectangle and terminates on the first touch event. It runs on Android version 4.0.3 (Ice Cream Sandwich MR1) and upward. It is written in Java and C++ and uses the Allegro game development library (http://liballeg.org/).

Drawing A Yellow Rectangle

Premise On the weekend i wanted to perform the task of drawing a yellow rectangle programmatically onto the screen of a Personal Computer: The program would feature a viewport that occupies the entirety of the primary display of the PC. On the viewport, 640 pixels could be adressed in width, 480 in height. The viewport […]

xdraw 1.1

I was very pleased to notice that my small Xlib-utility xdraw has made it across the years unscathed. It compiled after 11 years of complete lack of code or build system maintenance. Hail to the stability of the X Library! However, i found the visual quality of the drawing results a bit lacking – the […]

Angepasstes Bootstrap-CSS selbst erstellen

1. NodeJS und npm installieren. Wie das geht, hängt vom Betriebssystem ab. Auf jeden Fall sollte man ein möglichst aktuelles NodeJS verwenden. Ich habe das folgende Verfahren mit v7.8.0 durchgeführt. 2. grunt-cli installieren. ~$ npm install -g grunt-cli 3. Aktuellen (stabilen) Source von bootstrap holen. ~$ git clone https://github.com/twbs/bootstrap.git ~$ cd bootstrap bootstrap$ git checkout […]

Producing salted Password Hashes using the MD5 Algorithm

As an exercise in password storage i implemented a PHP function that takes a UTF-8 encoded Unicode cleartext, generates a random salt and produces a password hash using the MD5 algorithm. Please note that this is just an exercise and should not be used in production. This code has not been properly tested and has […]

Einige Bemerkungen zur neuen Webseite des Verkehrsverbundes Rhein-Neckar GmbH (VRN)

Einleitung Ich bin selbstständiger Web-Entwickler und bin immmer auf der Suche nach interessanten Fallbeispielen, und zwar nicht nur nach den Gelungenen sondern auch nach den Problematischen. Heute möchte ich ein Beispiel für Letztere aus meinem persönlichen Erfahrungsbereich präsentieren. Als zahlender Kunde freut es mich zwar, dass der öffentliche Verkehrsverbund der Region, VRN GmbH sich zu […]

 MyPlayer Update

New: Options for „Autoplay“, „Loop“ and „Shuffle“. TAR Download: http://tk-sls.de/ref/myplayer.dist.tar.gz SVN: svn co svn://tk-sls.de/myplayer (ViewVC) Project Website: http://tk-sls.de/ref/myplayer

Providing XDG Runtime Directories

Introduction The intended audience for this document are application programmers and providers of init-systems for managing features of installations of the GNU/Linux operating system and POSIX-compliant operating systems in general, who are concerned with per-user temporary file management based on the XDG Base Directory Specification, [XDG]. Many applications that follow XDG guidelines and specifications expect […]