Set a Default Node Version with nvm
As I've shown you in the past,
nvm an excellent utility for switching between Node.js versions. Whether your host machine or CI, building and testing your apps on different Node versions is a necessity. I've recently found a few
nvm commands that I found really useful during local development.
To set a default node version on your machine, without touching your system's install, you can use:
nvm alias default [version_here]
To automatically switch to the node version that best suits a project's
package.json file, simply type:
I've always loved
nvm but I still catch myself manually changing versions when I could automate that process with a few commands!
For quite a long time now websites with the so called "parallax" effect have been really popular.
In case you have not heard of this effect, it basically includes different layers of images that are moving in different directions or with different speed. This leads to a...
This is the hardest thing I've ever had to write, much less admit to myself. I've written resignation letters from jobs I've loved, I've ended relationships, I've failed at a host of tasks, and let myself down in my life. All of those feelings were very...