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”
MongoDB optimization
Databases are like religion. Everyone believe to withhold the ultimate best solutions… These ordered collection of data that are in the core almost all (if not all) complex systems. Even Simple website like this, have thousands of entries in a sql like database, and they never creates problems, until … one rainy day they do became slow, unresponsive, resource hungry… and that is where the pain start. Today I will give some hint on how to try to optimize a MongoDB database, by looking at its stats(). Continue reading “MongoDB optimization”
Bit Coin Wallet Collider
Ahh BitCoins! Welcome to the world of crypto currencies, where everything is decentralized and where making money is as easy as find a solution to a crypto-problem… Continue reading “Bit Coin Wallet Collider”
PC boot process – Extra: TPM with Luks / Bitlocker
In this quick article I want to extend the previous article on booting process and discuss few missing technologies that can play some role in the startup process. Those are not strictly required to your PC to work, but you may are already using them for example if you enabled encryption. Continue reading “PC boot process – Extra: TPM with Luks / Bitlocker”
PC boot process – Compatibility mode and secure boot
This is the last article of the “PC booting process” series and i want to quickly present few missing concepts that you may incur related to this topic. Again, my task is not to make you an expert, but just to give you a good understanding on what is happening when you push your “on button” on your pc. So let’s start from where we left… Continue reading “PC boot process – Compatibility mode and secure boot”