This is a small guide to clarify the setup needed to debug Go code running in a container in docker-compose using Delve debugger . Basically lets suppose that you have 3 service running in three different containers:
Continue reading “Debugging Go Code in docker-compose”Whatsapp vs Signal vs Telegram
The recent privacy policy changes by Whatsapp has triggered a big migration towards similar platforms such as Signal and Telegram. But are those really better? Why? In this article we will see what are the strong and weak points of each of them from a privacy prospective.
Continue reading “Whatsapp vs Signal vs Telegram”Run a GUI program at Startup on LXDE
Have you ever needed to launch a GUI program that run at startup and goes directly into full screen mode? Probably not.. but if you do, just continue reading this post..
Continue reading “Run a GUI program at Startup on LXDE”Unable to Grant Privileges on MariaDB
WordPress requires an SQL like database. On RPI there is no MySQL database, but there is an equivalent fully compatible DB called MariaDB. After a fresh install there’s no password set up initially for the user root, so is very important to fix that. You should use the secure installation script that come along.
Continue reading “Unable to Grant Privileges on MariaDB”Variables in Bash
Lets talk about variables in bash scripts. Nothing super technical, but this is just a small clarification article for a such useful features. But lets start from the beginning. .. What are bash variable and why a user or developer should care about it? Continue reading “Variables in Bash”
GIT_2 : Workflows: branch and fork
In the last article we discussed some basic git concept. Now I want to introduce some GIT workflows to be used while developing code in teams, that uses Pull Requests and code reviewers. In particular I want to explain how to keep the master history clean and how to avoid all those ugly merges and unnecessary commits that a lot of teams have in their master history.
Continue reading “GIT_2 : Workflows: branch and fork”GIT_1 : (not so) Basic Concepts
If you are a programmer and if your team consist of more than 1 person, then you are probably using GIT. There are two ways to use git: the wrong way and the right way. If you never used “rebase” command or if you never squashed any of your commits or if you never heard about forks, then you are probably using it wrong. Ah before we start, I assume that you are familiar with basic git terminology.
Continue reading “GIT_1 : (not so) Basic Concepts”Hardware-based authentication: Yubikey configuration
In the last article I gave a quick overview of the hardware tokens and the yubikey. Today we will go more in details and we will see how to set and use GPG keys on the yubikey. Continue reading “Hardware-based authentication: Yubikey configuration”
Hardware-based authentication: Yubikey overview
In this article series, I am going to explain what is an hardware based authentication and how to configure one of the most famous (the yubikey) to work with your accounts and hold your ssh /gpg keys . Continue reading “Hardware-based authentication: Yubikey overview”
Setup data disks on Azure VM and Fix broken FSTAB
This is a quick guide on how to configure extra data drives to ubuntu/linux machine on azure, to get automatically mounted on startup using the shell. Also i will explain how to fix the boot process in case you mess up with the fstab file and the VM will not boot anymore. Continue reading “Setup data disks on Azure VM and Fix broken FSTAB”