Skip to content

Instantly share code, notes, and snippets.

View haunt98's full-sized avatar
๐Ÿˆ
Hunting

sudo pacman -Syu haunt98

๐Ÿˆ
Hunting
View GitHub Profile
@haunt98
haunt98 / ublock.txt
Last active March 8, 2026 11:18
ublock filters
! Aug 2, 2025 https://x.com
x.com##div.r-1udh08x.r-1ifxtd0.r-rs99b7.r-1phboty.r-1867qdf.r-1kqtdi0.r-kemksi.css-175oi2r:nth-of-type(4)
x.com##div.r-1udh08x.r-1ifxtd0.r-rs99b7.r-1phboty.r-1867qdf.r-1kqtdi0.r-kemksi.css-175oi2r:nth-of-type(5)
! Aug 13, 2025 https://www.reddit.com
www.reddit.com##.nd\:pt-\[54px\].nd\:mt-md.nd\:rounded-4.nd\:bg-neutral-background-weak
! Sep 14, 2025 https://www.facebook.com
www.facebook.com##.x1y1aw1k > div > div > .xyen2ro.x1uc6qws.x1n2onr6 > .x1y1aw1k.xwib8y2
www.facebook.com##.x1y1aw1k > div > div > .xyen2ro.x1uc6qws.x1n2onr6 > .x1cnzs8.xjkvuk6.x193iq5w.x2lah0s.xdt5ytf.x78zum5.x9f619.x1ja2u2z.x1n2onr6
@haunt98
haunt98 / settings.json
Last active February 25, 2026 03:27
~/.config/amp/settings.json
{
"amp": {
"updates": {
"mode": "warn"
}
},
"amp.dangerouslyAllowAll": true
}
@haunt98
haunt98 / opencode.json
Last active March 5, 2026 08:00
~/.config/opencode/opencode.json
{
"$schema": "https://opencode.ai/config.json",
"share": "disabled",
"autoupdate": "notify",
"permission": {
"external_directory": {
"~/go/**": "allow"
}
}
}

AGENTS.md

Common

Good practices

  • Always use enum for status field
  • Push Ifs Up: Move if condition from inside function to caller when the if condition is returning early
  • Push Fors Down: Prefer passing list of objects to function instead of function inside loop of objects, to allow batch operation
$(function(){
$('.link-stop-watching').click();
setTimeout(function(){location.reload();},2000);
});
for dir in ~/go/src/xxx/*
do
echo $dir
cd $dir
do something || true
cd ..
done
version: "2"
run:
tests: false
allow-parallel-runners: true
linters:
default: none
enable:
- bodyclose
- copyloopvar
- err113
# macOS
.DS_Store
# Window
*.exe
# IntelliJ
.idea
# VSCode
@haunt98
haunt98 / .sqlfluff
Last active February 24, 2026 07:36
[sqlfluff]
dialect = mysql
max_line_length = 120
[sqlfluff:indentation]
tab_space_size = 4
implicit_indents = allow
[sqlfluff:rules:capitalisation.keywords]
capitalisation_policy = upper
@haunt98
haunt98 / private-build-plans.toml
Last active March 20, 2025 08:41
Iosevka Pacman
# https://typeof.net/Iosevka/customizer
# https://github.com/be5invis/Iosevka/blob/main/build-plans.toml
# https://github.com/be5invis/Iosevka/blob/main/doc/custom-build.md
[buildPlans.IosevkaPacman]
family = "Iosevka Pacman"
spacing = "term"
exportGlyphNames = true
[buildPlans.IosevkaPacman.ligations]
inherits = "clike"