Robin Glauser


My Blog about Development, Design and my random thoughts.

The Up-Goer Five text editor

Inspired by this xkcd someone created a editor where you can only use the 1000 most used words. The idea is to use this to explain a concept without using words which aren’t in this list. It’s actually quite hard to write down a idea or a concept by only using those words. http://splasho.com/upgoer5/


Design Patterns in PHP

The Github repository domnikl/DesignPatternsPHP has a list of design patterns and their implementation in PHP. It shows the UML diagram for the pattern and explains the purpose of the pattern. AbstractFactory To create series of related or dependent objects without specifying their concrete classes. Usually the created classes all implement the same interface. The client of the abstract factory does not care … Read More


List of really handy and/or useless command line tools

Introduction This is a list of useful command line tools which I often use during my day. For every tool I have listed a example with the parameters and the output of the tool. Example: $ toolname –option=value –other-option Output of toolname when run on my machine. This might not be identical on your installation. apropos With apropos you can … Read More


Setting up Xdebug and PhpStorm with XAMPP for nicer debugging

With xdebug you can set breakpoints in your code, see all defined variable and even change them while running the code. To start we need to download the latest Xdebug version from http://xdebug.org/download.php. You have to choose the right version for your installed php version. If you’re using a newer XAMPP version you should already have this file installed under C:\xampp\php\ext\php_xdebug.dll. Now that … Read More


Vanilla JS – The new trendy Javascript Framework

Vanilla JS is the new trendy framework which is faster than any existing framework on the market. Code ops / sec Vanilla JS document.getElementById(‘test-table’); 12,137,211 Dojo dojo.byId(‘test-table’); 5,443,343 Prototype JS $(‘test-table’) 2,940,734 Ext JS delete Ext.elCache[‘test-table’]; Ext.get(‘test-table’); 997,562 jQuery $jq(‘#test-table’); 350,557 YUI YAHOO.util.Dom.get(‘test-table’); 326,534 MooTools document.id(‘test-table’); 78,802 It is so efficient that most modern browser have included it by default … Read More


Emmet – Write HTML at lightning speed

Are you looking to get faster at writing HTML and CSS? In this case you will love the Emmet toolkit integrated in PhpStorm. It enables you to write for example the following code: ul>li*5 And get the following output by expanding it with the tabulator.  <ul> <li></li> <li></li> <li></li> <li></li> <li></li> </ul> You can also create a HTML5 base template by … Read More


Now available via https!

I’ve bought a SSL certificate so from now on you can connect to my website via https://. The provider of the certificate is alphassl.com and the setup was really fast. On my host cyon.ch I could just send them the certificate and they setup their server to work with it. (https://www.cyon.ch/support/a/127/bietet-cyon-ssl-zertifikate-an) To redirect all requests to https I’ve used the following snippet from article … Read More


Packinglist – Never forget to pack anything in your holidays

On http://www.budgetdirect.com.au/packinglist/ you can create your packing list automatically from some parameters like gender, climate at the destination and how long you’ll be there. This guarantees that you will never forget to pack anything necessary if your as forgetful as I am. The packing list also includes things like health items, electronics and other required documents you may need. http://www.budgetdirect.com.au/packinglist/


10 sites that will help you paring fonts as a developer

As developers we sometimes have a hard time using the right typography for our site. Because we don’t only are not professional typographers and also most of the time don’t have to do graphical stuff it is hard for us to pick the right fonts for the job. However the font combination can make or break the site and with a few … Read More


Lakka – The DIY retro emulation console

Lakka is a lightweight distribution which also runs on the Raspberry Pi and is able to run retro games on your big screen tv. It is able to emulate multiple old console and handhelds like the Game Boy, the Game Boy Advance, the NES, the Nintendo 64 or even the PlayStation. I’ve installed it on my Raspberry Pi 2 but wasn’t able to get the controllers … Read More