Skip to content

Instantly share code, notes, and snippets.

@hoai
hoai / Visual Studio 2022 Product Key
Created March 12, 2024 07:47
Visual Studio 2022 Enterprise Product key
Visual Studio 2022
Enterprise :
VHF9H-NXBBB-638P6-6JHCY-88JWH
Professional:
TD244-P4NB7-YQ6XK-Y8MMM-YWV2J
@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active November 30, 2026 03:59
Conventional Commits Cheatsheet
@hijal
hijal / rest-api-response-format.md
Created December 15, 2022 02:45 — forked from igorjs/rest-api-response-format.md
REST API response format based on some of the best practices
@onlurking
onlurking / programming-as-theory-building.md
Last active November 30, 2026 03:55
Programming as Theory Building - Peter Naur

Programming as Theory Building

Peter Naur

Peter Naur's classic 1985 essay "Programming as Theory Building" argues that a program is not its source code. A program is a shared mental construct (he uses the word theory) that lives in the minds of the people who work on it. If you lose the people, you lose the program. The code is merely a written representation of the program, and it's lossy, so you can't reconstruct

@Samraaj
Samraaj / 00-START-HERE.md
Created October 25, 2026 21:45
Build a beautiful TV home screen with AI — Samraaj’s prompt, camera watcher workflow, and Samsung / Android TV references

Give your TV a beautiful new home screen

The expanded prompt from Samraaj's TV makeover video. Identify your TV, give your coding agent eyes through a phone camera, then build and install a home screen for the platform you actually own.

Start here

  1. Have your TV, its remote, a computer, and a phone ready. Put the TV and computer on the same trusted home network.
  2. Open a coding agent on your computer with permission to work with local files and development tools, and the ability to inspect images. A text-only chat cannot deploy to your TV by itself.
  3. Open 01-TV-MAKEOVER-PROMPT.md below, copy its entire contents, and paste it into the agent. Fill in any preferences you already know; leave everything else as unknown.
  4. Let the agent identify the hardware first. It will then build the camera watcher, show you a QR code, and ask you to grant camera access and point your phone at the TV.
@joeblau
joeblau / macos-ai-cleanup.sh
Created November 29, 2026 17:32
Speed up your Mac by turn off Apple Intelligence
#!/bin/bash
# macOS AI / performance cleanup script
# Disables Apple Intelligence agents, stops Spotlight indexing,
# clears Time Machine local snapshots, and excludes common dev caches.
#
# Usage:
# bash macos-ai-cleanup.sh # check only: report what needs fixing
# bash macos-ai-cleanup.sh --fix # apply all fixes
# bash macos-ai-cleanup.sh --light # skip the background agents (Siri, suggestions,
# # Biome, Screen Time, ...); core checks only
@dexhorthy
dexhorthy / the-no-ai-slop-manifesto.md
Last active November 30, 2026 03:55
The No AI Slop Manifesto

No AI Slop: A Manifesto

Written by the speakers and attendees of AIE Code Summit 2026

In 2001, 17 software engineers and leaders got together at a ski lodge in Snowbird, Utah to understand the biggest challenge of their time: heavyweight, documentation-driven software development processes.

Out of this we got the Agile Manifesto, four values and twelve principles that changed how most of the industry builds software.

Today we convene to build our own manifesto - the No AI Slop manifesto.

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.

@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active November 30, 2026 03:37
Complete Recent Discord Quest

Caution

As of August 26th 2026, Discord has started suspending quest access of people caught automating quest completion.

Some users have received the following system message:

image

There isn't much I can do to make the script undetected, so use it at your own risk, as you WILL get flagged by doing so.

Complete Recent Discord Quest

@mayufo
mayufo / 验证中国身份证 前6位对应地区码
Created January 16, 2018 10:12
验证中国身份证 前6位对应地区码
var GB2260 = {
"110000": "北京市",
"110100": "北京市市辖区",
"110101": "北京市东城区",
"110102": "北京市西城区",
"110103": "北京市崇文区",
"110104": "北京市宣武区",
"110105": "北京市朝阳区",
"110106": "北京市丰台区",
"110107": "北京市石景山区",