Skip to content

Instantly share code, notes, and snippets.

@gwarnes-mdsol
gwarnes-mdsol / gdiff
Last active September 11, 2026 20:19 — forked from miner/gdiff
Use FileMerge as git difftool on Mac OS X
#!/bin/bash
#
# A git difftool for Mac OS X that uses FileMerge from XCode
#
# source: https://gist.github.com/gwarnes-mdsol/b0aff96fbb7a4c92e570e7b03daa7e1b
#
# Setup:
#
# 1. Copy this file to a known path, e.g. $HOME/bin/gdiff
# 2. Make the file executable:

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.

@guyjames
guyjames / omarchy-parallels-arm64.md
Last active September 11, 2026 19:55
Omarchy (Arch Linux) on Parallels/Apple Silicon aarch64 — complete install guide with ARM fixes

Omarchy on Arch Linux ARM (aarch64) in a Parallels VM on Apple Silicon

A complete walkthrough of installing Omarchy (the Hyprland-based Arch distro) on an ARM64 Parallels virtual machine on an Apple Silicon Mac — including every ARM-specific fix needed, since official Omarchy only supports x86_64.

This was done on: Mac Mini M4 (1920x1080 display), Parallels VM "archboot" (64G disk, 8G RAM), Arch Linux ARM aarch64, starting from a base system installed per mattmoore.io's Arch Linux Parallels guide. Final result: Omarchy 3.x desktop with SDDM + Hyprland, shared clipboard, correct display resolution.

1. Use the ARM fork

Official Omarchy is x86_64-only. Use Jonathan Kinney's ARM fork (tested specifically on Parallels archboot VMs):

@ChintanTalapara
ChintanTalapara / PID_Symbol_Library_Complete_Reference.md
Created March 19, 2026 02:14
Complete P&ID Symbol Library & Drafting Protocols Reference - ISA 5.1, ISO 10628-2, Open-Source SVG Libraries, Tag Naming, Line Designation

P&ID Symbol Library & Drafting Protocols

Complete Reference Document

Standards Covered: ISA 5.1 | ISO 10628-2 | ISO 14617 | PIP PIC001
Compiled: March 2026


Table of Contents

@eunjiliang3
eunjiliang3 / Symphony of the Serpent.md
Created September 11, 2026 18:59
Symphony of the Serpent PC Game [v.72073]

Symphony of the Serpent is the next popular adult game after NLT Media’s The Genesis Order. The game’s story begins with a young man who finds himself lost in a big city, far from home, and in possession of a mysterious relic.

@aaronparker
aaronparker / Disable-AzureADUserPasswordExpiration.ps1
Last active September 11, 2026 19:44
Disable password expiration for an individual Azure AD account
# Install the Azure AD module and log into Azure AD
Install-Module AzureADPreview
Connect-AzureAD
# Get details of the specific account
$user = Get-AzureADUser -SearchString "user@domain.com"
# View password policy on the acccount
$user | Select-Object @{N = "PasswordNeverExpires"; E = {$_.PasswordPolicies -contains "DisablePasswordExpiration"}}
#include <stdlib.h>
#include <stdint.h>
#include <stdio.h>
#include <time.h>
#include <string.h>
#include <assert.h>
struct lbp_serializer
{
int32_t DataVersion;
@sundowndev
sundowndev / GoogleDorking.md
Last active September 11, 2026 19:36
Google dork cheatsheet

Google dork cheatsheet

Search filters

Filter Description Example
allintext Searches for occurrences of all the keywords given. allintext:"keyword"
intext Searches for the occurrences of keywords all at once or one at a time. intext:"keyword"
inurl Searches for a URL matching one of the keywords. inurl:"keyword"
allinurl Searches for a URL matching all the keywords in the query. allinurl:"keyword"
intitle Searches for occurrences of keywords in title all or one. intitle:"keyword"
@robbin
robbin / paseo_dsh_integration.md
Last active September 11, 2026 19:32
Integrate the DeepSeek Harness into Paseo Guide

DSH 接入 Paseo 配置指南

2026-09-10 实操记录并逐项验证。环境:macOS(mac-studio.local)、Paseo 0.8.0、DSH @deepseek-ai/dsh 0.1.5-rc.1。

结论速览

DeepSeek Harness(DSH)不是只有浏览器 Web 端口。dsh web 只是 --profile web 的别名,DSH 的官方入口模式里本来就有一个标准 ACP server: