D Programming Language – How To Install on Raspberry Pi 3

These are my notes on how to install a D Programming Language compiler along with it’s package management tool Dub and how to set-up a first “Hello World” project on a Raspberry PI running Raspbian. I’ve chosen the GDC compiler due to its comprehensive architecture support (https://wiki.dlang.org/Compilers#Comparison), and ease of install: sudo apt-get install -y […]

PHP 7 Object Properties Type Safety with Setters and Getters

PHP 7 introduces scalar type definitions: your function parameters can be of a given type, and function return type declarations ensuring your function will return results of a given data type. This can increase your code quality by enforcing a specific behaviour of your code, almost similar to how a strongly typed language does. However, […]

Installing CodeIgniter – Step by step guide

Below is a minimal step by step guide on installing CodeIgniter 2.1.4. The assumptions are that your using either Ubuntu or Debian, with a GIT + Apache + PHP + MySQL stack available. Step 1: Clone the CodeIgniter repository CodeIgniter is available either as a compressed tarball, or as a git repository. The latter is […]

PHP 7 Type Safe Arrays

Here is an example of how to create type safe lists in PHP 7. Influenced by Java Generics, this approach lets your code guarantee the type of data you can store and retrieve from arrays. To change the type of objects stored in the list, update the second line of code. To change it to […]

Free Open Source Alternative to PaperTrail App

Webtail is an Open Source tool I wrote, for tailing files on multiple servers and displaying content in a browser in real time. Using an agent on each server, it can be used for tailing logs and pushing new lines to a server and distributing content to browsers. Source code and install instructions can be […]

Write your own Pinterest like Image Gallery using jQuery Wookmark and Symfony2

This article provides a quick tutorial on how to write your own Pinterest like Image Gallery using the jQuery Wookmark Plugin and Symfony2. Assuming you already created a Symfony2 Bundle and image files are stored on disk, below are the steps to follow for writing a new Controller and Twig template. WookmarkController (/Controller/WookmarkController.php) NOTE: Requires the Finder […]