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 / 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 / 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 / aria2_rpc_add_download.ps1
Created January 25, 2023 05:31
Connects to an aria2c RPC instance and adds a download.
# Connects to an aria2c RPC instance and adds a download
# Ref:
# Curl: curl.exe http://localhost:6800/jsonrpc -H "Content-Type: application/json" -H "Accept:application/json" -d "{\"jsonrpc\":\"2.0\",\"method\":\"aria2.tellActive\",\"params\":[\"token:TOKEN\"],\"id\":1}"
# Lint JSON: https://jsonlint.com/
# Last Edited: 2023-01-25 15:30:00PM
$aria2cRPCURI = "http://localhost:6800/jsonrpc"
# Set to your token
@hl2guide
hl2guide / Iosevka Font Guide for Windows.md
Last active September 1, 2022 09:55
A guide for using the Iosevka font in the Windows OS.

Intro

Iosevka is hands down the best font family for any kind of programming.

For Chinese and Japanese users check out Sarasa Gothic.

Features

  • open-source
  • sans-serif + slab-serif, monospace + quasi‑proportional typeface family
@hl2guide
hl2guide / Search_Everything_Cheatsheet.md
Last active August 3, 2023 13:40
Search Everything Cheatsheet

Search Everything Cheatsheet 📒

Search Everything is a fast, powerful, and effective search tool for Windows.

This cheatsheet acts as a quick start reference to get more out of Search Everything.

It compliments the official documentation.

Searching 🔍

@hl2guide
hl2guide / winget_examples.md
Created July 1, 2022 03:19
Useful examples for using winget (terminal).

Exports installed packages to a JSON file

winget export --output "C:\Temp\winget_export.json"

Imports and installs packages in an exported JSON file (lastest package version)

winget import --import-file "C:\Temp\winget_export.json" --ignore-versions