Skip to content

Instantly share code, notes, and snippets.

Avatar

Ashwin Kumar Subramanian s-ashwinkumar

View GitHub Profile
@s-ashwinkumar
s-ashwinkumar / getStuff.js
Last active Aug 4, 2017
Sample code to demostrate async basics
View getStuff.js
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 Mar 13, 2017 — forked from trey/happy_git_on_osx.md
Creating a Happy Git Environment on OS X
View happy_git_on_osx.md

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"