Skip to content

Instantly share code, notes, and snippets.

View deevendhu's full-sized avatar
🎯
Focusing

deeven deevendhu

🎯
Focusing
  • Fluid AI
  • Mumbai, India
View GitHub Profile
@deevendhu
deevendhu / consoleColors.js
Created August 21, 2021 12:33 — forked from abritinthebay/consoleColors.js
The various escape codes you can use to color output to StdOut from Node JS
// Colors reference
// You can use the following as so:
// console.log(colorCode, data);
// console.log(`${colorCode}some colorful text string${resetCode} rest of string in normal color`);
//
// ... and so on.
export const reset = "\x1b[0m"
export const bright = "\x1b[1m"
export const dim = "\x1b[2m"
@deevendhu
deevendhu / System Design.md
Created March 15, 2021 19:34 — 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?