Skip to content

Instantly share code, notes, and snippets.

Avatar
👨‍🚀
in space

Ahad Sheriff ahadsheriff

👨‍🚀
in space
View GitHub Profile
@mayneyao
mayneyao / notion2blog.js
Last active Oct 30, 2020
Notion.so > Personal Blog | custom domain + disqus comment
View notion2blog.js
const MY_DOMAIN = "agodrich.com"
const START_PAGE = "https://www.notion.so/gatsby-starter-notion-2c5e3d685aa341088d4cd8daca52fcc2"
const DISQUS_SHORTNAME = "agodrich"
addEventListener('fetch', event => {
event.respondWith(fetchAndApply(event.request))
})
const corsHeaders = {
"Access-Control-Allow-Origin": "*",
@vasanthk
vasanthk / System Design.md
Last active Oct 30, 2020
System Design Cheatsheet
View System Design.md

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?
You can’t perform that action at this time.