All posts

October 9, 2019

Override JSON serialization of golang type struct

Short code snippet how you can override or extend the JSON serialization of a golang type struct you cannot or don't want to modify
April 10, 2019

Building compact golang docker images

How to utilize multi-stage docker builds and static built golang executables to create compact images
September 1, 2018

Build QMK firmware on gentoo

Step-by-step walkthrough on how to build QMK firmware on gentoo
July 22, 2018

Elm with Webpack in 2 minutes

Quick intro on how to get started with an Elm application integrated into a proper Webpack setup
July 16, 2018

Grafana dashboard integration into slack using hubot

Walkthrough on how to get started on building a custom hubot instance that integrates your Grafana dashboards into your slack workspace
October 19, 2017

Dynamically load protobuf definitions using python modules

Have your protobuf message definitions dynamically loaded in your python script
October 12, 2017

Automated alpine based erlang docker image

How to build a minimalistic docker image for erlang applications based on the alpine base image
August 23, 2016

Building static executables in C++

Find some hints on how to build reusable statically linked C++ binaries with the help of docker
July 27, 2015

Running monodevelop in a docker container

Here you can find some hints on how you can install and run monodevelop in a docker container
July 22, 2015

How to fix or modify gentoo ebuilds

Lately I had to fix some gentoo ebuild package - I describe a few possibilities I found how to do that.
December 14, 2014

god: watch file descriptors

I wrote a tiny extension for god in order to watch the number of open file descriptors of a running process.
December 13, 2014

Running ejabberd in docker using god

See how you can run a god controlled ejabberd instance inside a docker container
February 23, 2014

ejabberd: message archive management (XEP-0313)

I have started implementing an ejabberd module that targets the experimental 'Message Archive Management' (XEP-0313) specification.
February 20, 2014

External ejabberd authentication script

Example on how to use a python script for the external ejabberd authentication mechanism
October 3, 2013

ejabberd cluster setup

Short walkthrough on building a ejabberd clustered setup
June 26, 2013

Get going with vim

Useful plugins and settings you may want to know when using vim for programming
April 21, 2013

Eclipse: Maximum heap size on gentoo

I had some troubles to increase the maximum heap size used by eclipse on my gentoo installation. Read on to see how to solve it.
April 7, 2013

Using distcc with your Raspberry Pi

Using gentoo on your Raspberry Pi may sound like a suboptimal choice considering the awful long compile times. To speed things up you can setup your main workstation to serve as a distcc build server.
January 16, 2013

Writing an ejabberd HTTP module

Small introduction on how to write a custom HTTP module for ejabberd
January 13, 2013

SharpXml - .NET XML serializer written in F#

I have just released the version 1.0 of my .NET XML serializer written in F#. Have a look and give it a try!
December 3, 2012

Using folders in F# projects in Visual Studio

Mysteriously Visual Studio does not allow to add folders to F# projects. However it is perfectly possible to do so anyway.
December 3, 2012

Out reference parameters in F#

Ever wanted to create or override a function with an out parameter in F#? This is how it's done.
November 15, 2012

Conway sequence in haskell

Generating the Conway look-and-say sequence in haskell
November 11, 2012

Raspberry Pi running gentoo

A short installation walkthrough on how to get the Raspberry pi to run gentoo linux
August 16, 2012

F# - Defining an extension method for generic arrays

Ever wondered how to write an extension method for arrays in F#? This is how it can be done...
August 9, 2012

99 scala problems - part 1

First part of a possibly longer series on solving 99 problems in scala
July 17, 2012

Scala: Project Euler problem 20

Project Euler problem - the twentieth
July 17, 2012

Scala: Project Euler problem 16

The solution of the 16. problem from Project Euler
July 17, 2012

Scala: Project Euler problem 6

Another Project Euler solution - number 6 this time
July 17, 2012

Scala: Project Euler problem 2

The solution of the second problem from Project Euler
July 17, 2012

Scala: Project Euler problem 1

Solution of the first problem of Project Euler written in Scala
June 7, 2012

Git: various tips

Find a few tips for git I picked up lately/over time.
June 7, 2012

F# - Compiling lambda expressions

