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 / 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
@hl2guide
hl2guide / pc_game_crash_fix.md
Last active February 14, 2024 09:13
A fix for PC game crashes where no error message shows, for Windows 11.

Game crashes with no Error Reporting or Error Code Message on Windows 11

If you have a modern PC with Windows 11 installed these steps may help.

GPU and CPU Heat

First check that neither your GPU or CPU is overheating at the time of crashing.

Secondly check that no process is running in the background hogging the CPU or GPU resources.

@hl2guide
hl2guide / remove_ms_store_apps.ps1
Created January 19, 2024 06:24
Removes Microsoft Store apps that are not needed or are security risks for most people. Must be run as Admin in PowerShell 7 or later.
# Removes Microsoft Store apps that are not needed or are security risks for most people.
# Must be run as Admin in PowerShell 7 or later.
$packageName = ''
function Remove-MSStoreApp()
{
Param($Name)
$packageName = Get-AppxPackage -Name $Name | `
@hl2guide
hl2guide / custom_filters.txt
Last active January 11, 2024 01:48
Custom adblocker filters for 2024
! Title: 2024 Custom Filters
! Description: Custom filters for 2024.
! Version: 1.0.0
! Last modified: 2024-01-11 13:00
! Expires: 1 week (update frequency)
! Homepage: none
! License: MIT
inoreader.com###aswift_0
inoreader.com###leaderboard_ad-63dafb2abf7fb
@hl2guide
hl2guide / majorgeeks_custom.txt
Created November 29, 2023 07:25
Custom Filter Rules for ad blockers to fix the majorgeeks.com long page load bug.
! majorgeeks.com fix (long load)
connect.facebook.net
cdn-images.mailchimp.com
cdnjs.buymeacoffee.com
@hl2guide
hl2guide / inoreader_custom.txt
Last active November 29, 2023 06:20
Custom Filter Rules for ad blockers to fix the inoreader.com long page load bug.
! inoreader fix (long load)
js.braintreegateway.com