PostgreSQL Optimizing PostgreSQL queries using pg_stat_statements Postgres comes with a number of really powerful tools to help analyze query and overall database performance. Here's how I usually go about finding and improving query performance.
Ruby on Rails Deploying your Rails 5 apps to Dokku - Part 1 In this tutorial we will be using a DigitalOcean Droplet to install and run dokku and deploy a Rails app to it. After reading this tutorial, you will be able
Using layouts with jade in express.js Recently I've been working on a side project[^1] of mine and decided to make use of the jade template engine[^2]. Jade provides nice syntax abstraction over HTML and
Java 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
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
Piwik 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
Piwik 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
PHP 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
golang 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
ruby 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
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
Piwik 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
Piwik Tracking the IPv6 reach of your Website with Piwik IPv6 is slowly adapted by ISPs around the globe. If your website is accessible with both IPv4 and IPv6 it might be interesting to see how users are accessing your
Piwik Transitions and GeoIP in Piwik 1.9 I am using Piwik for over three years now and have seen it grown from version 0.4 to todays release of Piwik 1.9. Update to 1.9 Piwik
Ruby on Rails Tracking Visits with Piwik Analytics in Rails Piwik is an open source web analytics tool written in PHP. With the first release in 2007 it quickly gained popularity as it is easy to install and organizations and
Ruby on Rails Exception Applications in Rails 3.2 No Ruby on Rails developer want to see them in production: Exceptions! By default every Rails project comes with two static files that get rendered when an exception in production
Ruby on Rails Introducing Turbolinks for Rails 4.0 David Heinemeier Hansson, creator of Ruby on Rails, recently announced on Twitter that a feature called Turbolinks will ship as default-on in the Gemfile of Ruby on Rails 4.0.
Ruby on Rails Using Neo4j with Rails 3.2 Neo4j is a NoSQL graph database written in Java. This means that you work with nodes and relationships rather than fixed tables with a schema. Nodes can easily be mapped
Java A new Date and Time API for JDK 8 Date and time handling in Java is a somewhat tricky part when you are new to the language. Time can be accessed via the static method System.currentTimeMillis() which returns
Ruby on Rails Device based website with Rails In recent years the multiplicity of devices connected to the internet has increased dramatically. In todays world people do not only surf the web on their desktop computer, there are
eclipse Comparison of IDEs for Google Go Introduction Go 1 was released in March 2012 and has gained some popularity since then. Naturally developers are looking for proper IDEs to support code completion, syntax highlighting and other
eclipse Configuring Eclipse to find the JDK Eclipse sometimes fails to find the JDK as it does not look at the JAVA_HOME environment variable. Most likely you ran into the following error: A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse.
Kotlin Installing the Kotlin Compiler Kotlin is a new statically typed language from JetBrains. JetBrains is known for its popular Java IDE IntelliJ. Kotlin was recently open sourced and the compiler made available through Github. This article will show the steps necessary to build and install the compiler and
Ruby on Rails Static pages with High Voltage Dealing with static pages in Rails will almost always result in creating a special controller with empty actions that just render out some template. This task is so common that
gimp Listing the used fonts of an image in GIMP GIMP uses the .xcf format to store images and layers. While it also stores the meta data of each layer and the fonts used for text layers it is not