Note to self: Fixing encoding in Golang ascii85

Yesterday I spent a few hours dealing with what I like to call "the edges of StackOverflow". By that I mean those situations in which you are trying to solve a programming problem (mostly a bug) and you have no idea why its happening, and even worse, no amount of…

Note to self:Print statements not showing up on systemd logs? Do this

Let's assume we have a service set up as follows: [Unit] Description=systemd_microservice [Service] User=USER Group=GROUP WorkingDirectory=systemd_working_directory ExecStart=/usr/bin/python python_scripts.py SuccessExitStatus=143 TimeoutStopSec=10 Restart=on-failure RestartSec=10 [Install] WantedBy=multi-user.target And inside python_script.py you have a…

Note to self: Disable caps lock in Ubuntu 16.04

Sources: here and here This post shows how to disable the caps lock key and enables it only by pressing both shift keys together. 1. Install DCONF $ sudo apt-get install dconf-tools 2. Disable caps lock and reenable it as pressing both shift keys at once: $ setxkbmap -option "caps:none" $ setxkbmap…

What is it to work in a Startup - the good and bad

Nowadays, everyone seems to be fascinated about startups. Media bombard us with success story after success story, displaying incredible offices featuring slides instead of stairs and in house chefs preparing home made dinners. I started working in November 2013 in a NYC based Startup named Namely. I was the 18th…

TIL About BFG Repo-cleaner

If you ever migrate code from Bitbucket to Github, you will unpleasantly discover that GH does not allow by default fiels larger than 100MB (unless you pay extra for Large File Storage). At that point, you will probably realize that Github isn't really the right place to store such large…