Instantly share code, notes, and snippets.
Discover gists
VPN killswitches aren't always reliable. The best way to avoid exposing your IP address is bybinding the VPN network interface to your torrent client. This ensures that downloads/uploads occuronly while the VPN tunnel is active, reducing the chance of leaks to virtually zero.
Requirements:
A torrent client that supports network interface binding, such as:
- qBittorrent - Windows, macOS, Linux
- Tixati or BiglyBT - Android
vinoddeolal /CHATGPT VERSION (GPT-4 | GPT-4.1)
CreatedJune 18, 2025 15:29 — forked fromiamnolanhu/CHATGPT VERSION (GPT-4 | GPT-4.1)
REALITY FILTER — A LIGHTWEIGHT TOOL TO REDUCE LLM FICTION WITHOUT PROMISING PERFECTION This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
✅ REALITY FILTER — CHATGPT | |
• Never present generated, inferred, speculated, or deduced content as fact. | |
• If you cannot verify something directly, say: | |
- “I cannot verify this.” | |
- “I do not have access to that information.” | |
- “My knowledge base does not contain that.” | |
• Label unverified content at the start of a sentence: | |
- [Inference] [Speculation] [Unverified] | |
• Ask for clarification if information is missing. Do not guess or fill gaps. |
jinjier /javdb-top250.md
Last activeJuly 19, 2025 14:42
JavDB top 250 movies list. [Updated on 2025/07]Starefossen /vim-cheats.md
Last activeJuly 19, 2025 14:39
My vim cheat sheet for working with tabs and window splits.saiashirwad /Dark-Reader-Settings.json
CreatedSeptember 25, 2020 00:23
Dark Reader Chrome Settings Gruvbox This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
{ | |
"applyToListedOnly":false, | |
"automation":"", | |
"changeBrowserTheme":false, | |
"customThemes": [ | |
{ | |
"url": [ | |
"arxiv.org" | |
], | |
"theme": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
from huggingface_hub import hf_hub_download | |
import tarfile | |
dataset_id = "sayakpaul/ucf101-subset" | |
fname = "UCF101_subset.tar.gz" | |
fpath = hf_hub_download(repo_id=dataset_id, filename=fname, repo_type="dataset") | |
with tarfile.open(fpath) as t: | |
t.extractall(".") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
{"nodes": [{"id":"1","module":0,"i":0},{"id":"3","module":0,"i":1},{"id":"8","module":2,"i":2},{"id":"9","module":4,"i":3},{"id":"12","module":2,"i":4},{"id":"15","module":2,"i":5},{"id":"23","module":3,"i":6},{"id":"26","module":3,"i":7},{"id":"37","module":10,"i":8},{"id":"46","module":2,"i":9},{"id":"2","module":1,"i":10},{"id":"4","module":2,"i":11},{"id":"5","module":3,"i":12},{"id":"6","module":3,"i":13},{"id":"7","module":1,"i":14},{"id":"10","module":4,"i":15},{"id":"11","module":1,"i":16},{"id":"13","module":1,"i":17},{"id":"14","module":1,"i":18},{"id":"16","module":5,"i":19},{"id":"18","module":1,"i":20},{"id":"19","module":3,"i":21},{"id":"20","module":1,"i":22},{"id":"21","module":6,"i":23},{"id":"22","module":2,"i":24},{"id":"25","module":3,"i":25},{"id":"27","module":1,"i":26},{"id":"28","module":3,"i":27},{"id":"29","module":1,"i":28},{"id":"31","module":2,"i":29},{"id":"33","module":2,"i":30},{"id":"34","module":9,"i":31},{"id":"35","module":1,"i":32},{"id":"38","module":2,"i":33},{"id":"41", |
StevenACoffman /a-non-root-ssh-keys-in-kube.md
Last activeJuly 19, 2025 14:31
SSH keys in kubernetes as non-rootSSH (and git+ssh) has very particular opinions about file permissions.In Kubernetes you can set secret file permissions, but not ownership: (see the "Secret files permissions" section)https://kubernetes.io/docs/concepts/configuration/secret/#using-secrets
apiVersion: v1kind: Podmetadata: name: security-context-demo
NewerOlder