Skip to content

Instantly share code, notes, and snippets.

@Julynx
Julynx / 15_python_tips.md
Last active March 20, 2026 02:56
15 Python Tips To Take Your Code To The Next Level!
@pnsinha
pnsinha / kitty.md
Created January 11, 2024 05:21
Kitty CheatSheet

Default shortcuts

Scrolling

Action Shortcut
Scroll line up ctrl+shift+up (also ⌥+⌘+⇞ and ⌘+↑ on macOS)
Scroll line down ctrl+shift+down (also ⌥+⌘+⇟ and ⌘+↓ on macOS)
Scroll page up ctrl+shift+page_up (also ⌘+⇞ on macOS)
Scroll page down ctrl+shift+page_down (also ⌘+⇟ on macOS)
@AgentOak
AgentOak / youtube_formats.md
Last active September 7, 2026 08:42
Youtube Format IDs

Last updated: April 2021

Also known as itag or format codes and way back they could be specified with the fmt parameter (e.g. &fmt=22). Depending on the age and/or popularity of the video, not all formats will be available.

DASH video

Resolution AV1 HFR High AV1 HFR AV1 VP9.2 HDR HFR VP9 HFR VP9 H.264 HFR H.264
MP4 MP4 MP4 WebM WebM WebM MP4 MP4
@ReaJason
ReaJason / patch.py
Created April 24, 2025 01:36
IDA Patch Script
import hashlib
import json
import os
# originally made by alula
license = {
"header": {"version": 1},
"payload": {
"name": "TQN",
"email": "bccb.htc@gmail.comn",
@arianvp
arianvp / SSH_MACOS_SECURE_ENCLAVES.md
Last active October 21, 2026 08:27
Native Secure Enclaved backed ssh keys on MacOS

Native Secure Enclave backed ssh keys on MacOS

It turns out that MacOS Tahoe can generate and use secure-enclave backed SSH keys! This replaces projects like https://github.com/maxgoedjen/secretive

There is a shared library /usr/lib/ssh-keychain.dylib that traditionally has been used to add smartcard support to ssh by implementing PKCS11Provider interface. However since recently it also implements SecurityKeyProivder which supports loading keys directly from the secure enclave! SecurityKeyProvider is what is normally used to talk to FIDO2 devices (e.g. libfido2 can be used to talk to your Yubikey). However you can now use it to talk to your Secure Enclave instead!

@repsejnworb
repsejnworb / CrossOverLicence.sh
Last active June 13, 2026 01:39
unlimited CrossOver 24 trial (MacOS)
We couldn’t find that file to show.
@sethmlarson
sethmlarson / elasticsearch-orjson-serializer.py
Last active October 21, 2026 07:44
JSON serializer for Elasticsearch Python client that uses the 'orjson' library for performance
"""JSON serializer for Elasticsearch Python client that
uses the 'orjson' library for performance.
https://github.com/ijl/orjson
"""
# Implement the Serializer.loads() and .dumps() APIs w/ orjson:
import orjson
from elasticsearch import SerializationError, JSONSerializer

Epic Games Lore vs. Anthropic Scion

Epic Games Lore and Anthropic Scion share a remarkably similar architectural direction: both replace Git's traditional distributed model with centralized, content-addressed storage, lightweight clients, sparse workspaces, and scalable backend services.

However, they optimize for fundamentally different workloads:

  • Lore: Massive repositories containing source code and large binary assets, particularly game development and VFX pipelines.
  • Scion: Extremely high-frequency source code changes, millions of CI checkouts, and large numbers of autonomous coding agents.

Sources: Lore architecture and Anthropic's Scion engineering article.

@sahirmpatel
sahirmpatel / spotify-ad-skipper.js
Created April 8, 2021 06:14
spotify tampermonkey script
// ==UserScript==
// @name Spotify ad skipper
// @version 1.0
// @namespace http://tampermonkey.net/
// @description Detects and skips ads on spotify
// @match https://*.spotify.com/*
// @grant none
// @run-at document-start
// @downloadURL https://gist.githubusercontent.com/Simonwep/24f8cdcd6d32d86e929004013bd660ae/raw
// @updateURL https://gist.githubusercontent.com/Simonwep/24f8cdcd6d32d86e929004013bd660ae/raw