Skip to content

Instantly share code, notes, and snippets.

View sampathBlam's full-sized avatar

Sampath Kumar Krishnan sampathBlam

  • Trimble Inc.
  • Chennai, India
View GitHub Profile
@sampathBlam
sampathBlam / install-node-ubuntu.md
Created April 24, 2020 09:07
Installing NodeJS in Ubuntu

Install nvm

nvm - Node version manager is probably the most effective means to install and manage Node.js installations in linux environment. It provides ways to have multiple node versions installed in a machine and abilities to switch between versions. Install a particular version of nvm using either curl or wget. Just change the version number to get the specific version of nvm.

Using curl

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
@sampathBlam
sampathBlam / upstream-sync.md
Last active May 9, 2020 03:49 — forked from CristinaSolana/gist:1885435
Keeping a fork up to date

1. Clone your fork:

git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git

By default, the remote origin would be set to git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git Now add a new remote to point to the original repository from which you forked.

2. Add remote from original repository in your forked repository:

cd into/cloned/fork-repo