geekmonkey

Programming · Research · Technology

  • Home
Optimizing PostgreSQL queries using pg_stat_statements
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.

  • Fabian Becker
    Fabian Becker
2 min read
Deploying your Rails 5 apps to Dokku - Part 1
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 to: Set up

  • Fabian Becker
    Fabian Becker
4 min read
Using layouts with jade in express.js

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 is the default

  • Fabian Becker
    Fabian Becker
1 min read
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

  • Fabian Becker
    Fabian Becker
1 min read
Automatically create Annotations for your Feeds in Piwik
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

  • Fabian Becker
    Fabian Becker
2 min read
Annotations and Page Overlay in Piwik 1.10
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 October 2012, with

  • Fabian Becker
    Fabian Becker
4 min read
The anatomy of an exploit
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 from this attack

  • Fabian Becker
    Fabian Becker
5 min read
PHP 5.5 Generators
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 Wikipedia has to

  • Fabian Becker
    Fabian Becker
4 min read
Baking a Pi for Google Go
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 experimental language to

  • Fabian Becker
    Fabian Becker
3 min read
Building mruby on the Raspberry Pi
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 to 512 MB.

  • Fabian Becker
    Fabian Becker
2 min read
An Introduction to Mini Ruby
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

  • Fabian Becker
    Fabian Becker
3 min read
How to write a Piwik Plugin
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 how to build

  • Fabian Becker
    Fabian Becker
12 min read
Tracking the IPv6 reach of your Website with Piwik
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 website and how

  • Fabian Becker
    Fabian Becker
3 min read
Transitions and GeoIP in Piwik 1.9
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 will tell you

  • Fabian Becker
    Fabian Becker
5 min read
Tracking Visits with Piwik Analytics in Rails
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 individuals have complete

  • Fabian Becker
    Fabian Becker
2 min read
Exception Applications in Rails 3.2
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 occurs. The problem

  • Fabian Becker
    Fabian Becker
3 min read
Introducing Turbolinks for Rails 4.0
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. Turbolinks is already

  • Fabian Becker
    Fabian Becker
4 min read
Using Neo4j with Rails 3.2
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 to Ruby object

  • Fabian Becker
    Fabian Becker
4 min read
A new Date and Time API for JDK 8
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 the current time

  • Fabian Becker
    Fabian Becker
4 min read
Device based website with Rails
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 smartphones, tablets and

  • Fabian Becker
    Fabian Becker
3 min read
Comparison of IDEs for Google Go
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 editing features. Comparison

  • Fabian Becker
    Fabian Becker
4 min read
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

  • Fabian Becker
    Fabian Becker
1 min read
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

  • Fabian Becker
    Fabian Becker
1 min read
Static pages with High Voltage
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 it is perfect

  • Fabian Becker
    Fabian Becker
1 min read
Listing the used fonts of an image in GIMP
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 easy to get

  • Fabian Becker
    Fabian Becker
1 min read
geekmonkey © 2019
Latest Posts Facebook Twitter Ghost