Gitlab Webhook in PHP

I started using Gitlab a while ago, and wanted to use the Webhook feature to automatically update the website I was working on when the master branch was updated.

I looked for an easy solution on the internet, but didn’t find anything that worked out of the box. Finally I came up with this code, that worked for me.


Cross compile for Raspbian on Ubuntu (Eclipse)

For a project I’m working on, I’m developing a C++ application on the Raspberry Pi (Raspbian “wheezy”). I started working directly on the Rasppi but soon enough the compilation took really long to the point it wasn’t comfortable for me any more. So I decided to try to cross compile on my virtual Ubuntu on my computer. At the end this worked out pretty great, and I’m happy with the solution. I’m using Eclipse CDT as the IDE, which I’m not entirely happy about.