docwhat's avatardocwhat's blog

El Capitan and the evils of OpenSSL

November 03, 2015

Are you having trouble with SSL on El Capitan (OS X 10.11)? Me too. Here are the things I know about it right now: OS X’s OpenSSL is ancient (0.9.8-ish). OS X’s preferred SSL library is SecureTransport which is modern and secure. Some programs compiled with OpenSSL seem to use…

Read More…

Spread your knowledge

April 01, 2015

I found myself trying to figure out how to disable something called NeoComplete (previously known as NeoComplCache ) when editing markdown in Vim. It was colliding with my Markdown stuff pretty badly and had really bad suggestions anyway (I mean, I’m writing text, not code… so…

Read More…

Chef, Puppet, Heat, Juju, Docker, etc.

February 04, 2015

Someone emailed me with this question: I am interested in learning different orchestration mechanisms and would like to understand how they differ. What are the differences between Chef, Puppet, Heat/HOT, Juju, and Docker? When would I use a specific one? There seems to be a lot…

Read More…

Setting your environment in test-kitchen

October 15, 2014

When using test-kitchen it may be necessary to set the environment of your nodes. You can do with by changing your file. In my example, I’ll show it at the root, but they can be set on a per-suite level as well, which is handy to test different environments. For chef-solo…

Read More…

Unindenting HEREDOCs in Ruby

July 29, 2014

This is a bit of code I wanted to save. When using HEREDOCs in Ruby, the operator is handy to keep everything indented in the source. But it doesn’t help with the content of the HEREDOC. Example: In rails, you can do this: There’s a helpful Stack Overflow question on this, in…

Read More…

How to rename a Chef node

April 28, 2014

In Chef the is for human usage. By default it is set to the . Which is annoying for typing. In my network, all hosts have the same domain name. However, we ed this one system without setting the node name with the flag. Therefore I wanted to rename the nodes. With some…

Read More…

Tracebacks in bash

June 29, 2013

I don’t like to write programs in . It’s not a very pretty language. But it has one advantage over a lot of other languages: It’s on your system. Every Unix-like system has ; Redhat, Ubuntu, and even OS X. But bash is still a lousy language. This is where bash tracebacks come…

Read More…

Busting cached 301 redirects in Chrome.

April 18, 2013

The Chrome browser caches HTTP 301 permanent redirects very aggressively. This is normally a good thing, unless you’re the one setting up the 301 and you make a mistake… There is no obvious place in chrome to refresh that cache, but there is a nifty trick. Go to the URL: This…

Read More…

40days - Simple isn't easy

February 28, 2013

I wrote a simple one-page web application called 40days . It shows you what the date is for 40 days in the future. I say “simple” but simple isn’t easy. It never is. I wrote 40days because my orthodontist would schedule my appointments 40 days apart and it was a hassle for me…

Read More…

Re: All https, all the time

February 26, 2013

Will Norris posted a blog post titled All https, all the time . It’s a good article and I recommend you read it. is now only using https. I did want to add one note about his apache configuration at the end. He should be using instead of just By default, the is a…

Read More…

See all blog posts…


docwhat

The personal blog of Christian Höltje.
docwhat docwhat contact

Π