Skip to content

Instantly share code, notes, and snippets.

@shoghicp
shoghicp / 0.6.1.txt
Created May 17, 2013 19:55
Minecraft: Pocket Edition 0.6.1 protocol
# Minecraft PE v0.6.1 alpha Protocol #9
# 49 identified Packets
[C ==> S] 0x82 LoginPacket (String, int, int)
[C <== S] 0x83 LoginStatusPacket (int)
[C ==> S] 0x84 ReadyPacket (bits[8])
[C <== S] 0x85 MessagePacket (String)
[C <== S] 0x86 SetTimePacket (long)
[C <== S] 0x87 StartGamePacket (long, int, int, int, float, float, float)
[C <== S] 0x88 AddMobPacket (int, int, float, float, float, byte, byte, Metadata)
@fangyuan99
fangyuan99 / gpt_checkout.user.js
Created May 10, 2026 09:22
gpt_checkout.user.js
// ==UserScript==
// @name GPT 支付链接生成器
// @namespace http://tampermonkey.net/
// @version 1.3.0
// @description 在 ChatGPT 页面生成各地区订阅支付链接(短链/长链)— Claude 美学
// @author https://github.com/fangyuan99
// @match https://chatgpt.com/*
// @match https://chat.openai.com/*
// @grant GM_setValue
// @grant GM_getValue
@xpn
xpn / clr_via_native.c
Created April 11, 2018 21:34
A quick example showing loading CLR via native code
#include "stdafx.h"
int main()
{
ICLRMetaHost *metaHost = NULL;
IEnumUnknown *runtime = NULL;
ICLRRuntimeInfo *runtimeInfo = NULL;
ICLRRuntimeHost *runtimeHost = NULL;
IUnknown *enumRuntime = NULL;
LPWSTR frameworkName = NULL;
@jonalling
jonalling / google-to-apple-maps.html
Last active August 10, 2026 12:16
HTML page for converting Google Maps exports into Apple Maps links
<!-- Created by Human Crafted (humancrafted.co) with help from GPT-o3-mini-high -->
<!-- This HTML file allows users to upload a CSV or GeoJSON file containing saved Google Maps places and view them in Apple Maps. -->
<!-- To use, save HTML file to a folder on your computer, open in a browser. Select your exported places file. -->
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Saved Places</title>
<style>

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.

@widilo
widilo / add_tags_and_categories_to_WordPress_pages.php
Last active August 10, 2026 12:14
How to add tags and categories to WordPress pages
<?php
/*
widilo®Cats4Pages // add tags and categories to WordPress pages
@see https://widilo.de/freebie-wie-du-schlagwoerter-und-kategorien-zu-deinen-wordpress-seiten-hinzufuegen-kannst/
@since 1.0.0
*/
function widilo_add_cats_to_pages() {
register_taxonomy_for_object_type( 'post_tag', 'page' );
register_taxonomy_for_object_type( 'category', 'page' );
}
@GlowScripts
GlowScripts / All of the eBooks
Created August 28, 2011 22:41
Almost 1,000 "For Dummies" eBooks that I have. :)
78 Tax Tips for Canadians for Dummies (ISBN - 0470676582)
A Family's Guide to the Military for Dummies (ISBN - 0470386975)
Access 2007 VBA Programming for Dummies (ISBN - 0470046538)
Access 2010 All-in-One for Dummies (ISBN - 0470532181)
Access Forms & Reports for Dummies (ISBN - 0764599658)
Access VBA Programming for Dummies (ISBN - 0764574116)
Accounting for Dummies (ISBN - 0470246006)
Accounting Workbook for Dummies (ISBN - 0471791458)
Acne for Dummies (ISBN - 0471746983)
Acrylic Painting for Dummies (ISBN - 047044455X)
@tkrajina
tkrajina / remove_accents.go
Created January 31, 2016 08:21
Golang remove accents
package main
import (
"fmt"
"unicode"
"golang.org/x/text/transform"
"golang.org/x/text/unicode/norm"
)
@PROGrand
PROGrand / FileExtensions.cs
Last active August 10, 2026 12:10
Enable file extensions view in Unity Project window.
using UnityEditor;
using UnityEngine;
using System.IO;
using System.Text;
using System.Collections.Generic;
using System.Reflection;
[InitializeOnLoad]
public class FileExtensionGUI
{
@Tosainu
Tosainu / cute_AA.txt
Last active August 10, 2026 12:09
顔文字詰め合わせ
あせ (・_・;) 顔文字
あせ (・∀・;) 顔文字
あせ (^ω^;;) 顔文字
あせ (゚∀゚ ;) 顔文字
あせ (゚∀゚ ;)タラー 顔文字
あたふた ヽ(´・ω・`ヽ) 顔文字
あつい (。>﹏<) 顔文字
あつい (。>﹏<)あㄘ”ゅい 顔文字
あつい (>﹏<。Ξ。>﹏<) 顔文字
あつい ι(´Д`υ) 顔文字