Skip to content

Instantly share code, notes, and snippets.

@ftahmed
ftahmed / extract_otp_secrets.md
Created July 6, 2025 10:01 — forked from hainh/extract_otp_secrets.md
Extract OTP secret from Google Authenticator in a simple way

This show how to extract OTP secret from Google Authenticator

  1. Export your account from Authenticator app then use other phone to scan the QR code displayed
  2. Your text from QR code has form of: otpauth-migration://offline?data=thisIsSomeDataInBase64AndUrlEncoded%2B%3D
  3. Convert the data (all after otpauth-migration://offline?data=) to base64 by F12 in Chrome/Edge, in Developer console enter the following: decodeURIComponent('thisIsSomeDataInBase64AndUrlEncoded%2B%3D') image
  4. Copy the result string (without quotes) to https://protobuf-decoder.netlify.app/ you will get image
  5. Notice content at Byte range 0-12 is your secret key, copy that string 23 f8 58 9a 0d a6 93 f1 22 ec to https://cryptii.com/pipes/hex-to-base32 ![image](https://user-images.githubusercontent.com/2195141/24266984
@hasezoey
hasezoey / koreader_on_tolino.md
Last active September 22, 2026 13:11
Install KOReader on a Tolino device (Vision 5)

Install KOReader on a Tolino Device

Tolino Debug Menu codes

For KOReader (or any other APK) to be installed on a Tolino device, the debug menu has to be enabled:

  • if the tolino is on system version 14, search for code 124816 source
  • if the tolino is on system version 15, search for code 1123581321 source
  • if the tolino is on system version 16, search for code 112358132fb source

Note: "searching" as in the search for books on the tolino itself (the magnifying glass in the top bar)

@rajatkumar1011
rajatkumar1011 / README.md
Last active September 22, 2026 13:03
Unlimited Vibe Coding Hack! Ideate. Describe. Create.

Get $1000+ Worth of Free AI API Credits with AgentRouter and 13 Other Platforms — [Full Claude Desktop Setup]

Most people are paying for Claude Pro when they don't have to. These 14 platforms give you free API credits on signup, some with daily top-ups too. You plug your key into Claude Desktop's developer mode and get the same Opus 5 / Opus 4.8 experience — no subscription needed.

Note: GitHub account must be at least 1 year old to Sign Up.
[Some platforms may require more than one year.]

Free Credit Platforms

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.

@mpvii
mpvii / opencode-relax-beta.jsonc
Last active September 22, 2026 12:45
OpenCode V2 config — Relax AI (Beta) provider only
{
"$schema": "https://opencode.ai/config.json",
"model": "relax-beta/DeepSeek-V4-Pro",
"providers": {
"relax-beta": {
"name": "Relax AI (Beta)",
"package": "@opencode/ai/providers/openai-compatible",
"settings": {
"baseURL": "https://api.beta.relax.ai/v1"
},
@zerofltexx
zerofltexx / cachyos-limine-luks-tpm-auto-unlock.md
Created November 19, 2025 13:53
Limine + LUKS2 + TPM2 Auto-Unlock Guide (CachyOS/Arch Linux)

Limine + LUKS2 + TPM2 Auto-Unlock Guide (CachyOS/Arch Linux)

Working configuration for:

  • Limine bootloader
  • LUKS2 encrypted root partition
  • btrfs with Snapper snapshots
  • dracut (required for btrfs snapshot boot)
  • systemd-based initramfs
  • Secure Boot enabled
  • TPM2 auto-unlock using PCR 0+7
@itxtoledo
itxtoledo / typebot-coolify.yaml
Last active September 22, 2026 12:37
Docker Compose for deploying a Typebot instance on Coolify with little to no configuration
x-typebot-common: &typebot-common
depends_on:
postgresql:
condition: service_healthy
# redis:
# condition: service_healthy
maildev:
condition: service_started
x-typebot-env: &typebot-env
@BandarHL
BandarHL / FixTwitterKeychain.m
Created August 15, 2020 18:05
Fix Twitter Login for non-JB (IPA)
%hook TFSKeychain
- (NSString *)providerDefaultAccessGroup {
NSDictionary *query = [NSDictionary dictionaryWithObjectsAndKeys:
(__bridge NSString *)kSecClassGenericPassword, (__bridge NSString *)kSecClass,
@"bundleSeedID", kSecAttrAccount,
@"", kSecAttrService,
(id)kCFBooleanTrue, kSecReturnAttributes,
nil];
CFDictionaryRef result = nil;
OSStatus status = SecItemCopyMatching((__bridge CFDictionaryRef)query, (CFTypeRef *)&result);
@karpathy
karpathy / microgpt.py
Last active September 22, 2026 12:29
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
@myself659
myself659 / Adobe Acrobat Pro DC Keygen
Created March 12, 2025 05:58
Adobe Acrobat Pro DC 24.5.1.4 Crack + Serial Key [Latest 2024]
Adobe Acrobat Pro DC License Key