Using layouts with jade in express.js

Recently I've been working on a side project of mine and decided to make use of the jade template engine. Jade provides nice syntax abstraction over HTML and is the default template engine for express.js. Previous versions of jade/express allowed for automatically loading a layout file for all ... »

Migrating from Maven to Gradle

Java has a long history of using XML configurations for everything. If you are like me, you do not enjoy writing or editing XML files as they are almost never human readable. Adding plugins to your Maven pom.xml usually means copying an XML snippet from a page and manually ... »

Automatically create Annotations for your Feeds in Piwik Automatically create Annotations for your Feeds in Piwik

Piwik 1.10 introduced annotations that you can add to all of your graphs. Annotations can help you in understanding your traffic and mark relevant dates that can explain traffic peaks. Piwik's simple plugin API allows developers to build and add new features easily to Piwik. FeedAnnotation New articles on ... »

Annotations and Page Overlay in Piwik 1.10 Annotations and Page Overlay in Piwik 1.10

Piwik 1.10 is about to be released and it is time to take a look at the new major features coming with it. Version 1.9 was released in October 2012, with the latest patch 1.9.2 on November 27th. Since then the developers have implemented incredible new ... »

The anatomy of an exploit The anatomy of an exploit

On the 26th of November 2012 the downloadable archive of Piwik 1.9.2 was compromised for a about eight hours. There are a few things that we can learn from this attack and conclusions we can draw to mitigate or even prevent this in the future. Attack analysis The ... »

PHP 5.5 Generators PHP 5.5 Generators

Among the new features that will be introduced in PHP 5.5, the probably most exiting one is the concept of generators. What are Generators? Lets first look at what Wikipedia has to say about generators: In computer science, a generator is a special routine that can be used to ... »

Baking a Pi for Google Go Baking a Pi for Google Go

No that is not a typo in the title! Google Go was first released to the wild in 2009, exactly three years ago. Since then it has grown from an experimental language to production ready language with Go 1. Go is available on all big platforms and architectures, be it ... »

Building mruby on the Raspberry Pi Building mruby on the Raspberry Pi

The Raspberry Pi is a credit-card sized computer with 700 MHz (can be overclocked to about 1.1 GHz) and originally 256 MB memory, which has recently received an upgrade to 512 MB. Yukihiro Matz announced mruby in 2011 as Ruby implementation that is easily embeddable into other application and ... »

An Introduction to Mini Ruby An Introduction to Mini Ruby

Ruby is used in a wide variety of projects today, but has gained popularity in web development with Ruby on Rails. With mruby, the latest language implementation, Ruby can be embedded into other applications. Installation The mruby project is hosted on Github. There are currently no binary distributions available, but ... »

How to write a Piwik Plugin How to write a Piwik Plugin

Piwik offers a plugin architecture, that allows you to build plugins without modifying the Piwik core. This article will give an introduction to the Piwik plugin architecture and show you how to build your own plugin. What can a plugin do for me? A plugin can.. ..collect additional data that ... »