Blog

Chinesischer Pinyin und Deutsche Tastatur unter Windows – Chinese Pinyin and German Keyboard

Ich habe die Idee von Jason Frazier aufgegriffen und eine Deutsche Tastatur mit Pinyin Eingabemöglichkeit erstellt.

Durch drücken einer der Nummern-Tasten 1-4 (für die Laute 1-4) und eines Buchstaben (a, e, i, o, u, ü) wird daraus der Pinyin Laut
Durch drücken der Nummern-Taste 2 mal, erhält man die Zahl.

=> 1 und e = ē
=> 2 und a = á
=> 3 und o = ǒ
=> 4 und i = ì
=> 1 und 1 = 1

Die Tastatur muss zuerst installiert werden:
Download Pinyin Tastatur Treiber
Für ein Kurze Anleitung wie man die Tastatur dann auswählt möcht ich auf die Seite von Jason Frazier verweisen.

Alternativ kann auch das Keyboard-Layout in den “Microsoft Keyboard Layout Creator” geladen werden und von dort installiert werden.
Download Pinyin Keyboard Layout

JavaFX Games: Q*Bert (QBert) and Sokoban

I just attended a JavaFX university class, which got me motivated to create 2 JavaFX Games:

Q*Bert

Sokoban
(use page-up / down to change levels, space to restart level)

If someone would like to see the source-code, please leave a comment. :)

Tags: ,

Facebook Connect: Display login button only when not connected to site

Currently i’m testing the features of Facebook Connect and i ran into troubles:

  • how to display the login button only if a user has not connected
  • how to display the image only if a user has connected

My simplest solution was to add some custom css classes:

  • fb-connecting: when the status of facebook connect is not known. e.g. display a “connecting…” message
  • fb-not-connected: when user is not connected to facebook. e.g. show connect button
  • fb-connected: when user is connected to facebook. e.g. show user picture and name

View the demo page

Read the rest of this entry »

Tags: , ,

CSS Counter Test / Auto numbering your google docs headlines with CSS

In the firstplace I did the numbering of the google-docs headlines with css. But the numbering in the google-docs always got messed up after some time, which was caused by:
a) The behaviour of google-docs: It sometimes wraps the headlines in an extra div (which i consider as a bug)
b) Browser limitations of css numbering, if the numbered elements are not all on the same dom level (because of the extra google-docs div)
Read the rest of this entry »

Tags: ,

Detailed report for PHPUnit test results

For my recent university php project we had to create a detailed test-report.
First we had the description of our test-cases in the code and also in a seperate overview-table in some wordfile.
Also the output of the PHPUnit test-results was by far not “enterprise ready”, so i started searching for a better solution.

I stumbeld upon a post from Parth Patil, whose solution was to create an xml-report from PHPUnit and then use this xml to create your own report.

I used his solution, made it PHPUnit 3.4 compatible and also added some Reflection to see my testcase doc-comments in the report. (Note: For the refelection i use the Zend_Framework reflection class)
Read the rest of this entry »

Tags: , ,

jsSO 0.2 released

New updates to jsSO-library:
It now allows calling Server-Side functions.

Go to the jsSO page

Tags: , , ,

Zähler für die Verschrottungsprämie

Habe heute den Zähler für die Verschrottungsprämie fertiggestellt:
weiter zum Zähler

Tags: ,

Auto numbering your google docs headings / headlines

Google-docs-writer is great for collaborating, but it lacks of many features.
At least i created a small bookmarklet to add numbering to all headlines in your document.
Read the rest of this entry »

Tags: ,

jsSO – Flash Shared Objects in Javascript

I just released the initial version of a javascript rtmp/sharedObject client library.

Go to the jsSO page

Tags: , , ,