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.


Debian VPS

A Virtual private server (VPS) is a server that does not directly exist as a single computer, but is emulated on a computer together with other virtual servers. This means that they are usually cheaper because they share the resources with other servers. The good thing about this is that you (the admin) have (almost) complete access to the server. You can install whatever OS you like and have complete root access, which enables you to change almost everything. In contrast to a hosting arrangement, where you only can host websites.

The reason why I am renting one is so I can play around with it :) It is wonderful fun. During the last couple of months I have set up multiple services on it, which I briefly describe now:


Hello World!

Once again, I’m upgrading my personal website. I think the last version was online for about least 3 years. I don’t really remember. It wasn’t really used anyway. I decided to change the website because I needed a place to post information about one of my projects. And since I was setting up my VPS again, it seemed like the right moment. The decision for the environment fell on WordPress. Mainly because I don’t really care what kind of CMS I use. I just needed a blog/CMS kind of thing, that would make it easy to put information up. WordPress has a big user base and therefore offers a lot of support, plugins and themes. Exactly what is needed if you don’t want to think about this kind of stuff.

I will be using this website for everything I need it to. That means, information about my projects that I want to share with friends, family and the internet. And also the old stuff that was on the older version of this website. In reality this is only the Tetris java applet and the m4Curling java game. I actually plan to finish the latter at some point.

Will I post blog posts? I’m not planning to. That is not what this WordPress installation is for. But that said, I may use this environment here, as an output for ramblings of mine. I distinctively remember a couple of times I just wanted to write something down, and now I have the chance and the tools to do it. That doesn’t mean I will though. Writing is really not my strong suit. I did a couple of posts on a blog on (I think). I may migrate these posts on this website on a later date.

Also I will make a post in the near future (maybe today), about the VPS this website is running on, and explain why and for what I use it.