• Manuel Strehl
    Overwrite PHP’s built-in functions in unit tests
    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.
  • Manuel Strehl
    Minimal contents of a .git folder
    What does a minimal usable .git folder looks like? Let’s see.
  • Manuel Strehl
    A Makefile Rule for Generating Responsive Images from SVG
    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, target@2.png, is rendered with twice the solution to fit for Retina displays.
  • Manuel Strehl
    Page Layout Experiment
    This small experiment allows to try out interactively the so-called Gutenberg canon for page layout on different page sizes.
  • Manuel Strehl
    Load jQuery before RequireJS and still use it as dependency
    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.
  1. Start
  2. 1
  3. 2
  4. 3
  5. 4
  6. End