Skip to content

Instantly share code, notes, and snippets.

View narendrabtechcse's full-sized avatar
Coding

Narendra Agrawal narendrabtechcse

Coding
View GitHub Profile
@narendrabtechcse
narendrabtechcse / notion2Habitica.py
Created June 28, 2023 15:38 — forked from gauchy/notion2Habitica.py
Notion to Habitica Sync tool
import requests, json
#Notion's token and databaseId
token = 'XXX'
databaseId = 'XXX'
#Notion's headers
headers = {
"Authorization": "Bearer " + token,
"Content-Type": "application/json",
@narendrabtechcse
narendrabtechcse / System Design.md
Created January 17, 2022 07:54 — 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?
@narendrabtechcse
narendrabtechcse / 06082020stocks.json
Created May 7, 2021 13:43
stocks dummy data used for angular project-learn
[{"id":1,"stock_name":"Axon Enterprise, Inc.","stock_industry":"Ordnance And Accessories","stock_market":"NASDAQ","stock_sector":"Capital Goods","stock_symbol":"AAXN"},
{"id":2,"stock_name":"Welltower Inc.","stock_industry":"n/a","stock_market":"NYSE","stock_sector":"n/a","stock_symbol":"HCN^I"},
{"id":3,"stock_name":"icad inc.","stock_industry":"Medical/Dental Instruments","stock_market":"NASDAQ","stock_sector":"Health Care","stock_symbol":"ICAD"},
{"id":4,"stock_name":"Bank of Commerce Holdings (CA)","stock_industry":"Major Banks","stock_market":"NASDAQ","stock_sector":"Finance","stock_symbol":"BOCH"},
{"id":5,"stock_name":"Champions Oncology, Inc.","stock_industry":"Biotechnology: Biological Products (No Diagnostic Substances)","stock_market":"NASDAQ","stock_sector":"Health Care","stock_symbol":"CSBR"},
{"id":6,"stock_name":"Mirna Therapeutics, Inc.","stock_industry":"Major Pharmaceuticals","stock_market":"NASDAQ","stock_sector":"Health Care","stock_symbol":"MIRN"},
{"id":7,"stock_n