Skip to content

Instantly share code, notes, and snippets.

View debMan's full-sized avatar
👓
learn, learn, and learn !

MohamadAli debMan

👓
learn, learn, and learn !
View GitHub Profile
@subfuzion
subfuzion / curl.md
Last active March 31, 2025 16:15
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

@vasanthk
vasanthk / System Design.md
Last active March 30, 2025 19:03
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?
@Kartones
Kartones / postgres-cheatsheet.md
Last active March 31, 2025 15:26
PostgreSQL command line cheatsheet

PSQL

Magic words:

psql -U postgres

Some interesting flags (to see all, use -h or --help depending on your psql version):

  • -E: will describe the underlaying queries of the \ commands (cool for learning!)
  • -l: psql will list all databases and then exit (useful if the user you connect with doesn't has a default database, like at AWS RDS)
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active March 30, 2025 09:30
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname