Erethon’s corner

Random thoughts of mine

Plotting room temperature and humidity using Prometheus, Grafana and a DHT11 sensor

Jul 22, 2018

Intro Last week we installed an airconditioning unit in our house and yesterday a DHT11 humidity and temperature sensor arrived that I had ordered in the past from ebay and had totally forgotten about it. So, I got the idea to monitor the temperature and humidity in the room, to see how well the airconditioning unit works. What better way to do this than use Prometheus, Grafana and a spare Raspberry Pi Zero W I had lying around.

Cryptopals Set 1 reading list (spoilers ahead)

Jun 26, 2018

Intro I’ve decided to Go through (this will make sense in a bit) the Cryptopals Challenges in order to get more familiar with crypto related concepts and Golang (^_^), which I’m using to solve the problems. The code I’ve written for solving the challenges is published in this git repo and I’ll be documenting any helpful resources on this blog. Problems one and two The first two problems are pretty much a hello world version of string/hex/byte manipulation, no fancy reading needed.

How I do my Computing

Feb 19, 2017

This is a long time coming post that I’ve kept postponing (pun intended) for ages. I enjoy browsing The Setup and I always longed for an easy way to share the way I do my computing with friends, besides linking them my dotfiles. This blog post is supposed to fill that void. A lot of this info is already documented in my private Emacs wiki, this is a more lengthy representation of it.

Migrating to Hugo

Aug 11, 2016

A bit over two years ago I blogged about migrating to Octopress from Wordpress, this time I’ll blog about migrating to Hugo from Octopress. I started messing around with Hugo because I was experimenting with Go and wanted to take a look at a simple and complete Go project. I ended up liking the simplicity of setting up a new site and decided to try porting my blog to it.

Can we really trust the official Docker images?

Sep 3, 2015

Yeap, this is another rant on the security practices of Docker users. Like we didn’t have enough of those already. I recently revamped the CI system we use at my workplace. I ended up using a combination of Phabricator, Jenkins, Docker and the Docker registry, but more on this on another blogpost. Since I made heavy use of Docker for all of the above, I started poking around the Dockerfiles that are used to create the ‘official’ Docker images for a bunch of projects.

Using msmtp to handle mail delivery

Jun 2, 2015

Following the example of GKH and others, I’ve added one more piece of software on my email setup and workflow. That piece is msmtp, a very simple and lightweight SMTP client, that integrates really well with the rest of my setup. At its core, msmtp does one thing. It gets mail from a MUA -in my case mutt- and relays it to a remote SMTP server. Its strength lies in its configuration file.

On proper git commit messages and frequent git pushes

Mar 28, 2015

Note: this is a rant on how people use git. When I was introduced to git, I was told I should read this great post on git commit messages by Tim Pope. Ever since, I’ve been trying to follow that system in all of my commits across all projects. Yesterday, I decided to switch from awesome to dwm. I tried to apply one of the available dwm patches, only to notice it doesn’t work with the latest version of dwm.