Skip to content

Instantly share code, notes, and snippets.

View deepak-vasalamarri's full-sized avatar
❤️

Deepak Vasalamarri deepak-vasalamarri

❤️
  • Hyderabad, India
View GitHub Profile
@deepak-vasalamarri
deepak-vasalamarri / ultimate-ut-cheat-sheet.md
Created November 24, 2019 18:25 — forked from yoavniran/ultimate-ut-cheat-sheet.md
The Ultimate Unit Testing Cheat-sheet For Mocha, Chai and Sinon

The Ultimate Unit Testing Cheat-sheet

For Mocha, Chai and Sinon

using mocha/chai/sinon for node.js unit-tests? check out my utility: mocha-stirrer to easily reuse test components and mock require dependencies


@deepak-vasalamarri
deepak-vasalamarri / introrx.md
Created October 15, 2019 18:50 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
@deepak-vasalamarri
deepak-vasalamarri / gist:d4601555d0c25c6c0e74
Last active September 8, 2015 15:42 — forked from fxsjy/gist:3291755
Memcached in JavaScript based on Node.JS
//author: Sun, Junyi (weibo.com/treapdb)
//usage: node --nouse-idle-notification --expose-gc --max-old-space-size=8192 memcached.js
var config ={
port: 11211,
max_memory: 300 // default 100M bytes
}
var net = require('net');
var LRU = function (max) { // this LRU implementaion is based on https://github.com/chriso/lru