Skip to content

Instantly share code, notes, and snippets.

View 0x3bfc's full-sized avatar
🌍
Focusing

Ahmed 0x3bfc

🌍
Focusing
View GitHub Profile
@aessam
aessam / Codebase diagram.md
Created June 24, 2025 03:08
Generate multiple Mermaid diagrams for large codebases.

I have a large codebase that I want to understand better through visual architecture diagrams. Please analyze the project structure and create comprehensive Mermaid diagrams that help me understand the codebase at different levels of detail.

📋 Required Analysis

First, explore the codebase to understand:

  1. Project structure - root directories, main modules, configuration files
  2. Dependencies - internal dependencies between modules/packages
  3. Architecture patterns - layered architecture, microservices, monolith, etc.
  4. Key systems - core functionality areas (UI, backend, database, API, etc.)
  5. Technology stack - frameworks, languages, tools used
@miguelmota
miguelmota / ethereum_keys.sh
Last active April 15, 2025 11:46
Generate Ethereum Private key, Public key, and Address using Bash and OpenSSL
# Generate the private and public keys
openssl ecparam -name secp256k1 -genkey -noout | openssl ec -text -noout > key
# Extract the public key and remove the EC prefix 0x04
cat key | grep pub -A 5 | tail -n +2 | tr -d '\n[:space:]:' | sed 's/^04//' > pub
# Extract the private key and remove the leading zero byte
cat key | grep priv -A 3 | tail -n +2 | tr -d '\n[:space:]:' | sed 's/^00//' > priv
# Generate the hash and take the address part