Skip to content

Instantly share code, notes, and snippets.

var output = {
rewards: []
}
if (ikContext.account.isDraft == true) {
var sku = "777"
var itemPresent = ikContext.account.transactionLines.find(function(line) {
return line.itemSku===sku;
});
@North-West-Wind
North-West-Wind / extract_splash_screen.py
Created November 18, 2023 05:41
Extract splash screen from Atmosphere's package3
from PIL import Image
import sys, os
from struct import pack as pk
from math import floor
SPLASH_SCREEN_WIDTH = 1280
SPLASH_SCREEN_HEIGHT = 720
SPLASH_SCREEN_STRIDE = 768
@joeblau
joeblau / subvox-prompt.md
Created November 1, 2026 00:06
subvox prompt

we want to build a prototype mac app with my airpods pros

For AirPods Pro 3, Apple exposes motion, audio, and heart-rate data to third-party developers, but not every sensor’s raw output.

1. Developer-accessible sensors

Sensor Developer access API Raw data?
Accelerometer (motion) ✅ Yes Core Motion Processed
Gyroscope / rotation ✅ Yes Core Motion Processed
@motalim-ai
motalim-ai / الرسائل-الثلاث-لبناء-أي-مشروع.md
Created October 30, 2026 16:25
الرسائل الثلاث التي بنينا بها زاجل: نسخة لأي مشروع (قناة متعلم)

الرسائل الثلاث التي بنينا بها «زاجل»: نسخة لأي مشروع

الوكيل لا يفهم مشروعك من رسالة واحدة طويلة. يفهمه من ملفات ثابتة في المستودع يقرؤها في بداية كل جلسة، ثم رسالة قصيرة لكل مرحلة.

  • الرسالة 1 مرة واحدة فقط، في جلسة جديدة داخل فولدر فارغ. تكتب ملفات الأساس، ولا تكتب أي كود.
  • الرسالة 2 لكل مرحلة، في جلسة جديدة كل مرة. غيّر رقم المرحلة فقط.
  • الرسالة 3 للمراجعة، في جلسة منفصلة، قبل دمج كل مرحلة.
@iamhenry
iamhenry / Software Design Document (SDD).md
Last active November 2, 2026 00:40
Software Design Document Template

Software Design Document (SDD)

1. Introduction

  • Purpose: [Describe the purpose of this document. E.g., to define the design of the XYZ system.]
  • Scope: [Summarize the system's objectives and what is in/out of scope.]
  • Definitions and Acronyms: [List and define important terms.]
  • References: [Link to related documents: requirements, API specs, etc.]

@mjkstra
mjkstra / arch_linux_installation_guide.md
Last active November 2, 2026 00:39
A modern, updated installation guide for Arch Linux with BTRFS on an UEFI system

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.

@Seraph-Genesis
Seraph-Genesis / README.md
Last active November 2, 2026 00:34 — forked from 101arrowz/README.md
Download a McGraw Hill Education eTextbook

Download a McGraw Hill Education eTextbook

If you purchase a textbook from McGraw Hill, the website to view it is clunky and only works on some devices. You can't go to specific page numbers, the search is super slow, etc. That's why I wrote this script to download the textbook as an ePub file for your own viewing.

Using this script is 100% legal. McGraw Hill publicly hosts their ebooks online in order for their web client to download it. Moreover, to use it, you must already have purchased the book you would like to download, so it is legally yours to use as you please. However, it IS illegal to use this for piracy purposes. DO NOT DISTRIBUTE ANY TEXTBOOKS YOU DOWNLOAD USING THIS SCRIPT.

@tsl0922
tsl0922 / .tmux.conf
Last active November 2, 2026 00:32
vim style tmux config
# vim style tmux config
# use C-a, since it's on the home row and easier to hit than C-b
set-option -g prefix C-a
unbind-key C-a
bind-key C-a send-prefix
set -g base-index 1
# Easy config reload
bind-key R source-file ~/.tmux.conf \; display-message "tmux.conf reloaded."
@nphn825
nphn825 / studioninja.md
Created March 20, 2026 02:21
Studio Ninja Review: The Photography CRM That Runs Your Business While You're Behind the Lens

Studio Ninja Review: The Photography CRM That Runs Your Business While You're Behind the Lens

If you're a photographer and you're still tracking clients in a spreadsheet, sending invoices through Gmail, and chasing down contracts via email — this article is going to feel uncomfortably familiar.

Studio Ninja is a business management app built specifically for photographers and videographers. Not a generic CRM dressed up with a camera icon. Actually built by photographers, for photographers — and it shows.

👉 Start your free 7-day trial (no credit card required)

image