Skip to content

Instantly share code, notes, and snippets.

@raphaelsaunier
raphaelsaunier / About Search.jpg
Created June 24, 2022 07:32 — forked from ryanlucas/About Search.jpg
Unlocking iPhone iOS 11 - WIP
About Search.jpg
name explain-diff-html
description Use when the user asks for a rich explanation of a code change, diff, branch, or PR. Produces HTML output.

Explain Diff

Please make me a rich, interactive explanation of the specified code change.

It should have these sections:

@youssf2005
youssf2005 / install-android-sdk-tools.sh
Created December 10, 2023 11:45 — forked from somoso/install-android-sdk-tools.sh
Install command line Android SDK tools and set up bash/zsh profile to allow tools to make use of new SDK tools
#!/usr/bin/env bash
SDK_LINUX=https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip
SDK_MAC=https://dl.google.com/android/repository/sdk-tools-darwin-4333796.zip
if [ -z ${JAVA_HOME+x} ]; then
echo "\$JAVA_HOME environmental variable is not set."
echo "Find the location of your Java directory, and then put it in your"
echo "~/.bash_profile (or any other shell equivalent)"
exit 0
@Samarth0211
Samarth0211 / README.md
Created March 28, 2026 05:00
100 Claude Secret Codes — prompt shortcuts that change how Claude responds. Interactive version: clskills.in/prompts

Claude Secret Codes — 100 Prompt Shortcuts

100 prompt shortcuts that change how Claude responds. Type any code at the start of your message.

Interactive searchable version with copy-to-clipboard: clskills.in/prompts

Writing & Style

Code What it does
@urakozz
urakozz / README.md
Last active July 25, 2026 22:31
Intel Arc Pro B70 - vLLM OneAPI 2026.1| Prefill 11000tok/s+ | Generation 90tok/s | MTP | XPU_GRAPH

Intel Arc B70: High-Performance vLLM (oneAPI 2026.1 + Triton XPU)

This repository contains the necessary setup instructions, docker configuration, and patch modifications to run highly optimized LLM inference on Intel XPU architectures using vLLM.

Everyone is buzzing that only NVIDIA RTX or AMD hardware can achieve elite inference speeds is outdated and Intel's software is not good enough (only if you use in 2026 software from 2025)

By leveraging the oneAPI 2026.1 toolchain, Triton XPU, and direct Intel XMX hardware acceleration, Intel GPUs deliver exceptional token-per-second throughput numbers on modern hybrid architectures.


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.

@lynsei
lynsei / deploy-your-own-saas.md
Last active July 25, 2026 21:04
[how to unpack an xpi | asar, reference] #asar #xpi #unpack #xpi-unpack #firefox-extension #userChrome.css #hack #userChrome.css does stuff

Everything I Know About UI Routing

Definitions

  1. Location - The location of the application. Usually just a URL, but the location can contain multiple pieces of information that can be used by an app
    1. pathname - The "file/directory" portion of the URL, like invoices/123
    2. search - The stuff after ? in a URL like /assignments?showGrades=1.
    3. query - A parsed version of search, usually an object but not a standard browser feature.
    4. hash - The # portion of the URL. This is not available to servers in request.url so its client only. By default it means which part of the page the user should be scrolled to, but developers use it for various things.
    5. state - Object associated with a location. Think of it like a hidden URL query. It's state you want to keep with a specific location, but you don't want it to be visible in the URL.
@Jabarabo
Jabarabo / githubpull.md
Last active July 25, 2026 21:02
Gist of a stolen gist
1 Prefix my+ 2
2 Suffix +online 6
3 Prefix the+ 3
4 Suffix +web 3
5 Suffix +media 5
6 Prefix web+ 3
7 Suffix +world 5
8 Suffix +net 3
9 Prefix go+ 2