Laravel use Memcache instead of MemcacheD

Laravel works out of the box with Memcached. However there’s a difference between the linux programs Memcached and Memcache (without the D). To get Laravel to work with Memcache you…

Read more »

A custom login/register page for Drupal 6

This tutorial explains how to created a single page with a login form an a register form in Drupal6. To accomplish this, we have to go through some concepts first:

Read more »

PHP: check if ‘rijksregisternummer’ is valid.

I couldn’t find a decent PHP function to check the validation of the so called “rijksregisternummer” in Belgium (or “numéro de registre national” in French). I did however find a…

Read more »

DrupalCamp Leuven 2013, a brief Saturday review.

It felt like a Monday morning. After my alarm clock didn’t get off (+ 1 hour), I noticed there was only a train 1 hour later, so instead of arriving…

Read more »

Why is everybody using Disqus?

It’s like a virus these days. Every blog I come across uses Disqus as a comment system (if they don’t use the Facebook comment system). So why shouldn’t you do…

Read more »

Drupalcamp Leuven 2013

A post for the Belgians… Drupalcamp 2013 is about to take place this weekend (september 14+15) in Leuven. The whole event is free, however  you have to register and buying…

Read more »

Laravel 4: pivot table example (attach and detach)

What’s a pivot table? A pivot table is a database table that only exists to serve a many-to-many relationship. Say you have a table “customer” and a table “drinks”. If…

Read more »

Laravel Naming Conventions

Laravel supports the PHP Framework Interop Group naming conventions. You can find them on the PHP-FIG website. In short: Generally database columns are snake_case but property names are camelCase. Eloquent…

Read more »

The jQuery and Javascript code snippets you should learn by heart

While jQuery is a great improvement on classic Javascript, it’s still not perfect. What works in version 1.3 doesn’t automatically work in 1.7 and what works in Firefox, doesn’t automatically…

Read more »

Location of the fonts in Ubuntu

Most fonts are located in /usr/share/fonts But there isn’t just one folder. You can find the location of all the font folders in /etc/fonts/fonts.conf You can save custom fonts in…

Read more »