Hi 馃憢

My name is Benjamin Cane, and you've landed on my engineering blog. I have a background in distributed systems operations, architecture, and development. You will find articles about all sorts of topics like Docker, Linux, Go, Python, and lots more. I hope you enjoy the blog.

How to Structure a Go Command-Line Project

What is the best project structure for Go command-line applications? Where should packages go, and where should my application code start? Let's discuss a layout I have found useful....

 路 9 min 路 Benjamin Cane

Golang Maps vs. Structs, which method should you use to parse JSON

Should I use maps or structs to parse JSON in Go? Which is best? Which is safest? How about we find out?...

 路 9 min 路 Benjamin Cane

Don't mock Databases, just run them with Docker

Use Docker Compose to create on-demand databases within your local & build environments...

 路 12 min 路 Benjamin Cane

Using stunnel and TinyProxy to obfuscate HTTP traffic

Recently there has been a lot of coverage in both tech and non-tech news outlets about internet privacy and how to prevent snooping both from service providers and governments. In this article I am going to show one method of anonymizing internet traffic; using a TLS enabled HTTP/HTTPS Proxy. In this article we will walk through using stunnel to create a TLS tunnel with an instance of TinyProxy on the other side....

 路 12 min 路 Benjamin Cane

Using salt-ssh to install Salt

In recent articles I covered how I've built a Continuous Delivery pipeline for my blog. These articles talk about using Docker to build a container for my blog, using Travis CI to test and build that container, and finally using a Masterless SaltStack configuration to deploy the blog. Once setup, this pipeline enables me to publish new posts by simply managing them within a GitHub repository. The nice thing about this setup is that not only are blog posts managed hands-free....

 路 12 min 路 Benjamin Cane