Month: January 2018

How to update node to a given version

January 18, 2018

Scenario:- Update node to the given version ? Solution:-  Using nvm:-Node Version Manager Install nvm  curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash Reopen the terminal Check nvm is installed by typing nvm > enter > it will show nvm commands nvm install Node_Version_i_Want $ nvm install 8.9.4 Note:- After installing the latest node incase your build fails […]

Read More

Working with prettier in Visual studio code

January 18, 2018

“Whenever you are confronted with an opponent, conquer them with love.” What is prettier ? In layman terms its an handy tool that will format our code against some set standards, default formatting rules to achieve consistent code style. How to install prettier  in VS Code? Search > Prettier – Code formatter Note:- Incase you have […]

Read More

Most Useful Git commands

January 11, 2018

I have decided to stick with love. Hate is too great a burden to bear. List all the branches : git branch Pull the recent changes: git pull Create a feature branch : git checkout -b <new branch name> <parent branch name> Delete branch local: git branch -d <branch-name> or git branch -D <branch-name> Delete […]

Read More