Skip to content

Instantly share code, notes, and snippets.

@karpathy
karpathy / microgpt.py
Last active November 2, 2026 02:49
microgpt
"""
The most atomic way to train and run inference for a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp
@hackerZz6
hackerZz6 / Kiwi X Hub
Last active November 2, 2026 02:38
aimlock
local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/xHeptc/Kavo-UI-Library/main/source.lua"))()
local Window = Library.CreateLib("Kiwi X V.2 ", "Serpent")
local Tab = Window:NewTab("Aimlock")
local Section = Tab:NewSection("Aimlock")
Section:NewButton("Aimlock", "Aimlock", function()
--[[
This source is free to use and hopefully a good source for new script developers to learn how to make an aimlock or silent aim.
* If this is used in any script, please credit me for it.
@skorotkiewicz
skorotkiewicz / decode-kernel-panic.py
Last active November 2, 2026 02:36
decode kernel panic from QR Code photo
#!/usr/bin/env python3
"""
Scan a Linux panic QR code with ZXingReader and decompress its crash log.
./decode-kernel-panic.py screenshot.png -o panic.log
"""
import argparse
import json
from pathlib import Path
import subprocess
@nghminh163
nghminh163 / _idapro9_macarm_patch_guide.md
Created October 29, 2024 09:44 — forked from sagittarius-a/_idapro9_macarm_patch_guide.md
Guide: Patching IDA Pro 9.0 BETA

Patching the IDA Pro 9.0 BETA

Note

Obligatory disclaimer: this is for educational purposes only. I am not responsible for any damages caused by following this guide, or using any of the script(s) herein.

This guide prioritizes arm64 macOS, but may also work for other platforms.


Step 1 - Patching dylibs

@xirixiz
xirixiz / OpenWRT TTL manipulation on a travel router explained.md
Last active November 2, 2026 02:32
OpenWRT TTL manipulation on a travel router explained

OpenWRT TTL manipulation on a travel router explained


Setting the TTL to 65 can help solve OpenWRT hotel captive portal issues on a travel router because of the way captive portals often track and manage connected devices.

Here’s an explanation of the key reasons:

Device Differentiation:
Captive portals typically recognize and manage devices based on their MAC addresses and IP addresses. When you connect a device (like a laptop or phone) directly to the hotel's network, the captive portal captures the MAC address of that device and redirects it to a login page.
@liquidguru
liquidguru / kindle-pw6-bluetooth-page-turner.md
Last active November 2, 2026 02:29
Bluetooth Page Turner for Kindle Paperwhite 6 (12th Gen)

Bluetooth Page Turner for Kindle Paperwhite 6 (12th Gen)

Firmware 5.18.5 · KOReader · AB Shutter 3

Written by Kaj Maney, April 2026 · Major revisions May and August 2026 A working Bluetooth page turner for the PW6 (MT8110 "Bellatrix") platform.

⚠️ Update — April 2026: An upstream fix is in progress that may significantly simplify this setup in future KOReader releases. @zampierilucas (the kindle-hid-passthrough author) has merged a uevent listener for input device hotplug into koreader-base. Once this lands in a KOReader release, UHID keyboards created by kindle-hid-passthrough may be detected natively, potentially allowing direct key-based page turning without the HTTP API workaround. If you're setting this up after the next KOReader release, test native key input first before following this guide. This guide remains valid for KOReader v2026.03 and earlier.

**⚠️ Update — August 2026: the

# author: eterna1_0blivion & soredake
# Get a link to the Registration Entries file
$link = "https://gist.github.com/eterna1-0blivion/70c1e5b14c7cfa8c6b6d574eb38fd27e/raw/context_pwsh_fix.reg"
# Install them into Registry using PowerShell
Invoke-WebRequest -Uri "$link" -OutFile "$env:TEMP/context_pwsh_fix.reg"
reg import "$env:TEMP/context_pwsh_fix.reg"
# Notify the user before exiting the program
@0x8008
0x8008 / honor.md
Created August 25, 2026 14:26
Honor firmware links

Honor firmware links

Decrypted from firmware_links_cache.json. Entries: 16752.

Model name Version Download
PCManager-ARM64 18.0.1.59 Download
ABR-L03 9.0.0.253 Download
ABR-L03 9.0.0.254 Download
ABR-L03 9.0.0.261 Download
@forsyth47
forsyth47 / accounts.json
Created October 30, 2025 03:40
Prism Accounts.json File for Offline Account
{
"accounts": [
{
"profile": {
"capes": [
],
"id": "49787d61f64b3b94a8f13d331a9ce421",
"name": "XYZ",
"skin": {
"id": "",
@kibotu
kibotu / prompt-injections.md
Last active November 2, 2026 02:19
Prompt Injection & Jailbreak Techniques — Comprehensive Reference

Prompt Injection & Jailbreak Techniques — Comprehensive Reference

Purpose & scope. A defensive/educational knowledge base cataloguing known prompt-injection and jailbreak patterns, the models/systems they have affected, and the defenses against them. Compiled from primary literature (arXiv papers, vendor disclosures) and security research, June 2026.

How to read this. Every technique lists: how it works, an illustrative structural skeleton (the shape of the attack, not a weaponized payload), the models/systems it was reported against, and its current status. Examples are deliberately defanged. >