Skip to content

Instantly share code, notes, and snippets.

@craigraphics
craigraphics / System Design.md
Created June 12, 2019 04:26 — forked from vasanthk/System Design.md
System Design Cheatsheet

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?
@craigraphics
craigraphics / README.md
Created June 20, 2017 17:30 — forked from joyrexus/README.md
Vanilla JS equivalents of jQuery methods

Sans jQuery

Events

// jQuery
$(document).ready(function() {
  // code
})
@craigraphics
craigraphics / 01.js
Created November 14, 2016 06:18 — forked from martinaglv/01.js
What do these functions do?
function whatDoesItDo(val){
return val ? 1 : 2;
}