Welcome to Boldewyn’s little patch on the web!
Overwrite PHP’s built-in functions in unit tests
4 Mar 2014
In unit tests you might run in problems, when your code uses PHP built-in functions, that emit certain hard-coded values like
session_start(). When you use PHP namespaces, however, you can solve this problem in an elegant way.
Minimal contents of a .git folder
2 Dec 2013
What does a minimal usable .git folder looks like? Let’s see.
A Makefile Rule for Generating Responsive Images from SVG
8 Feb 2013
This rule takes an SVG file as input and returns two PNGs. One is rendered with 72 dpi, which maps 1 SVG pixel to one output pixel. The other,
email@example.com, is rendered with twice the solution to fit for Retina displays.
Page Layout Experiment
7 Feb 2013
This small experiment allows to try out interactively the so-called Gutenberg canon for page layout on different page sizes.
Load jQuery before RequireJS and still use it as dependency
23 Nov 2012
If you use RequireJS and jQuery in a project, you might find yourself in a situation, where you embed jQuery before RequireJS, but still need to have the “jquery” dependency respected. This article describes, how to achieve this.
8 Mar 2012
In January 2011 a user at StackOverflow asked, if he should start learning HTML5 / CSS 3 or begin with the older versions. In quite a length I answered the question by explaining my way to web development over the years. I think, that the answer might serve others well, too, who seek a way to start with web development. Since the original question was just recently closed as “not constructive”, I’m putting the answer here for others to read.
Reverse Ordered Lists with CSS
6 Dec 2011
A Suggestion for Replacing the Gregorian Calendar
21 Aug 2011
In 2009 Tantek Çelik published a draft of a new calendar with 5-day-weeks solving issues with the Gregorian one. I am not convinced, that this is a useful way to re-structure the calendar. Back in the days we set up a calendar for our RPG world together with Sebastian Gerstl and Markus Biedermann, which makes transition much smoother. We came up with this concept:
Rolling Releases are the Future
16 Aug 2011
The Mozilla developers have received some critics for their decision to remove the version number from future Firefox releases. Many other open source projects, like GIMP, are speeding up their release cycles as well, al…
About Attribution of my Works
4 Jul 2011
The question came up quite regularly in the past, what would be an appropriate way to attribute me when using one of the CC-released works. Unfortunately the Creative Commons License itself proves to be no real help here. The license text (as of version 3.0) says: