Update : Now, nvm can be simpler to manage NodeJS versions. You can install the version you want and those versions can be differents across all your projects and shared with the file
.nvmrc. More informations on the nvm README
New NodeJS releases are done often, so you need to keep your installation up to date. To do so, you can use your Linux distribution package manager (apt, dnf, ...) or brew for OSX. Another way is to use npm.
Here some command lines to update NodeJS on your dev environment. The update will take the latest stable version of NodeJS.
sudo npm cache clean -f sudo npm install -g n sudo n stable
If you only want to switch from one version to another, just replace the previous line with the following line. Of course, you can update the version number depending on your need.
sudo n 0.10.33
If the installation is done, check the version number with the following command :
ESLint Global Variables
When we use some global variables defined elsewhere, eslint throws an error saying the variable is not defined. Here is how to configure eslint to ignore those.
Extend Window type with Typescript
Some of the object properties or functions are not available in the Typescript Window type. Let see a way to extend the Window type with the missing properties.
Gatsby + Netlify CMS + TailwindCSS Starter
Just created a new starter coming from some of my website development and powered with Gatsby.
How to deal with Docker Hub rate limit on AWS
Since 2020, DockerHub has been limited to only 200 container image pull requests per six hours. This article will help you to deal with this limitation on AWS.
How to enable Python type checking in VSCode
Python now has support for type hints. In this article, we will see how to enable better IntelliSense and type checking analysis in VSCode.
How to manage Internationalization with NextJS SSG
Staticaly generating a website with the NextJS framework in different languages is not so obvious.