$ ls ~/blog
notes from the trenches
14 posts on infrastructure, Go, containers and the occasional yak shave.
2022
2020
- Connecting to Confluent Cloud using kafka-go#kafka #goI'm in love with Confluent Cloud's Kafka offering, it's serverless and decently fast for most cases, the only issue is that the instructions from its dashboard to connect from Go…
- I'm glad Go executable files are large#go #dlangTL,DR: Well, I'm not exactly glad Go binaries are so large, but if you haven't read that article, it basically explains Go binaries are large because this is needed to provide…
2018
- Caching upstream web assets forever with Nginx#nginx #devopsI'm going to describe everything I had to do to get Nginx to cache images forever(or at least for one year). Before I start there is one thing you should know: Everything that I…
- Diagnosing Docker Disk Usage#devops #dockerI've been using Docker in Production for over a year in conjunction with Rancher 1.6, the biggest issue so far has been disk usage. Dangling images is one of the issues so I had…
- Solving ESLint Jest warnings#js #react #react-native #eslintI recently started adding Test coverage to a react-native project and one our determination as a team is to have zero ESLint warnings throughout the code-base. The issue with Jest…
- Setting up Rancher Proxy to enforce HTTPS without interrupting Let's encrypt cert renewals#devops #docker #rancher #haproxyOne of the things I love most about Rancher 1.6 is how easy it makes the use of Let's encrypt certificates via Let's encrypt manager for Rancher. My setup This is an example of my…
2017
- Failing miserably to setup Minio as Backblaze B2 storage for Docker Registry#devops #dockerYes, today I failed miserably to setup a Docker Registry server backed by Backblaze B2 using Minio's B2 Gateway. Here's the result: It gets stucked uploading forever, trying and…
- Fixing use of undeclared type '_ArrayProtocol'#swift #native #iOS #mobileApple just released Xcode 8.3 and Swift 3.1 and with it ArrayProtocol is now gone so you'd need to switch: From: To: Go "Find all and Replace" :)
- Custom container command in AWS ECS tasks#docker #aws #ecs #devopsI recently made the switch from Heroku to AWS ECS and customizing the command for the task containers was one of the things I had more trouble with. This is my Procfile that I'm…
2016
- Using the latest Postgres in Circle-CI#postgres #sql #ci #testingPostgres is included in the base image of Circle-CI, however, sometimes you need a feature such as jsonbset that is only available from 9.5 and above. So you have no other choice…
- Using the latest RabbitMQ in Circle-CI#rabbitmq #ci #testing #devopsRabbitMQ is my favorite distributed messaging queue and I use it for every new project, sadly I constantly found myself struggling to set it up in Circle-CI since it's not…
- Eureka PushRow With Search Bar#swift #native #iOS #mobileFor my new project I'm using a lot of Data Input and even when Eureka is awesome by itself it's lacking of search capability in the view controller used by PushRow, the Readme…