Ever tried to compile a lambda expression in F# into an internal delegate type? Well, if you actually did you will know it does not work as you probably would expect.
May 6, 2012

F# - Static generic classes

How to construct static generic classes in F#.
May 6, 2012

F# - Singleton pattern

Implementing the singleton pattern in F#.
February 6, 2012

WPF - using an ObjectDataProvider

Since I always forget how to properly implement an ObjectDataProvider in WPF I will give a short explanation.
February 4, 2012

F# - implementing an observable object

In case you want to have an observable object in F# for example to use it in a WPF application this is a convenient way to implement such thing.
January 12, 2012

Haskell: Project Euler problem 2

The next post in the upcoming Project Euler series
January 12, 2012

Haskell: Project Euler problem 1

Solution of the first problem of Project Euler
December 1, 2011

Hakyll: static website generator in Haskell

As a part of my latest interest in functional programming and Haskell in particular, I switched my blog from rstblog to Hakyll.
November 22, 2011

Using WPF with F#

I just recently tried to build a small WPF application in F# and although Visual Studio 2010 does not provide great support for WPF in concerns of F# the experience was not as bad as expected.
November 7, 2011

Haskell: using ghci with Console2

For all you haskell programmers out there having or choosing to use windows, using Console2 is a great way to improve the ghci experience.
October 28, 2011

Haskell - getting my feet wet

Get a small impression about my ongoing learnings on functional programming. This time I am looking into Haskell!
October 18, 2011

F# - Playing Hangman

Today I tried to program the simple game "Hangman" in F# in order to get more comfortable with the functional programming style and with F# itself.
October 17, 2011

Starting with Erlang

As part of my current interest in functional programming I took a quick look at programming in Erlang.
October 16, 2011

Git: Delete a remote tag

It does not happen that often but in case you want to get rid of a git tag on a remote...
October 15, 2011

Determine SQLServer version via query

Here is how you can find out the version of your SQLServer with a query.
October 9, 2011

Console2 - the better command prompt

How to setup console2 to be an awesome cmd.exe replacement.
October 6, 2011

WPF: Use a resource image from XAML

I always forget how to use a resource image file in a XAML file - here is how it's done.
October 6, 2011

WPF: How to catch unhandled exceptions

In order to catch unhandled exceptions in WPF applications you are not able to hook into the event you are used to in WinForms - now there are even two events you can listen to.
October 3, 2011

Vagrant - console wrapper for VirtualBox

Vagrant is a nice and convenient tool to dynamically build configurable, lightweight and portable virtual machines using Oracle's VirtualBox.
October 3, 2011

RVM - ruby version manager

RVM is a pretty convenient ruby version manager that enables easy management of parallel ruby environments.
September 29, 2011

Vim emulator plugin for Visual Studio 2010: VsVim

For all you vim fanatics who want to have vim-like editing experience in your Visual Studio, there is a great solution waiting for you: VsVim
September 24, 2011

CSV export in T-SQL

Because I always forget how to export data from the SQLServer into a CSV file I will post it up here.
September 24, 2011

Inspect an open transaction in SQLServer

There is a handy command to inspect an open transaction running in a Microsoft SQLServer.
September 15, 2011

New blog engine

Once in a while it's time for a new blog (engine)
May 31, 2010

space.vim - smart space key for vim

I just happened to stumble over a really nice vim plugin called 'space.vim' that turns the space key into a clever action key.
May 31, 2010

Read time stamp counter in C

Ever wanted to get hold of the RDTSC? This is how I got it done in C.
May 29, 2010

Unzipping without path structure

Ever wanted to unzip files from a zip archive without wanting to extract the directory structure?
May 20, 2010

Vim - visual search

I recently came up with a small function to search for visually selected words in vim.
May 20, 2010

Changing X11 resolution on-the-fly

Changing X11 resolution on-the-fly without restarting the Xserver
April 18, 2009

Site of the moment: github

Time to get into social coding with git: join
April 18, 2009

Random vim hints

I just picked some random vim stuff you might find useful
April 17, 2009

dwm - incredible tiling wm

dwm is a dynamic tiled window manager for X11
December 20, 2007

Clean your system with udept

In order to clean up your portage-installed packages there is a great tool called udept