Here I will publish some tutorials, php-snippets and smaller projects from time to time.
This is a small program that turn NUM on/off when you plug your external keyboard in/out.
It was designed for laptops without a NUM-pad where you want NUM off when no external keyboard is connected and on when one
This tutorial offers a function which generates a gradient image. You can specify width, height
and the color of the four corners. A useful snippet to generate shadow or light-effects dynamically.
This snippet calculates start and end of DST (Daylight saving time) of a given year.
This function checks whether a given year is a leap year.
There are more Tutorials on my German website.