OS X 10.12.2 update causing ssh problems

Submitted by nicolas on Tue, 12/20/2016 - 09:33

On Tuesday, 13th of December Apple released OS X 10.12.2, as a security update. If you want to read more on the security problems with filevault that got fixed, read this article.

Since updating my computer, I was having problems with my ssh connections. Every time I connected, I had to fill in my passphrase. Very annoying, indeed. After some googling and trial and error, I found a solutiion.

Blog category:


Vagrant error

Submitted by nicolas on Mon, 11/10/2014 - 09:10

Since a year, I am not so fond of setting up a development stack directly on my laptop (MAMP, direct install, XAMPP,...). Instead I use vagrant, it will run a headless virtual machine that I can configure as I wish. And the good thing is, I can have as much of these boxes as I want.

But even with this setup you can run into problems from time to time. As I never had this problem before, I want to document it here.

Today while starting a vagrant box, I ran into the following error:

Blog category:


EHL Hockey fun

Submitted by nicolas on Sat, 04/19/2014 - 10:53

At the EHL (European Hockey League) KO16, I was making some pictures. At home I noticed I shot some pictures in burst mode. Putting them one after the other, they make a tiny stop motion movie. That's when it crossed my mind to try and make an animated gif.

Here's an animated gif of Florent Van Aubel entertaining the D-side.

Blog category:

Extending the entity registration module

Submitted by nicolas on Tue, 11/12/2013 - 17:23

Entity registration module

The Entity Registration module is a nice module for allowing and tracking user registrations on any entity. It even has some nice extras: you can restrict the number of people that can sign up, integrate with drupal commerce for fee-based signups,...

Extra requirements

As part of a project I was asked to deliver an event signup system. A lot of the functionality was already provided by the entity registration module, but some parts were missing:

Blog category:


Drupal weird urls

Submitted by nicolas on Thu, 12/06/2012 - 09:40

I was working on a site, and suddenly saw that the urls were a bit funky. At the end of each url I found some hash, like this:


At first I wanted to know what was causing this. I googled it, but couldn't find anything drupal related. So I started looking into the drupal modules. I searched for hook_init. But this didn't help me. Then I googled again and finally came across this post.

Blog category:

Little Bobby Tables

Submitted by nicolas on Fri, 11/09/2012 - 10:44

Today I stumbled across a comic, I saw before and that still made me laugh. It's one of those great XKCD jokes:

XKCD - Little Bobby Tables

It also reminded me of the drupal security book "Cracking Drupal"

So the thought of today: please write secure code. Do this by taking advantage of the Drupal API, and be sure to sanitize your database inputs.

Blog category:


Connecting drupal to MS SQL Server

Submitted by nicolas on Sat, 07/14/2012 - 16:55


While working for a client I needed to make a connection to Microsoft SQL Server. After investigating I found out there are two options: connecting with a PDO driver (only possible on the windows platform for now) or via an ODBC connection. Today I would like to explain the first option, as I needed some time to find out how to do it and combine all the small pieces.

Blog category:


Installing MariaDB on ubuntu or debian

Submitted by nicolas on Wed, 04/18/2012 - 09:39

Yesterday I was installing a server. I needed a stack to run drupal on top of Ubuntu. Lately I have been playing with NGINX, php-fpm and MariaDB. And since Oracle took over mysql, I wanted to use the more "opensource" version of it, being MariaDB.(By the way, drupal.org is also using MariaDB)

mariadb seal

Blog category:



Subscribe to nicolasleroy.be RSS