Skip to content

Instantly share code, notes, and snippets.

View boutzamat's full-sized avatar

Suleiman Boutzamat boutzamat

View GitHub Profile
@boutzamat
boutzamat / autoip.sh
Created April 3, 2025 11:46
AutoIP for PiKVM
#!/bin/bash
# Define the interface name and the temporary IP address
INTERFACE="eth0" # Replace with the correct network interface name if it's different
TEMP_IP="192.168.1.100/24" # Replace with the desired temporary IP address
# Check for an IPv4 address on the interface
check_ip() {
ip addr show $INTERFACE | grep -q "inet "
}
@boutzamat
boutzamat / featured-image.php
Created September 11, 2024 19:56
Add featured image to Bricks Builder page settings
@boutzamat
boutzamat / exchange.conf
Created October 16, 2023 10:34 — forked from crypt0rr/exchange.conf
Configuration for Microsoft Exchange Server (2010 / 2013 / 2016) behind a (free) nginx reverse proxy. This config allows things like Microsoft ActiveSync.
server {
listen 80;
server_name mail.example.com;
return 301 https://mail.example.com;
}
server {
listen 443 ssl http2;
server_name mail.example.com autodiscover.example.com;