Skip to content

Instantly share code, notes, and snippets.

View s-ashwinkumar's full-sized avatar

Ashwin Kumar Subramanian s-ashwinkumar

View GitHub Profile
@s-ashwinkumar
s-ashwinkumar / getStuff.js
Last active August 4, 2017 08:14
Sample code to demostrate async basics
function getStuff() {
var result;
jQuery.get("amazing/long/method"), function(response) {
result = response;
}
return result;
}
var stuff = getStuff();
console.log("This is THE stuff - "+ stuff);
@s-ashwinkumar
s-ashwinkumar / happy_git_on_osx.md
Created March 13, 2017 18:18 — forked from trey/happy_git_on_osx.md
Creating a Happy Git Environment on OS X

Creating a Happy Git Environment on OS X

Step 1: Install Git

brew install git bash-completion

Configure things:

git config --global user.name "Your Name"

git config --global user.email "you@example.com"