Organized by Collection Hierarchy for easy memorization
Interface methods → Implementations → Complexities
images
docker images
running containers
docker ps
prerequisite -> pull mongo image in docker
to verify
-> docker images
docker run -d --name mongodb \
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | - sudo curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | \ | |
| bash -s -- -y --no-modify-path | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | - brew install nvm | |
| - nano ~/.zshrc | |
| - add | |
| source $(brew --prefix nvm)/nvm.sh | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | - brew update | |
| - brew install mercurial | |
| - bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer) | |
| - source ~/.gvm/scripts/gvm | 
install homebrew
- brew install gcc
 
link homebrew installed gcc (g++-13) with mac gcc (By default mac gcc is clang)
- cd /opt/homebrew/bin
 - ln -s g++-13 g++
 
add bits/stdc++.h to mac
- cd /Library/Developer/CommandLineTools/usr/include
 - sudo mkdir bits