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. »

Dropwizard Jersey2 NewRelic Integration

In order to integrate Dropwizard 0.8.x with the in depth analytics provided by New Relic, I’ve made some enhancements to the code samples from Kyle Boon’s blog: Enabling Newrelic for Dropwizard. With Dropwizard’s upgrade to Jersey2, it’s a matter of migrating logic from ResourceMethodDispatchProvider to ApplicationEventListener and RequestDispatcher to RequestEventListener. Gist available here: »