Skip to content

Instantly share code, notes, and snippets.

View ifeanyiukpaiyi's full-sized avatar

ifeanyiukpaiyi

  • Joined Sep 15, 2025
View GitHub Profile
#!/bin/bash
# aaPanel Installation Script for Ubuntu with HTTP/2 Support
# This script prepares the system and installs aaPanel with necessary development tools
set -e # Exit on any error
echo "=========================================="
echo "aaPanel Installation Script"
echo "Preparing system with HTTP/2 support"
@ifeanyiukpaiyi
ifeanyiukpaiyi / configuredhcpmanualmac
Created September 20, 2025 19:31
configuredhcp mac
#!/bin/bash
# macOS Static DHCP Configuration Script
# Description: Configures static DHCP for en30 interface with IP 192.168.9.30
# while preserving existing DHCP configurations
# Usage: sudo ./configure-mac-static-dhcp.sh
set -e # Exit on any error
set -u # Exit on undefined variable
# Colors for output
@ifeanyiukpaiyi
ifeanyiukpaiyi / xubuntu setup
Created September 20, 2025 19:08
Configures Xubuntu to use macOS as gateway and DNS
#!/bin/bash
# Xubuntu Network Configuration Script
# Description: Configures Xubuntu to use macOS as gateway and DNS
# Usage: sudo ./setup-xubuntu-network.sh
set -e # Exit on any error
set -u # Exit on undefined variable
# Colors for output
RED='\033[0;31m'
@ifeanyiukpaiyi
ifeanyiukpaiyi / macnat.sh
Created September 20, 2025 19:07
macnat for
#!/bin/bash
# macOS NAT Gateway Setup Script
# Description: Sets up NAT from en30 (no internet) to en0 (with internet)
# Usage: sudo ./setup-mac-nat.sh
set -e # Exit on any error
set -u # Exit on undefined variable
# Colors for output
RED='\033[0;31m'
@ifeanyiukpaiyi
ifeanyiukpaiyi / brew install
Last active September 17, 2025 12:57
brew user security
#!/bin/bash
# setup-brew-system-user.sh - Complete production-ready setup for _brew system user
set -e # Exit on any error
set -u # Treat unset variables as error
# Colors for output
RED='\033[0;31m'
GREEN='\033[0;32m'
YELLOW='\033[1;33m'