Skip to content

Instantly share code, notes, and snippets.

@Crownie
Crownie / CurrencyCode.enum.ts
Created March 7, 2020 08:14
Currency Code enums for Typescript
export enum CurrencyCode {
USD = 'USD',
CAD = 'CAD',
EUR = 'EUR',
AED = 'AED',
AFN = 'AFN',
ALL = 'ALL',
AMD = 'AMD',
ARS = 'ARS',
AUD = 'AUD',
@Crownie
Crownie / System Design.md
Created February 14, 2019 21:23 — forked from amazingandyyy/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?
@Crownie
Crownie / 0_reuse_code.js
Last active August 29, 2015 14:08
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console