Skip to content

Instantly share code, notes, and snippets.

View Porygon31's full-sized avatar

Porygon Porygon31

  • Toulouse, France&
View GitHub Profile
@Porygon31
Porygon31 / AdGuardIpUpdater.py
Created February 18, 2025 12:34
A lightweight Python script that checks AdGuard DNS updates every 30 minutes, logs results, and runs in the system tray. Users can view the latest response and manually trigger a scan via a pop-up dialog.
import requests
import time
import os
import pystray
from pystray import Icon, MenuItem, Menu
from PIL import Image
import threading
import tkinter as tk
from tkinter import messagebox
@Porygon31
Porygon31 / Deepl-COM.json
Last active January 4, 2024 20:28
Consent-O-Matic Deepl.com rule
{
"deepl": {
"detectors": [
{
"presentMatcher": {
"type": "css",
"target": {
"selector": "#CondensedStrictBanner-header"
}
}
@Porygon31
Porygon31 / Remove or Enable Win 11 Context menu.bat
Last active April 2, 2025 01:03
Remove/Enable the new context menu that was added on Windows 11
REM This script remove/re-enable the new context menu added on Windows 11.
@echo off
REM ---------- Main ----------
cls
echo Please remember that this program will kill and restart explorer.exe so if you have any important work in progress
echo Please make sure to save it and exit this software before proceeding further.
choice /c yn /m "Are you ready"