Skip to content

Instantly share code, notes, and snippets.

View codeShaurya's full-sized avatar
🧘‍♂️
Meditation lover 🧘‍♂️

Shubham Maurya codeShaurya

🧘‍♂️
Meditation lover 🧘‍♂️
View GitHub Profile
@codeShaurya
codeShaurya / System Design.md
Created March 6, 2021 15:06 — 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?
{
"editor.formatOnPaste": true,
"prettier.printWidth": 80,
"prettier.stylelintIntegration": true,
"editor.minimap.maxColumn": 80,
"files.autoSave": "onFocusChange",
"files.autoGuessEncoding": true,
"files.trimFinalNewlines": true,
"window.menuBarVisibility": "visible",
"eslint.packageManager": "yarn",
@codeShaurya
codeShaurya / .ssh-config
Created November 20, 2018 14:18
This gist will help you to redirect your ssh protocol to http whenever 22 port is blocked
# This is for gitlab ssh authentication
Host gitlab.com
Hostname altssh.gitlab.com
User git
Port 443
PreferredAuthentications publickey
IdentityFile ~/.ssh/gitlab
# This is for github ssh authentication
Host github.com
@codeShaurya
codeShaurya / set-unset-proxy
Last active May 8, 2019 16:09
How to remove manual proxy from the terminal
# To list all the active proxy in you system
env | grep -i proxy
# To unset an active proxy
unset __PROXY_NAME_
eg.
unset https_proxy
@codeShaurya
codeShaurya / opencv-installation.sh
Last active October 3, 2018 08:45
Here you will learn how to install OpenCv package in linux operating system
######################################
# INSTALL OPENCV ON UBUNTU OR DEBIAN #
######################################
# 1. KEEP UBUNTU OR DEBIAN UP TO DATE
sudo apt-get -y update
sudo apt-get -y upgrade
sudo apt-get -y dist-upgrade
sudo apt-get -y autoremove