Instantly share code, notes, and snippets.
Discover gists
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
fromhuggingface_hubimporthf_hub_download | |
importtarfile | |
dataset_id="sayakpaul/ucf101-subset" | |
fname="UCF101_subset.tar.gz" | |
fpath=hf_hub_download(repo_id=dataset_id,filename=fname,repo_type="dataset") | |
withtarfile.open(fpath)ast: | |
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
interference-security /frida-tools-termux.md
CreatedNovember 27, 2023 07:21
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
CFLAGS = -std=c99 -Wall | |
main : main.o | |
.PHONY : test clean | |
test : main | |
./$^"*regex*""*vtable*"< main.c | |
clean : |
Farhad-Firozitabar /gist:56fc2fff4bdf3b96e70a8b903d0274b9
Last activeJuly 19, 2025 14:22
Dog Breed Description for learning MongoDB in JSON format 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
[ | |
{ | |
"breed": "Labrador Retriever", | |
"breedType": "Purebred", | |
"origin": ["Canada", "USA"], | |
"popularity": 1, | |
"temperament": ["Cheerful", "Gentle", "Friendly", "Intelligent"], | |
"hypoallergenic": false, | |
"intelligence": 85 | |
}, |
oliverdaff /tracing-instrument-macro.md
CreatedJanuary 4, 2024 01:13
Tutorial on Using the tracing::instrument Macro in Rustiamwildtuna /gist:7772b7c84a11bf6e1385f23096a73a15
Last activeJuly 19, 2025 14:21
VPN IP Addresses (IP адреса ChatGPT, Copilot, Meta, Facebook, Instagram, YouTube, Medium, X ex. Twitter, Discord) 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
Meta(Instagram,Facebook) | |
//Узлы | |
157.240.253.174,157.240.253.172,157.240.253.167,157.240.253.63,157.240.253.32 | |
157.240.252.174,157.240.252.172,157.240.252.167,157.240.252.63,157.240.252.38 | |
57.144.112.34,57.144.110.1,157.240.205.174,87.245.223.97 | |
//Подсети | |
213.102.128.0/24 | |
204.15.20.0/22 | |
199.201.0.0/16 |
NewerOlder