Skip to content

Instantly share code, notes, and snippets.

View aleixrm's full-sized avatar

Aleix Ramírez Baena aleixrm

  • OpenNebula.io
  • Tarragona,Catalonia,Spain
  • 16:43 (UTC +02:00)
View GitHub Profile
@vasanthk
vasanthk / System Design.md
Last active August 9, 2025 10:33
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?
@mariusavram91
mariusavram91 / copy_remote_files.py
Last active January 29, 2025 09:15
Copy remote files to local with Python's Paramiko
import os
import posixpath
import logging
import paramiko
from pathlib import Path
from typing import List
logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s')
logger = logging.getLogger(__name__)
@P4
P4 / default.reg
Last active March 3, 2025 14:09
Color schemes for Windows Command Prompt
Windows Registry Editor Version 5.00
; Default color scheme
; for Windows command prompt.
; Values stored as 00-BB-GG-RR
[HKEY_CURRENT_USER\Console]
; BLACK DGRAY
"ColorTable00"=dword:00000000
"ColorTable08"=dword:00808080
; BLUE LBLUE