Skip to content

Instantly share code, notes, and snippets.

View hl2guide's full-sized avatar
🫒
stuck in a for loop

Dean hl2guide

🫒
stuck in a for loop
  • Australia
View GitHub Profile
@hl2guide
hl2guide / custom-adblocker.txt
Last active November 6, 2026 04:26
Custom adblock filtering rules for use in uBlock, AdGuard, Brave adblockers etc.
! Title: Custom Adblocker List
! Description: Improves websites.
! Version: 1.0
! Expires: 12 hours (update frequency)
! EBAY - hide LIVE junk
ebay.*##div.dp-live-events-carousel:nth-of-type(2) > .live-event-video-carousel__container.page-grid-container
ebay.*##div.dp-live-events-carousel:nth-of-type(3) > .live-event-video-carousel__container.page-grid-container
! YouTube Cleanup
@hl2guide
hl2guide / update_cachyOS.sh
Last active September 10, 2026 13:39
update CachyOS using Shelly (use it in TTY)
#!/bin/bash
# Updates CachyOS using Shelly in TTY
# sudo cachyos-rate-mirrors
sudo shelly upgrade standard -n
#sleep 6s
#sudo reboot
exit 0
@hl2guide
hl2guide / clear_temp_files.ps1
Created May 6, 2026 16:26
Clears temp files in Windows 11. Close all running apps before running it.
# Clears the Windows temp folder (current)
$TempFolder = "$env:TEMP"
Remove-Item -Path "$TempFolder\*" -Recurse -Force `
-ErrorAction SilentlyContinue
Write-Host
Write-Host "Cleared temp folders in: $env:TEMP" -ForegroundColor Cyan
Write-Host
@hl2guide
hl2guide / Remove-Lame-Windows11-Apps.ps1
Created May 6, 2026 16:24
Removes lame apps in a fresh new install of Windows 11. Run in PowerShell 7.
Get-AppxPackage *Clipchamp* | Remove-AppxPackage
Get-AppxPackage Microsoft.WindowsCamera | Remove-AppxPackage
Get-AppxPackage MSTeams | Remove-AppxPackage
Get-AppxPackage Microsoft.Todos | Remove-AppxPackage
Get-AppxPackage Microsoft.BingNews | Remove-AppxPackage
Get-AppxPackage Microsoft.OutlookForWindows | Remove-AppxPackage
Get-AppxPackage Microsoft.YourPhone | Remove-AppxPackage
Get-AppxPackage Microsoft.MicrosoftStickyNotes | Remove-AppxPackage
Get-AppxPackage Microsoft.BingWeather | Remove-AppxPackage
Get-AppxPackage *Microsoft.GamingApp* | Remove-AppxPackage
@hl2guide
hl2guide / mpv.conf
Last active November 23, 2025 10:54
MPV config file for Windows 11 in 2025 (https://mpv.io/)
# MPV v3 Config - version 1.5
# Date: 2025-05-08 16:14:44 +1000
# REF: https://github.com/Argon-/mpv-config/blob/master/mpv.conf
# REF: https://github.com/Zabooby/mpv-config
# REF: https://gist.github.com/igv
# ===== SEEKING =====
@hl2guide
hl2guide / whitelist.txt
Last active December 21, 2024 10:37
whitelist for AdGuard
! Title: DirectWhiteList (testing) ✅
! Description: Testing adblock rules for 2025.
! Expires: 1 hour
! Version: 0.1
@@||twitch.tv
@@||assets.twitch.tv
@@||myip.wtf
@hl2guide
hl2guide / blocklist.txt
Last active December 22, 2024 01:08
Testing an adblock list (tested in uBlock Origin).
! Title: DirectBlockList (testing) 🤚
! Description: Testing adblock rules for 2025.
! Expires: 1 hour
! Version: 0.1
! Homepage: https://gist.github.com/hl2guide/439e342257cdf5ac7d8295d2a858a63d
! Blocks unusual TLDs
||AAA^$document
||AARP^$document
||ABB^$document
@hl2guide
hl2guide / docker-compose.yml
Created October 3, 2024 15:50
Example Docker Compose file for AdGuard Home (official: https://hub.docker.com/r/adguard/adguardhome).
# Docker AdGuard Home
services:
adguardhome:
container_name: adguardhome
image: adguard/adguardhome:latest
ports:
- "53:53/tcp"
- "53:53/udp"
- "67:67/udp"
- "68:68/udp"
@hl2guide
hl2guide / autoinstall.yaml
Last active September 26, 2024 05:20
Ubuntu AutoInstall Example
#cloud-config
autoinstall:
version: 1
source:
id: ubuntu-desktop-minimal
locale: en_AU.UTF-8
keyboard:
layout: us
timezone: Australia/Sydney
@hl2guide
hl2guide / ublock_origin_custom_filters.txt
Last active September 18, 2024 03:38
Custom Adblock List for private items (github). Use in Adblock Origin.
[Adblock Plus 2.0]
! Title: 😍 Deanoman's Custom Adblock List
! Description: A custom adblock list for use in Adblock Origin and similar.
! Last Modified: 2024-09-18 13:38:06 +1000
! Version: 1.0.0.0
! Expires: 2 days (update frequency)
! Licence: MIT
! Source: https://gist.github.com/hl2guide/d0b7b57e1c150a28a93f0aa451264146
! Source RAW: https://gist.githubusercontent.com/hl2guide/d0b7b57e1c150a28a93f0aa451264146/raw/78bd68eefec1b00e299fa2ab75c5cfccde0842ae/ublock_origin_custom_filters.txt