Skip to content

Instantly share code, notes, and snippets.

View demirdegerli's full-sized avatar

Demir Değerli demirdegerli

View GitHub Profile
@demirdegerli
demirdegerli / metrics.py
Created January 3, 2026 13:55
Parser script for Tor Snowflake Metrics API
import re
import requests
# Replace with your actual metrics endpoint
url = "http://ubuntu:1080/internal/metrics"
url2 = "http://192.168.1.2:1080/internal/metrics"
# Download metrics text
resp = None
try:
@demirdegerli
demirdegerli / ubuntu_debloater.sh
Last active January 25, 2026 16:19
Ubuntu Debloater
#!/bin/sh
if [ "$(whoami)" != "root" ]; then
echo "Please run this script as root."
exit
fi
printf "This script will\n\n- Remove Snap\n- Install the deb version of Firefox\n- Install Flatpak\n- Optionally replace Ubuntu Desktop with GNOME\n\n"
read -p "Continue? (Y/n) " start_prompt
case $start_prompt in
[nN] | [nN][oO] )
exit