Skip to content

Instantly share code, notes, and snippets.

@petergs
petergs / README.md
Last active October 26, 2026 23:57
Entra ID First-Party Microsoft Applications

Entra ID First Party Microsoft Applications

csv of pre-consented first-party applications listed via the servicePrincipals endpoint

The list (microsoft-first-party-applications.csv) can be generated via

mgc service-principals list --all --filter "appOwnerOrganizationId eq f8cdef31-a31e-4b4a-93e4-5f571e91255a" --count true --consistency-level eventual --select appId,displayName | jq -r '.value[] | [.appId, .displayName] | @csv'

This list is more extensive, but is missing entries compared to this page from Microsoft Documentation: Verify first-party Microsoft applications in sign-in reports. These applications are captured in applications-from-docs.csv.

@quatric
quatric / WII-CONTROLLER-PORTING-GUIDE.md
Last active October 26, 2026 23:56
Wii Controller Patching Guide: GameCube & Classic Controller ports, plus automated Dolphin testing (porting guide)

Wii Controller Patching Guide: GameCube & Classic Controller ports

A practical guide to adding alternative controller support to Wii games that only support the Wii Remote (+ Nunchuk). It covers two complementary approaches plus a testing workflow:

Part Topic
A. §1–10 GameCube controller support, explained through the Barrel Blast patch (SI polling, KPAD hooks, DK Bongos), plus the City Folk port (§8)
B. §11 Classic Controller hacks: finding KPAD symbols in Dolphin, button injectors, IR pointer, tilt, fake shakes, Nunchuk-error removal, left stick as Nunchuk stick
C. §12 Automated testing in Dolphin with no one holding a controller
@wojteklu
wojteklu / clean_code.md
Last active October 26, 2026 23:53
Summary of 'Clean code' by Robert C. Martin

Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.


General rules

  1. Follow standard conventions.
  2. Keep it simple stupid. Simpler is always better. Reduce complexity as much as possible.
  3. Boy scout rule. Leave the campground cleaner than you found it.
  4. Always find root cause. Always look for the root cause of a problem.

Design rules

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.

@naim149
naim149 / GH-600-public-study-guide.md
Created May 24, 2026 15:08
GH-600 Public Study Guide

GH-600 Public Study Guide

Markdown-only workbook for Exam GH-600: Developing in Agentic AI Systems.

Last updated: May 24, 2026.

This version is organized around the official GH-600 domains. Each domain explains the concepts, shows the GitHub implementation artifacts, and includes examples you should be able to read in YAML, Markdown, CLI output, PR timelines, and audit logs.

Public sharing note: this guide is not an exam dump and does not contain real exam questions or answer choices. It is a structured study workbook built from official Microsoft and GitHub documentation, with practical examples written for learning and review.

@quepasaeltoro
quepasaeltoro / CurseForge-NoAds.md
Created October 17, 2026 07:39
Hide CurseForge ads from the launcher

CurseForge (no ads)

Starts the CurseForge desktop app for Windows with the ad panel on the right hidden. No CurseForge files are changed.

Install

  1. On this page, click Raw in the top right corner of the CurseForge-NoAds.ps1 box below.
  2. Press Ctrl+A to select all the text, then Ctrl+C to copy it.
  3. Open Notepad and press Ctrl+V to paste.
  4. Click File → Save as and:
@Hana-ame
Hana-ame / 去AI味提示词.md
Last active October 26, 2026 23:35
#去AI味 #写作约束 #humanizer #中文写作 #prompt 句式禁则+活人感判据+技术摘要风格

去 AI 味写作约束方案

适用于所有生成文本(对话回复、报告、文案、论文)。两层结构:硬性禁则(句式/态度层,违反即不合格)+ 活人感要求(风格层,达标判据)。

基本原则(preservation-first)

  • 只去除模板结构与 AI 痕迹,不发明事实、例子、数据、玩笑或个人经历来「装人」。
  • 保留原文含义、立场、事实与语域(正式/随意程度)。
  • 术语、引用、变量、审慎措辞必须原样保留;缺证据的论断应弱化,而不是补一个来源。
  • 宁可不改,不为了「去味」做无意义的同义词替换。

Artix Linux — Complete System Optimization Guide

Warning: This guide contains system-level modifications. Some steps are irreversible or can render your system unbootable. Read every section fully before executing any command. Know what you are doing, or do not proceed.

All examples are written for runit. Adapt service commands for OpenRC or s6 as needed.


Index