NodeJSGet the size of a file in Nodejs and format it in human-readable size.First you'll need to start a new node server . Once it's done, lets see how to read file size on a…December 08, 2020 1 min
DevOpsAdd eslint on Nodejs or React project in Gitlab PipelineFirst create a new branch on your repo : git checkout -b feature/addEslintOnGitlabPipeline To…October 28, 2020 1 min
VueJSAdd VueJS reactivity on nested object properties not declared in dataI recently encountered an error on the render of one of my Vue component. I was not aware that if…September 28, 2020 1 min
JavascriptHow to convert a Number into a String using JavascriptYou want to convert a Number into a String , lucky you ! Javascript offers you differents ways to…September 17, 2020 1 min
GitDelete all local git branches in one command lineWhen developing you will create lots of local git branches. Let's see how to delete them all in once…August 07, 2020 1 min
JavascriptWait until a condition is true in a Javascript function.Sometime, you will launch a function at a precise time that will not meet the condition (data not…July 31, 2020 1 min
VueJSHow to bind a class with v-if state in VueJS.This little tweak will allow you to bind a certain css class to a VueJS component depending on state…July 28, 2020 1 min
GitHow to change the remote branch tracked using gitWhen you use git and create a local branch : git checkout -b branch_name And push all your work…July 20, 2020 1 min
JavascriptHow to break out of a for loop or jumps over one iteration in JavascriptThere is two possibility to interact in a for loop in Javascript: You can either break it (jumps out…June 01, 2020 1 min
FirebaseManage CORS in Firebase Cloud functions (or self hosted NodeJS).If you ever ran into this error : Access to XMLHttpRequest at ' https://us-central1-appId…May 18, 2020 1 min