A Journey of a Thousand Miles Begins with a Single Step

Skeuomorphic Credit Card Input Validation

Skeuocard progressively enhances credit card inputs to provide a skeuomorphic interface.

Read more

Use usermod and groupmod in Alpine Linux Docker Images

Elastic uses Alpine Linux as base image for their Elasticsearch docker images. Since v5.3.1 there will be no more supported docker images on dockerhub with Debian, it made it necessary to rewrite my docker files for my company. One obstacle is to assign the elasticsearch user to a specific uid and gid on the docker host system.

Read more

Use ruby bundler behind a proxy

How to install the ruby bundler behind a proxy with sudo.

Read more

Delete Elasticsearch documents by query in Version 5

To delete documents from an index has changed in Version 5. A little example how to delete documents in Elasticsearch v5.1.x, how to monitor the status and free up the disk space.

Read more

Aggregations in the Elasticsearch Query DSL

A small example how to count documents in Elasticsearch using the Query DSL Aggregations.

Read more

Use Sonarqube for Code Inspection

Sonarqube is a starting point to find flaws in your source code. This post gives an introduction and demonstrates how to exclude false positives.

Read more

Fix timestamp parse failure in Elasticsearch

If you use logstash to send logs to elasticsearch in JSON format, you may experience a _timestampparsefailure for this date format [24/Jan/2017:09:04:07 +0100]. This date format is often used in the access.log e.g. JBoss EAP. To solve that, just add an additional date format pattern into the index template.

Read more

My first TechRadar

At my team kickoff meeting was a small coding session. The main objective is to create a tech-radar. In short, technology radars are a way to assess and evaluate your current work with your technology ecosystem. This is, in my humble opinion, a mandatory tool for knowing what you have and what you need to accomplish or align to the company’s strategy.

Read more

Check your Raspberry Pi model

If you have a Raspberry Pi cluster and a bunch of them, you may have to add or replace some of them. But there is an easy way to check with the shell which model you have. If you query the CPU information you will receive currently 4 CPUs and at the bottom the hardware and revision number.

Read more