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 / 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.
@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 December 3, 2024 22:20
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
@hl2guide
hl2guide / torrent_trackers.txt
Created February 20, 2023 10:04
qbittorrent torrent trackers Feb 2023
http://1337.abcvg.info:80/announce
http://bt.endpot.com:80/announce
http://bt.okmp3.ru:2710/announce
http://dht.dhtclub.com:666/announce
http://i-p-v-6.tk:6969/announce
@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
#!/bin/bash
# Check if Script is Run as Root
if [[ $EUID -ne 0 ]]; then
echo "You must be a root user to run this script, please run sudo ./fedora_customizer.sh" 2>&1
exit 1
fi
# Updating System
dnf update -y
@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