All Right Then, Keep Your Secrets

Storing and using secrets in Mikrotik RouterOS

Recently I have replaced my stock ISP router with Mikrotik Hex S. I have been using it for a while and I am very happy with it. It is a very powerful device which can be programmed and automated with built-in scripting language. When I started writing my first scripts I faced a problem: how to store and use secrets in my scripts. I have found a solution and I want to share it with you. ...

Unintended Side Effects of Using http.DefaultClient in Go

The Internet is plenty of articles that telling why you should not be using http.DefaultClient in Golang (one, two) but they refer to Timeout and MaxIdleConns settings. Today I want to share with you another reason why you should avoid using http.DefaultClient in your code. ...

Forwarding SMS to Telegram

After extensive travel, I’ve accumulated several mobile numbers and, naturally, physical SIM cards. Switching them out each time became tedious, even after buying a basic Nokia with two SIM slots, which only helped temporarily. When a friend asked if I could set up a Spanish number for account registrations, I realized it was time to automate the process. If you’re dealing with multiple SIM cards and want to receive SMS in Telegram, I have a straightforward approach. You’ll need a Linux machine that’s always online, connected to the internet, and about $10. ...

Monitor input source control on Mac

If you as me have single monitor and 2 Mac devices (for example, I have corporate Macbook and personal Mac Mini) you may want to use the same monitor for both devices. And you may want to switch between them without unplugging and plugging cables or selecting input source using monitor buttons. In this post I will show you how to configure hotkeys for that. ...

Build own drone.io docker image

¡Hola, amigos! In this post, I will quickly descibe how you can build your own drone.io docker image. ...