Skip to content

Instantly share code, notes, and snippets.

View ftmoose's full-sized avatar

Mostapha ftmoose

View GitHub Profile
@ftmoose
ftmoose / docker-compose.yml
Last active February 17, 2024 10:30
MongoDB ReplicaSet Docker Configuration
version: "3.1"
# Our containers
services:
# Temporary container used to initialize the replica set
mongo-setup:
container_name: mongo-setup
image: mongo
restart: on-failure
networks:
@vasanthk
vasanthk / System Design.md
Last active June 17, 2024 10:07
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?

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name: