Browsed by
Author: kelvin

Golang – Exported fields in a struct

Golang – Exported fields in a struct

I am back to working on the webapp I started last year. I had a goal of learning Golang and I thought that a webapp would be perfect as the process will cover almost all aspects of the language.

Best way for me to learn, and for something to stick, was to write about it. In this post, I want to go over exported and un-exported fields in a Go struct.

Read More Read More

Retrospective #2 – Mailservers are hard

Retrospective #2 – Mailservers are hard

Over the past month, I’ve been trying to set up a mail server for outbound SMTP. In the end, I ended up with going with mailgun.com for my outbound SMTP. These are the reasons why I ended up going with mailgun.com

Read More Read More

Retrospective #1 – VirtualHosts in Apache

Retrospective #1 – VirtualHosts in Apache

Lately, I have been interested in monitoring my VMs and looking at pretty graphs with statistics on how a machine is performing. I came across a pretty sweet tool called net-data, which provides real-time data on performance and health monitoring. The only problem I have with net-data is that the web portion of net-data is served on port 19999, which is an ugly number and being the nit-pick that I am seeing it in the address bar is pain.

To remedy this, I decided to find a way to ‘serve’ the net-data web ui to a sub-domain instead.

Read More Read More