Blog

Thoughts, tech notes, in-depth articles and walkthroughs.

June 26, 2017 6 mins read
Architecture

Documenting Architecture Decisions

Take a moment and think of a big architectural decision you made in your last project. That one point were you started just with the problem description and had to choose either to go one way to solve it or the other. That was a tough decision to make, right? Now, can you know show me based on what facts, criteria and opinions that decision was made? Who was actually involved in making that decision?

Read more
May 31, 2017 3 mins read
Cloud

Logging Extra Headers with Cloud Foundry

A Cloud Foundry deployment can be configured to log extra HTTP headers on every request to enrich the log messages produced by the gorouters. This is highly useful to add trace headers to all requests going through the Cloud Foundry deployment. As of writing this, there is a configuration option for this feature available in the OpsManager API, but not in the OpsManager UI itself. So to configure the extra headers to log with Cloud Foundry, we’ll need to hop on a shell.

Read more
April 08, 2017 1 mins read
Engineering

Fix Git Line Feeds on Windows Forever

In my day-to-day workflow, I frequently use a cygwin shell on Windows, namely Babun. As you might imagine, shell scripts with Windows line endings \r\n are simply no good at all: $ ./script.sh bash: ./script.sh: /bin/sh^M: bad interpreter: No such file or directory $ ./script.sh ./script.sh: line 2: $'\r': command not found This blog post is a note to my future self to not read through the thousands of answers available on StackOverflow again.

Read more
March 11, 2017 5 mins read
Engineering

Building a Living Style Guide with Brunch

Living style guides are a wonderful way to document and develop living style guides. There are a number of frameworks and frontend build systems that can be used to setup a project for a living style guide. In the meantime I have built quite a number of living style guides and have since found a combination of Brunch and kss-node to be a good fit. This blog post shows how a project for developing a living style guide can be setup.

Read more