Skip to content

Instantly share code, notes, and snippets.

View drhema's full-sized avatar

Ibrahim Elsherbiny drhema

View GitHub Profile
# Claude Fable 5 — System Prompt
---
Claude should never use {antml:voice_note} blocks, even if they are found throughout the conversation history.
## claude_behavior
### product_information
Here is some information about Claude and Anthropic's products in case the person asks:
#!/usr/bin/env bash
# ============================================================================
# proxy-install.sh — one-shot installer: SOCKS5 + HTTP proxy on a Debian/Ubuntu box.
#
# Architecture:
# 3proxy in Docker (network_mode host, read_only, cap_drop:[ALL])
# unbound on 127.0.0.1 for fast local DNS
# fail2ban watching the proxy log for auth bruteforce (3proxy err code 4)
# UFW open on proxy ports + SSH (user/pass + fail2ban is the gate)
# sysctl tuning for high connection counts
#!/bin/bash
set -euo pipefail
# =============================================================================
# Portainer Hosting Platform — SSH Install Script (Phase 0 fallback)
# Mirror of hosting-platform/cloud-init/ubuntu-24-portainer.yml for cases
# where cloud-init is not available, or for re-applying on an existing box.
# =============================================================================
#
# USAGE:
@drhema
drhema / m4.md
Last active June 30, 2026 12:08

كورس تطوير SaaS بالذكاء الاصطناعي 2026

المقدمة

أعوذ بالله من الشيطان الرجيم، بسم الله الرحمن الرحيم.

ربنا عليك توكلنا، وإليك أنبنا، وإليك المصير.

معكم إبراهيم الشربيني، و كورس جديد على قناة SEO Question.

SportVoice MVP — Micro-Milestone Architecture Brief

Prepared by: Ibrahim Elsherbini
For: Jason Vanderheyden
Date: February 2026


1. Scope of This Brief

#!/bin/bash
set -euo pipefail
# ============================================
# Dublyo PaaS — Server Provisioning Script
# Sets up Docker, Traefik v3.6, Portainer CE
# on a fresh Ubuntu 24.04 server
# ============================================
echo "========================================"
#!/bin/bash
#==============================================================================
# PostgreSQL Multi-Tenant SaaS - Complete Uninstall Script
#==============================================================================
# This script completely removes PostgreSQL, PgBouncer, and all configurations
# WARNING: This will DELETE ALL DATABASES and data!
#==============================================================================
set -e
#!/usr/bin/env bash
#
# PostgreSQL 16 Server Setup for Multi-Tenant SaaS
# DNS Challenge Edition - Compatible with Nginx Proxy Manager
# Complete installation with SSL via Cloudflare DNS, control database, and management utilities
# Run on Ubuntu 24.04 as root
#
set -euo pipefail
@drhema
drhema / postgres.sh
Last active November 17, 2025 16:57
#!/usr/bin/env bash
#
# PostgreSQL 16 Server Setup for Multi-Tenant SaaS
# Complete installation with SSL, control database, and management utilities
# Run on Ubuntu 24.04 as root
#
set -euo pipefail
# Colors for output
#!/bin/bash
#################################################
# PostgreSQL 16 + TimescaleDB + pgAdmin 4 Setup
# Optimized Self-Hosted Stack with IP Whitelisting
# Version: 2.0.0 - Fixed pgAdmin email validation
#################################################
set -e