Setting up a Replicated MongoDB using Authentication in Docker on DigitalOcean

Hello there! I recently (.. today) had to setup a replicated MongoDB, dockerized, hosted on VPS‘ on the great site DigitalOcean, and as I only found outdated tutorials online that, more like pushed me along, than walked me through what had to happen, I thought I’d make a more 2015 version; even though we’re leaning towards ’16 (maybe I’ll come back in a couple of months and pretend I’ve updated something).

This tutorial is heavily inspired by Deploy a MongoDB Cluster in 9 steps Using Docker but that one is old and this is much longer and actually works; I did it today, it was unpleasant.

The setup we want is 3 MongoDB’s running in Docker on 3 different VPS’ from DigitalOcean.

Step 1: We’re going to Create 3 droplets with Docker on DigitalOcean.

Step 2: and Start 3 MongoDB’s that know of each other and we can connect to.

Continue reading “Setting up a Replicated MongoDB using Authentication in Docker on DigitalOcean”

Mirrorboard for Windows! A one-handed keyboard!

I was tired of having to use both hands to type on the keyboard, and complaining about it to a friend one day, he linked me to this post http://blog.xkcd.com/2007/08/14/mirrorboard-a-one-handed-keyboard-layout-for-the-lazy/ on the XKCD blog about “Mirrorboard”; the authors own thoughts and software-solution to the problem, which was pretty awesome. But there was nothing for Windows, to which my friend replied: “Just make your own then..”, so I put it on hold for the time being.
Continue reading “Mirrorboard for Windows! A one-handed keyboard!”