Skip to content

Instantly share code, notes, and snippets.

View timbogdanov's full-sized avatar
🎯
Focusing

Tim Bogdanov timbogdanov

🎯
Focusing
View GitHub Profile
#!/bin/bash
# Exit on error
set -e
# Usage check
if [ "$#" -ne 2 ]; then
echo "Usage: $0 <old_domain> <new_domain>"
echo "Example: $0 uchurn.online uchurn.click"
exit 1
@timbogdanov
timbogdanov / install_php82.sh
Created November 6, 2024 07:04
PHP 8.2 bash install script
#!/bin/bash
# Update package list
sudo apt-get update
# Install prerequisites
sudo apt-get install -y \
software-properties-common \
build-essential \
autoconf \