Skip to content

Instantly share code, notes, and snippets.

@Fadi002
Fadi002 / Crack Sublime Text.md
Created May 23, 2025 22:20
Crack Sublime Text 4.2.0.0 Build 4200 [latest version]
import sys
import os

NOP = 0x90
offsets_and_values = {
    0x00030170: 0x00,
    0x000A94D0: NOP, 0x000A94D1: NOP, 0x000A94D2: NOP, 0x000A94D3: NOP, 0x000A94D4: NOP, 0x000A94D5: NOP, 0x000A94D6: NOP, 0x000A94D7: NOP, 0x000A94D8: NOP, 0x000A94D9: NOP, 0x000A94DA: NOP, 0x000A94DB: NOP, 0x000A94DC: NOP, 0x000A94DD: NOP, 0x000A94DE: NOP, 0x000A94DF: NOP, 0x000A94E0: NOP, 0x000A94E1: NOP, 0x000A94E2: NOP, 0x000A94E3: NOP, 0x000A94E4: NOP, 0x000A94E5: NOP, 0x000A94E6: NOP, 0x000A94E7: NOP, 0x000A94E8: NOP, 0x000A94E9: NOP, 0x000A94EA: NOP, 0x000A94EB: NOP, 0x000A94EC: NOP, 0x000A94ED: NOP, 0x000A94EE: NOP, 0x000A94EF: NOP, 0x000A94F0: NOP, 0x000A94F1: NOP, 0x000A94F2: NOP, 0x000A94F3: NOP, 0x000A94F4: NOP, 0x000A94F5: NOP, 0x000A94F6: NOP, 0x000A94F7: NOP, 0x000A94F8: NOP, 0x000A94F9: NOP, 0x000A94FA: NOP, 0x000A94FB: NOP, 0x000A94FC: NOP, 0x000A94FD: NOP, 0x000A94FE: NOP, 0x000A94FF: NOP, 0x000A9500: NOP, 0x000A9501: NOP, 0x000A9502: NOP, 0x000A9503: NOP, 0x000A9504: NOP, 0x000A9505: NOP, 0x000A9506: NO
@YewFence
YewFence / pigai-enable-paste.user.js
Created October 21, 2026 07:30
ๆ‰นๆ”น็ฝ‘่งฃ้™ค็ฆๆญข็ฒ˜่ดด
// ==UserScript==
// @name ๆ‰นๆ”น็ฝ‘่งฃ้™ค็ฆๆญข็ฒ˜่ดด
// @namespace https://yewfence.github.io
// @version 1.0.0
// @description ่งฃ้™คๆ‰นๆ”น็ฝ‘ๅ†™ไฝœ้กต็š„็ฒ˜่ดด/ๅณ้”ฎ/้€‰ๆ‹ฉ/ๆ‹–ๆ‹ฝ้™ๅˆถ๏ผˆ่€ๅธˆๅœจไฝœๆ–‡่ฆๆฑ‚้‡Œๅผ€ไบ†"็ฆๆญข็ฒ˜่ดด"ๆ—ถ็”จ๏ผ‰
// @author YewFence
// @match https://www.pigai.org/*
// @run-at document-start
// @grant none
// ==/UserScript==
@xiety
xiety / VideoProcessor.csx
Last active October 21, 2026 12:38
Process video file frame by frame into another video file using ImageSharp, cv2, ffmpeg
#! "net9.0"
#r "nuget: OpenCvSharp4, 4.10.0.20241108"
#r "nuget: OpenCvSharp4.runtime.win, 4.10.0.20241108"
#r "nuget: SixLabors.ImageSharp, 3.1.6"
#r "nuget: FFMpegCore, 5.1.0"
#r "nuget: System.Text.Json, 9.0.0"
#nullable enable
using System.Runtime.InteropServices;

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@acapola
acapola / aes-ni.c
Created August 31, 2015 14:42
AES128 how-to using GCC and Intel AES-NI
#include <stdint.h> //for int8_t
#include <string.h> //for memcmp
#include <wmmintrin.h> //for intrinsics for AES-NI
//compile using gcc and following arguments: -g;-O0;-Wall;-msse2;-msse;-march=native;-maes
//internal stuff
//macros
#define DO_ENC_BLOCK(m,k) \
do{\
@embedding-shapes
embedding-shapes / var-mnt-nas.mount
Created October 1, 2026 12:46
Mount NFS share in SteamOS (Steam Frame) that survives system updates
# Place in /etc/systemd/system/var-mnt-nas.mount
# Run `sudo systemctl daemon-reload` then:
# `sudo systemctl enable --now var-mnt-nas.mount`
# Replace "/tank/data" with your remote location
# Replace "/var/mnt/nas" where you want to mount it locally
# Replace "20.0.0.1" with the IP you use for the NAS/networked storage
[Unit]
Description=NAS data
[Mount]
@supersonictw
supersonictw / ollama-export.sh
Last active October 21, 2026 12:30
Ollama Model Export Script
#!/bin/bash
# Ollama Model Export Script
# Usage: bash ollama-export.sh vicuna:7b
# SPDX-License-Identifier: MIT (https://ncurl.xyz/s/o_o6DVqIR)
# https://gist.github.com/supersonictw/f6cf5e599377132fe5e180b3d495c553
# Interrupt if any error occurred
set -e
# Declare
@kellydavid
kellydavid / yubikey_ssh.md
Last active October 21, 2026 12:18
Set up Yubikey (5C NFC) for SSH authentication
@mathix420
mathix420 / medium.user.js
Last active October 21, 2026 12:16
User Script Bypass Medium / NYT / WaPo / Bloomberg / Reuters / Economist / FT/ Paywall - Working late 2026 - Click the RAW button to install
// ==UserScript==
// @name Freedium Article Redirect
// @namespace Violentmonkey Scripts
// @run-at document-start
// @match *://medium.com/*
// @match *://*.medium.com/*
// @match *://nytimes.com/*
// @match *://*.nytimes.com/*
// @match *://washingtonpost.com/*
// @match *://*.washingtonpost.com/*
@demnbrooo
demnbrooo / README.md
Last active October 21, 2026 12:15
๊ทน์žฅํŒ ์น˜์ด์นด์™€: ์ธ์–ด ์„ฌ์˜ ๋น„๋ฐ€ (UHD,์ „์ฒด-์˜ํ™”)_๋‹ค์‹œ;๋ณด๊ธฐ ํ’€;์˜์ƒ

๊ทน์žฅํŒ ์น˜์ด์นด์™€: ์ธ์–ด ์„ฌ์˜ ๋น„๋ฐ€ (.2026.) ๋‹ค์‹œ;๋ณด๊ธฐ ์ŠคํŠธ๋ฆฌ๋ฐ ์ •๋ณด

โญ๊ทน์žฅํŒ ์น˜์ด์นด์™€: ์ธ์–ด ์„ฌ์˜ ๋น„๋ฐ€ ๋ฌด๋ฃŒ;๋ณด๊ธฐ ์ „์ฒด;๋ณด๊ธฐ ๋ฌด๋ฃŒ๋กœ ์‹œ์ฒญ ๊ณต์‹ ํ™ˆํŽ˜์ด์ง€ VOD ๋ฐ ํ‹ฐ๋น™(TVING), ์›จ์ด๋ธŒ(Wavve)์—์„œ ๋‹ค์‹œ ๋ณด๊ธฐ๊ฐ€ ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค.

์ด ํŽ˜์ด์ง€์—์„œ๋Š” ๊ทน์žฅํŒ ์น˜์ด์นด์™€: ์ธ์–ด ์„ฌ์˜ ๋น„๋ฐ€ ์˜ ๊ธฐ๋ณธ ์˜ํ™” ์ •๋ณด์™€ ๊ฐœ๋ด‰ ๊ด€๋ จ ๋‚ด์šฉ, ์žฅ๋ฅด, ์ถœ์—ฐ์ง„, ์ž‘ํ’ˆ ํŠน์ง• ๋ฐ ํ–ฅํ›„ ๊ณต๊ฐœ์™€ ๊ด€๋ จํ•ด ํ™•์ธํ•  ์ˆ˜ ์žˆ๋Š” ์ •๋ณด๋ฅผ ์ •๋ฆฌํ–ˆ์Šต๋‹ˆ๋‹ค.

"Chiikawa the Movie: The Secret of the Mermaid Island"