Skip to content

Instantly share code, notes, and snippets.

View hl2guide's full-sized avatar
👋
away from office

Dean hl2guide

👋
away from office
  • Australia
View GitHub Profile
@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
@hl2guide
hl2guide / nexusmods_custom.txt
Last active November 29, 2023 06:20
Custom Filter Rules for ad blockers to fix the nexusmods.com long page load (10 - 12 seconds) bug.
! NexusMods
googletagmanager.com
secure.quantserve.com
static.hotjar.com
code.highcharts.com
unpkg.com
@hl2guide
hl2guide / PrivacyBadger_user_data-27_10_2023_8_21_45_pm.json
Created October 27, 2023 09:25
Privacy Badger Settings to Import - Includes Trackers
This file has been truncated, but you can view the full file.
{"action_map":{"00px.net":{"userAction":"","dnt":true,"heuristicAction":"block","nextUpdateTime":1686989093360},"04xmhp.ru":{"userAction":"","dnt":false,"heuristicAction":"allow","nextUpdateTime":0},"0cf.io":{"userAction":"","dnt":false,"heuristicAction":"allow","nextUpdateTime":0},"100vod-adaptive.akamaized.net":{"userAction":"","dnt":false,"heuristicAction":"allow","nextUpdateTime":0},"101vod-adaptive.akamaized.net":{"userAction":"","dnt":false,"heuristicAction":"cookieblock","nextUpdateTime":0},"105vod-adaptive.akamaized.net":{"userAction":"","dnt":false,"heuristicAction":"allow","nextUpdateTime":0},"106vod-adaptive.akamaized.net":{"userAction":"","dnt":false,"heuristicAction":"allow","nextUpdateTime":0},"10jqka.com.cn":{"userAction":"","dnt":false,"heuristicAction":"allow","nextUpdateTime":0},"111vod-adaptive.akamaized.net":{"userAction":"","dnt":false,"heuristicAction":"allow","nextUpdateTime":0},"112vod-adaptive.akamaized.net":{"userAction":"","dnt":false,"heuristicAction":"allow","nextUpdateTime":0},"1
@hl2guide
hl2guide / improve_windows.ps1
Created September 3, 2023 08:00
PowerShell - Improve Windows after New Install (in development)
# Improves Windows 11/10 after a fresh install - Run as Admin
$boolSetDarkModeForApps = $true
$boolSetDarkModeForSystem = $true
# Sets dark or light mode
if($boolSetDarkModeForApps -eq $true)
{
# Sets dark mode for apps
Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize `
@hl2guide
hl2guide / 20230810_142943_adg_ext_settings_4.1.57.json
Last active August 10, 2023 04:38
Adguard Browser Extension User Rules for 2023 (settings > user rules)
{"protocol-version":"1.0","general-settings":{"app-language":"en-US","allow-acceptable-ads":false,"show-blocked-ads-count":true,"autodetect-filters":true,"safebrowsing-enabled":true,"filters-update-period":21600000,"appearance-theme":"system"},"extension-specific-settings":{"use-optimized-filters":false,"collect-hits-count":false,"show-context-menu":true,"show-info-about-adguard":false,"show-app-updated-info":false,"hide-rate-adguard":true,"user-rules-editor-wrap":false},"filters":{"enabled-groups":[1,2,3,4,5],"enabled-filters":[208,17,1,2,3,4,6,7,8,9,216,227,238,253,18,19,20,21,22,242],"custom-filters":[],"user-filter":{"rules":"! Disqus.com - Clean up\ndisqus.com###container-main > div > div.section-contained:last-child > div.layout.-top-narrow > div.layout__main > div.layout__nav:first-child > div.hidden-md:last-child\n\n! Evernote.com\nevernote.com###qa-SIDEBAR_UPGRADE_BUTTON\nevernote.com##body > div.modal-mask\nevernote.com##body > div.modal-banner.image-on-left.is-illustration\n\n! Majorgeeks\nmajorgee
@hl2guide
hl2guide / fido_example.txt
Last active April 15, 2023 05:04
Downloads a Windows Pro 11 x64 ISO from Microsoft (faster and more direct)
# Source: https://github.com/pbatard/Fido
.\Fido.ps1 -Win 11 -Rel Latest -Ed Pro -Lang Int -Arch x64