Skip to content

Instantly share code, notes, and snippets.

View alanaasmaa's full-sized avatar
🎯
Focusing

Alan Aasmaa alanaasmaa

🎯
Focusing
View GitHub Profile
@MCterra10
MCterra10 / install_ndproxy.sh
Last active March 19, 2025 12:03
ndproxy Install Script for OPNSense (run with sudo)
#!/bin/sh
# save previous working directory to preserve state
PWD=$(pwd)
# download the opnsense OS source
echo ">>> Downloading OPNsense Source Code..."
rm -r /usr/src
git clone --recurse-submodules https://github.com/opnsense/src /usr/src
cd /usr/src
@ankurk91
ankurk91 / install_lamp_ubuntu.sh
Last active April 23, 2025 09:24
Ubuntu 22/24 - PHP development (php 7.4 / 8.4, apache 2.4)
#!/bin/bash
set -euo pipefail
IFS=$'\n\t'
# Ubuntu Server
export DEBIAN_FRONTEND=noninteractive
echo -e "\e[96m Adding PPA \e[39m"
sudo add-apt-repository -y ppa:ondrej/apache2