Skip to content

Instantly share code, notes, and snippets.

View qe201020335's full-sized avatar
🥝

qe201020335

🥝
View GitHub Profile
@Umbranoxio
Umbranoxio / 00-supply-chain-safety.sh
Last active May 22, 2026 21:47
decent supply chain attack prevention, examples for unix shells & powershell
# install sfw first: (https://socket.dev/blog/introducing-socket-firewall)
# bun/pnpm/npm/yarn install -g sfw
# add the uncommented snippet below to ~/.zshrc, ~/.bashrc, ~/.profile, or ~/.shrc
# reload your shell config:
# . ~/.zshrc
# . ~/.bashrc
# . ~/.profile
# . ~/.shrc
# also... just disable vscode extension auto updates you don't need them: (https://nx.dev/blog/nx-console-v18-95-0-postmortem)
# ctrl + shift + p -> "auto up" -> "Extensions: Disable Auto Update for all Extensions"
@Vaarlion
Vaarlion / my_ublock_static_filter_for_youtube.txt
Last active May 29, 2026 09:23
A list of ublock origin filter to get a cleaner youtube interface without installing to many addons
! https://www.reddit.com/r/youtube/comments/k76ext/lf_way_to_remove_people_also_watched_from_search/
www.youtube.com##ytd-reel-shelf-renderer.ytd-item-section-renderer.style-scope
youtube.com##ytd-shelf-renderer.style-scope:has(span:has-text(/Related to your search/i))
youtube.com##ytd-shelf-renderer:has-text(/People also watched/)
youtube.com###contents > ytd-shelf-renderer:has-text(/For you/)
youtube.com##ytd-shelf-renderer.style-scope:has(span:has-text(/Watch again/i))
youtube.com##ytd-horizontal-card-list-renderer.ytd-item-section-renderer.style-scope:has(span:has-text(/Searches related to/i))
youtube.com##ytd-shelf-renderer.style-scope:has(span:has-text(/Learn while you\'re at home/i))
youtube.com##ytd-horizontal-card-list-renderer.ytd-item-section-renderer.style-scope
youtube.com###secondary > .ytd-two-column-search-results-renderer

TL;DR

When Riot Games introduces the Vanguard anti-cheat to League of Legends, you should STOP playing and you must NOT install the anti-cheat when you get the pop-up. Vanguard is a kernel-level anticheat and these anticheats operate at a privilege level HIGHER THAN YOUR OWN. The anti-cheat can do things that even YOU can't do, without asking or letting you know. It's like Riot installing a camera in every room of your house and getting a copy of every key inside.

Here are just a few examples of what they can do:

@diyism
diyism / v2ray wss over cloudflare 8443 proxy.txt
Last active June 18, 2024 17:21
v2ray wss over cloudflare 8443 proxy
use "time curl --socks5 localhost:8081 https://1.1.1.1 | head -n 20" to compare naiveproxy, v2ray, wssocks, and qv2ray:
naive quic direct: 0.4s
naive http2 direct: 0.4s
v2ray over cloudflare wss: 0.4s to 0.7s
wssocks-linux-amd64 over cloudflare wss: 0.6s
qv2ray gun over cloudflare grpc 0.7s to 0.9s
(naive http2 won't proxy over cloudflare: Network/http2/help: "The connection from Cloudflare to your origin will be made over HTTP 1.x")
@sxiii
sxiii / readme.md
Created March 4, 2021 19:40
How to launch games via Proton from CLI (useful for debug)

How to launch games via Proton from CLI (useful for debug)

In just 2 steps

First. Run this:

export STEAM_COMPAT_DATA_PATH=~/.local/share/Steam/steamapps/compatdata

Second. Now in the same terminal, run your game (this example: Raft)

~/.local/share/Steam/steamapps/common/Proton\ 5.13/proton run ~/.local/share/Steam/steamapps/common/Raft/Raft.exe

@groundcat
groundcat / Block_Baidu_Input_HOSTS.txt
Last active July 19, 2025 13:24
屏蔽搜狗/百度输入法后台联网
#<block-baidu>
127.0.0.1 olime.baidu.com
127.0.0.1 dr-ime.baidu.com
127.0.0.1 updateime.baidu.com
127.0.0.1 tips.ime.baidu.com
127.0.0.1 typing.bae.baidu.com
127.0.0.1 pcinput.baidu.com
#</block-baidu>