Skip to content

Instantly share code, notes, and snippets.

@Damotron500
Damotron500 / free_ports.sh
Last active November 26, 2025 15:56 — forked from hjbotha/free_ports.sh
Free ports 80 and 443 on Synology NAS
#!/bin/bash
# WARNING: Use at your own risk. Test carefully before applying in production.
# THIS SCRIPT WAS UPDATED FROM THE ORIGINAL USING CHATGPT!
# IT worked on a DS920+ as of 19th May 25.
# Updated for DSM 7.2.2 compatibility.
# This script will attempt to free up ports 80 and 443 used by the built-in nginx.
HTTP_PORT=81
HTTPS_PORT=444
@ishad0w
ishad0w / aveyo_edge_removal.bat
Last active December 5, 2025 09:50
AveYo (Microsoft Edge Removal)
@(set "0=%~f0"^)#) & powershell -nop -c iex([io.file]::ReadAllText($env:0)) & exit /b
#:: just copy-paste into powershell - it's a standalone hybrid script
sp 'HKCU:\Volatile Environment' 'Edge_Removal' @'
$also_remove_webview = 1
## why also remove webview? because it is 2 copies of edge, not a slimmed down CEF, and is driving bloated web apps
$also_remove_widgets = 1
## why also remove widgets? because it is a webview glorified ad portal on msn and bing news cathering to stupid people
$also_remove_xsocial = 1
## why also remove xsocial? because it starts webview setup every boot - xbox gamebar will still work without the social crap
@ishad0w
ishad0w / microsoft_edge_uninstaller_21h1_ltsc.bat
Last active November 18, 2025 18:23
Microsoft Edge Uninstaller [Windows 10 LTSC 2021/21H1 Edition]
@echo off
@title Microsoft Edge Uninstaller [Windows 10 LTSC 2021/21H1 Edition]
ver
echo+
goto check_admin_permissions
:check_admin_permissions
echo Script must Run as Administrator! Detecting permissions...
net session >nul 2>&1
if %errorLevel% == 0 (
@AveYo
AveYo / .. MediaCreationTool.bat ..md
Last active December 2, 2025 06:08
Universal MediaCreationTool wrapper for all MCT Windows 10 versions - MOVED TO github.com/AveYo/MediaCreationTool.bat
@hjbotha
hjbotha / free_ports.sh
Last active November 24, 2025 13:59
Free ports 80 and 443 on Synology NAS
#! /bin/bash
# NEWLY ADDED BACKUP FUNCTIONALITY IS NOT FULLY TESTED YET, USE WITH CARE, ESPECIALLY DELETION
# Developed for DSM 6 - 7.0.1. Not tested on other versions.
# Steps to install
# Save this script in one of your shares
# Edit it according to your requirements
# Backup /usr/syno/share/nginx/ as follows:
# # cd /usr/syno/share/
# # tar cvf ~/nginx.tar nginx