Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block saurabh-sp-tripathi

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
saurabh-sp-tripathi /
Created Jul 13, 2018
A brief Git introduction

Why Git:

  • Local and distributed :
    • So what?
    • Local is faster : Think about it, reading from HDD/RAM is faster than reading from each time.
    • It not only saves your time on local operations like read history, diff, work offline [-who doesn’t have internet??] but also makes collaborating tools like Jenkins faster to act.
  • Branch policies & Code review (GitHub, GitLap, VSTS ets): Tools made upon git have eligant feature like
    • Code review: Following pull request workflow (more on this later), you can set branch policies to make sure that a code is reviewed before getting into the branch.
    • Branch policies to prevent anyone directly committing into the branch like prod branch 'master' (similar to trunk)
  • Lightweight:

Vim task

  • write something "file1", "file2".... or
saurabh-sp-tripathi /
Last active Jul 2, 2018
This is list of productive (for me) alias for windows machine
saurabh-sp-tripathi /
Last active Jul 2, 2018
quick reference for a quick start of nodejs project
  • npm init
  • npm install mocha --save-dev
  • mpm install chai --save-dev
  • npm install should --save-dev

If web

  • npm install request --save-dev
var should = require("should");
var request = require("request");
var expect = require("chai").expect;
You can’t perform that action at this time.