heitor morgadoHow to fix CORS error for DELETE in localhostAnswer: In the server, there needs to be a declared endpoint responsible for responding to a OPTIONS HTTP method.Nov 26, 2023Nov 26, 2023
heitor morgadoSed — Match groups to reference by indexTo use sed to separeta a string into groups to be later referenced, do as follows:Apr 2, 2019Apr 2, 2019
heitor morgadoAdd aliases from the command lineThis is a way to add new alias from the command line with a single command:Jan 5, 2019Jan 5, 2019
heitor morgadoHeitor Linux (Linux From Scratch)Last month I have finished building my own Linux distribution called Heitor Linux.Dec 18, 2016Dec 18, 2016
heitor morgadoThe importance of set -o nounexitOn bash, when you reference a variable that is not set, you don’t get an error. Instead, the variable is replaced by “”. For example:Oct 21, 2016Oct 21, 2016
heitor morgadoHow we fixed elasticsearch nodes randomly being removed from the clusterIt’s been two months since the last outage with our cluster and the solution was rebuilding it from scratch. The problem I here show how we…Dec 17, 2015Dec 17, 2015