Skip to content

Instantly share code, notes, and snippets.

# Norlys Digital A/S
# AS39642
2a00:1b70::/29
2a00:1f98::/29
2a02:25c8::/29
2a02:2b98::/32
2a02:6940::/32
2a03:7400::/29
2a0c:63c0::/48
# AS213320
# Stackxchange proxy websites
*://*.socketloop.com/*
*://*.appsloveworld.com/*
*://*.itecnote.com/*
*://*.topitanswers.com/*
*://*.copyprogramming.com/*
# Aggressive SEO, always shows up in results
*://*.alltrails.com/*
! Annoying chatbox (14-11-2022)
replit.com###main-content > div:nth-of-type(2) > div:nth-of-type(2)
! ## Paywall, unclutter UI (remove sidebars): "make medium great again" (14-11-2022)
!medium.com##+js(cookie-remover)
!medium.com###root > div > div:nth-of-type(3) > div > div > div:nth-of-type(1)
!medium.com###root > div > div:nth-of-type(3) > div > div > div:nth-of-type(2)
!medium.com###root > div > div:nth-of-type(3) > div > div > main > div > div:nth-of-type(3) > div:nth-of-type(3)
! ## Newsletter notification
@dezza
dezza / dk_filter.txt
Last active July 5, 2024 09:34
abp, ublock filters for danish websites
! https://www.pricerunner.dk/cl/36/Harddiske
! https://www.pricerunner.dk/c/black-friday
! https://www.pricerunner.dk/deals
pricerunner.dk##:xpath(//p[text()='Mine produkter']/../../../..)
pricerunner.dk##:xpath(//p[contains(.,'Sponsoreret')]/../../../../../..)
pricerunner.dk##button[data-text="Feedback"]
pricerunner.dk##:xpath(//h2[contains(.,"Tilmeld dig nyhedsbrevet")]/../../../../..)
pricerunner.dk##:xpath(//h2[contains(text(),'Almindelige spørgsmål')]/../../../..)
pricerunner.dk##:xpath(//h2[contains(text(),'Relaterede butikstilbud')]/../..)
pricerunner.dk##:xpath(//h2[contains(text(),'Relateret')]/..)
https://www.youtube.com/watch?v=uejbDyjwYlw
https://www.youtube.com/watch?v=4fB1Hh3NATw
https://www.youtube.com/watch?v=Ova3SZLCZVY
https://www.youtube.com/watch?v=RQJH97DLkIk
https://www.youtube.com/watch?v=lVuAvH1PigA
https://www.youtube.com/watch?v=rwwnUZkI9Q0
https://www.youtube.com/watch?v=v1LWDb37gcs
https://www.youtube.com/watch?v=2P9lhkAWrIw
https://www.youtube.com/watch?v=OK2iU8Oo5xA
https://www.youtube.com/watch?v=apBn5wIn9zQ
@dezza
dezza / magic-oldfiles.vim
Last active May 31, 2022 14:35
Its magic 🧙‍♂️⭐
if has('viminfo') && !empty(&viminfo)
" Ignore paths, such as :help files
set viminfo+=r/usr/share/vim/vim81/doc
endif
set viminfofile=$HOME/.vim/viminfo
function! Oldfiles()
rviminfo!
enew
@dezza
dezza / gist:53432d6a0df797a0f64d7142d1c582d2
Created October 7, 2021 23:43
common arkenfox issues
// privacy.firstparty.isolate=true known issues with paypal
// browser.display.use_document_fonts=false known issues with version2.dk fonts
// privacy.resistFingerprinting=true breaks digitalocean login, breaks google oauth logins
// network.http.referer.XOriginPolicy=1 breaks atlassian.com,bitbucket.org login, reddit oauth login
// network.cookie.cookieBehavior=1 breaks memedroid.com google SSO login
// media.autoplay.blocking_policy = 2 # youtube won't autoplay music radios
// media.autoplay.blocking_policy = 2 # twitch won't play ads or unmute audio
// media.autoplay.blocking_policy = 2 # bandcamp won't play next tracks
// media.block-autoplay-until-in-foreground = false # plex will MAYBE stop playing music when forwarding tracks https://www.reddit.com/r/firefox/comments/ga9tzv/i_just_want_to_be_able_to_play_my_plex_playlist/
#!/usr/bin/env zsh
assertequal () {
(( testcount=testcount+1 ))
if [ "$1" = "$2" ]; then
echo "${testcount} PASS: $3"
else
echo "${testcount} FAIL: expected output failed"
fi
}
" wow
" TODO refactoring cheatsheet
" * Markdown with embedded syntax or .vim solely
" * Better sections (markdown would enable anchor-links/permalinks)
" debugging vim plugins unsilent avoids plugins silencing echom
:unsilent echomsg "debug msg in plugin"
" Commands that take filename modifiers
:vsplit %:h
@dezza
dezza / dnb.m3u
Last active May 8, 2024 18:23
dnb-radios
#EXTM3U
# Directories to find radios
# https://www.internet-radio.com/
# http://radio.pervii.com/en/online-playlists-m3u.htm
# https://directory.shoutcast.com
# http://dir.xiph.org/
# https://www.internet-radio.com/
# https://tunein.com/
# https://www.liveradio.ie