Skip to content

Instantly share code, notes, and snippets.


Mani chintamanil

View GitHub Profile
yoavniran /
Last active Aug 11, 2020
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

nkbt / .eslintrc.js
Last active Aug 8, 2020
Strict ESLint config for React, ES6 (based on Airbnb Code style)
View .eslintrc.js
"env": {
"browser": true,
"node": true,
"es6": true
"plugins": ["react"],
"ecmaFeatures": {
View Vertical-Center-Hacks.markdown
TSiege / The Technical Interview Cheat
Last active Aug 13, 2020
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.
View The Technical Interview Cheat


I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!


dwayne /
Last active Oct 21, 2019
My notes from the book "ng-book: The Complete Book on AngularJS by Ari Lerner".


Author: Ari Lerner.

AngularJS offers a single framework that can be used to build dynamic, client-centric applications. It provides:

  • Module support
  • DOM manipulation
  • Animations
  • Templating
mattpage / gist:5854124
Created Jun 24, 2013
IE8 javascript hacks
View gist:5854124
function addEventListener(el, eventName, eventHandler) {
if (el.addEventListener){
el.addEventListener(eventName, eventHandler, false);
else if (el.attachEvent){
//ie8 does not support addEventListener
el.attachEvent('on'+eventName, eventHandler);
View browser hacks
/***** Selector Hacks ******/
/* IE6 and below */
* html #uno { color: red }
/* IE7 */
*:first-child+html #dos { color: red }
/* IE7, FF, Saf, Opera */
jaysonrowe / FizzBuzz.js
Created Jan 11, 2012
FizzBuzz JavaScript solution
View FizzBuzz.js
for (var i=1; i <= 20; i++)
if (i % 15 == 0)
else if (i % 3 == 0)
else if (i % 5 == 0)
You can’t perform that action at this time.