Skip to content

Instantly share code, notes, and snippets.

View abhash24oct's full-sized avatar

Abhash Kumar abhash24oct

View GitHub Profile
@abhash24oct
abhash24oct / promises.md
Created May 7, 2019 12:20 — forked from domenic/promises.md
You're Missing the Point of Promises

This article has been given a more permanent home on my blog. Also, since it was first written, the development of the Promises/A+ specification has made the original emphasis on Promises/A seem somewhat outdated.

You're Missing the Point of Promises

Promises are a software abstraction that makes working with asynchronous operations much more pleasant. In the most basic definition, your code will move from continuation-passing style:

getTweetsFor("domenic", function (err, results) {
 // the rest of your code goes here.
@abhash24oct
abhash24oct / README.md
Created April 15, 2019 09:35 — forked from hofmannsven/README.md
Git Cheatsheet
@abhash24oct
abhash24oct / BST.Java
Last active October 3, 2017 03:06
BinarySearchTree In java
import java.util.HashMap;
import java.util.LinkedList;
import java.util.Queue;
import java.util.Stack;
public class BST {
class Node {
int data;
Node left;
@abhash24oct
abhash24oct / AjaxDemo.js
Created August 26, 2017 13:31
AjaxDemo
var request;
document.addEventListener("DOMContentLoaded", function () {
console.log("Gottcha");
//document.getElementByUd("table").style.display="none";
document.getElementById("button").addEventListener("click",function(){
console.log("Button clicked");
sendinfo();
})