Skip to content

Instantly share code, notes, and snippets.

View RezaBabapour's full-sized avatar
💻
thinking

RB RezaBabapour

💻
thinking
View GitHub Profile
@joseluisq
joseluisq / mysql_query_log.md
Last active November 27, 2025 09:34
How to enable the MySQL/MariaDB general query logs

How to enable the MySQL/MariaDB general query logs

  1. Enter to MySQL/MariaDB server command-line tool (change root with your username and password):
mysql -u root -proot
  1. Set the general log file path:
SET GLOBAL general_log_file='/var/log/mysql/mycustom.log';
@vasanthk
vasanthk / System Design.md
Last active January 26, 2026 13:18
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?