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”10 Immutable Laws of Security
Microsoft has done two things which are really good and neither of those is Windows or Office. The first one is a software called “Paint” that everyone is familiar with (Not the shitty 3D version). The second one is a paper that they wrote back in 2011 titled “Ten Immutable Laws of Security.” So this quick article is about those laws.
Continue reading “10 Immutable Laws of Security”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”
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”