Harp to Hugo

I’ve moved my blog away from Harp to Hugo. And wrote a couple of useful tools along the way: Harp2Hugo gem to do the content conversion for meta data. Alpine Docker Hugo - available on both docker hub and quay.io My blog’s Tutum Stack and Dockerfile have been updated accordingly. Check it out if you need usage examples. I chose Hugo mainly because: has proper theme support - switch/modify themes on the fly, without hacking around your content pages. »

Building a Windows8 Home Server using Storage Spaces

For a while now I’ve been trying to decide whether to buy a NAS or build my own. I wanted some basic RAID setup to protect my data and photos but can’t quite justify paying $250-$500 for a 2 bay diskless NAS enclosure. In the end I decided to pull out my old PC, to build a home server using some extra disks pooled together by Windows8 Storage Space. »

Docker Harp Microcontainer

I’m a strong believer in Docker Microcontainers that are not based on Ubuntu or Debian, ideally less than 100mb. I was quite inspired by errordeveloper’s minimal dockerfile-oracle-java container using BusyBox. So I set out to build a minimal container for Harp web server. Why Microcontainers? 1. There’s nothing “Micro” about deploying a 15mb MicroService onto a bloated 1GB container. 2. When you setup Continuous Integration / Delivery, your pipeline is no longer very “Continuous” when it’s stuck pulling down GBs worth of redudant images across networks. »

Dropwizard HTTPS JerseyClient with runtime JSSE CA Certificates

For Jersey Client (or any Java web client for that matter) to connect to a SSL endpoint, the target server certificate must be installed as jssecacerts files into your JRE truststore at $JAVA_HOME\jre\lib\security. This is painful if you don’t have access to infrastructure, or don’t want to patch/update your server/base Docker container everytime your SSL certificate changes. I will show you a more elegant solution for JerseyClient/Dropwizard JerseyClient, where the certificate is loaded from file during runtime and doesn’t need to live in the JRE. »

Jekyll to Harp

In late 2014 whilst working on AngularJS frontend apps on Herkou, I discovered and recommended Harp web server to the team. Harp is a powerful static file web server with built-in template proprocessing. It helped us eliminate much tedious build tasks and ruby gems from our static client projects. If you haven’t heard of Harp, have a read of Sintaxi’s Introducing Harp. Half a year later, I have also decided to migrate over to harp for my personal blog. »