Skip to content

Instantly share code, notes, and snippets.

View vishwakarma's full-sized avatar
🎯
Code like a maniac

Gopi Vishwakarma vishwakarma

🎯
Code like a maniac
View GitHub Profile
@vasanthk
vasanthk / System Design.md
Last active April 29, 2025 21:23
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?
@satishkaushik
satishkaushik / .rmvrc
Last active October 5, 2017 07:13
rvmrc
#!/bin/bash
if [ -e '.rvmrc_custom' ]; then
source .rvmrc_custom;
else
rvm --create use ruby-2.4.1@greatlearning;
fi
#Do not copy&paste whole file, find only interesting parts!
#HTTP authentification
AuthType Basic
AuthName "Log in"
AuthUserFile /path/to/.htpasswd
Require valid-user
#Security headers