Blog

Migrating to Netlify

As you might have noticed, the site looks a bit different. A while back I decided to revamp my blog. While going through everything I drafted in the past year, I noticed some notes …

Read more June 21, 2019

Letsencrypt: nginx reverse proxy

TLS certificates (or SSL certificates) is something lots of people might have wanted, but they rarely were willing to spend their money on it. Since a few days letsencrypt solves …

Read more December 9, 2015

Composer: Use your own fork of a project

When you use composer to gather your dependecies, you might come into a situation where you need to require your fork of a project (until your contribution gets merged). It is …

Read more December 7, 2015

Docker pdfgen

I recently upgraded my full local development environment from phpenv to docker. This allows me to mimic production environments much better and test installations with multiple …

Read more August 12, 2015

CLI speedtest

Preforming speedtest can help you discover network problems. However this is not as simple as opening a website when you are on a cli only server. Thankfully a simple python script …

Read more April 22, 2015

Easy documentation for open-source projects

A few weeks after Clastic’s first alpha release, one of the major requirements was documentation. I looked into the options and found lots of options. I must say I …

Read more March 19, 2015

Squashing commits with rebase

When working with git, you might have the habbit of committing alot, and this is just fine. As long as you clean it up later. Say you have the following history. $ git log --graph …

Read more March 14, 2015

Processing apache and nginx access logs

Lots of tools are available when you need to get some usefull data from your apache access logs. Sadly sometimes you don’t have the time to set them up. Thankfully linux …

Read more March 13, 2015

Multiple PHP versions

Developers need more than one php version on their development machine. This can be a challange from time to time. Options Their are some wel known options in the wild. Like XAMP, …

Read more March 8, 2015

Clastic - Alpha release

For a few weeks I have been working on a new version of Clastic. This time it will be public! Introduction Clastic is a simple backoffice build on symfony. The main goal is to …

Read more February 23, 2015

Install HHVM and NGINX on debian

Facebook recently released hhvm with fast-cgi support. This post will show you how you can set this up yourself. Install hhvm $ echo deb http://dl.hhvm.com/debian wheezy main | tee …

Read more February 23, 2015

Extract exif data using php

I am planning to add a list of useful exif data to my gallery. I searched for some tools and came across phpexiftool. This library is very advanced, but is missing some simplicity. …

Read more February 23, 2015

The pomodoro technique

Since I became technical coach, I get interrupted all the time. Being this by mails, colleagues or your boss. The pomodoro technique should help your productivity. The technique …

Read more February 23, 2015

New blog

I recently create this new blog on top of symfony. I wanted the rebuild my blog because I wanted a more flexible and customizable website. Rebuilding The version at this time is a …

Read more February 23, 2015

VCS for developer

In any software development process developers use version control. If this is not the case you should ask yourself why this is the case and just start using it. I found a nice …

Read more February 23, 2015

Create local wildcard DNS

Some time ago I posted a guide to setup a zero config webserver on mac OSX. As it turns out this will stop working once your OSX version is high enough. Here’s a new way that …

Read more February 23, 2015

Setting up a zero config webserver on mac OSX

If you have lots of projects on your development computer, you know how annoying it is having to configure your apache VirtualHost and changing your hosts file for a dns record. …

Read more February 23, 2015

Some nice to know linux commands

Spending a lot of time in a cli means you will be searching how to get stuff done. Here are some nice commands to monitor folders and files. Find files that contain a string $ find …

Read more February 23, 2015

Migrate SVN to GIT

Our goal is to do a complete conversion of our Subversion repository and end up with a bare Git repository acceptable for sharing with others (privately or publicly). Bare …

Read more February 23, 2015

Setting up a static ip on debian

To configure a static IP (an IP that will never change) in debian you must edit the file /etc/networking/interfaces and do the following changes. Determine the interface you want …

Read more February 23, 2015

Install SOLR multicore on debian

Ever wondered how you can install Apache Solr on a debian server? And on top of that making it multicore? Well wonder no more! Install java $ apt-get install sun-java6-jdk In case …

Read more February 23, 2015

Getting started with git

Git Immersion is a guided tour that walks through the fundamentals of Git, inspired by the premise that to know a thing is to do it. Get started: http://gitimmersion.com.

Read more February 23, 2015

Running your own virtual servers on Mac OSX

As you might already know, I like to experiment with lots of servers. As I don’t have the cash or the resources to make a physical machine for all of them. As most people I …

Read more February 23, 2015

Setup a VPN server to connect to your home network

If you like to access your network from a remote location, you might like to connect to it using vpn. While not the most secure of the VPN solutions out there, PPTP is by far the …

Read more February 23, 2015

Create a webservice for generating pdf's from html

Creating pdf’s from a html page is’t all that fun in PHP. There are some nice classes that help you do this, but is just not it. I will show you how to setup a …

Read more February 23, 2015

How to add a Belgian (non-Apple) keyboard on Mac OSX

As you might have noticed when hooking up a regular keyboard on a mac, some of the buttons are not where they appear to be. Here’s how to fix this. Download Belgian …

Read more February 23, 2015

Enabeling home/end buttons in Terminal

To enable the home and end of line keys in Terminal, you just have to follow these instructions. Go to Terminal Preferences; Open the tab settings; Select your theme; Under …

Read more February 23, 2015

Vim tips & tricks

Vim is a text editor based on vi editor common to Unix-linke systems. It is by far one of the most advanced cli editors. Note that there also are gui implementations. These are …

Read more February 23, 2015

Test your php code before comitting

Using a pre-commit hook to check you code against parse errors. Place this code on your local machine. $ vim GIT_DIR/.git/hooks/pre-commit#!/usr/bin/php <?php // copied from …

Read more February 23, 2015

Deploy your website using git and rsync

Git has a nice hook feature which you can use to do all kinds of nice stuff with. In this example your code will be deployed to the staging/production server when the code is …

Read more February 23, 2015

Install your own git-server

Installing gitolite As always I start with a freshly installed debian installation. Place you public ssh key somewhere on the server. I put it in the tmp folder. It needs to be …

Read more February 23, 2015

Putting Varnish in front of your website

If you have a site with lots of anonymous traffic, Varnish is something you will like. Varnish is a reverse proxy cache. Varnish caching acts like a browser. It act on the header …

Read more February 18, 2015

Installing nginx and php-fpm on debian

Since I started developing in php, I always assumed apache was the best solution as a webserver. But I was always curious to see how some shared hosting offerd the client to choose …

Read more February 18, 2015