Skip to content

Instantly share code, notes, and snippets.

@muhadmr
muhadmr / gist:3fe1431076d9946f4183b82887763c9b
Last active July 8, 2026 01:53
A command file for use with AI coding harness, to automate creation of structured changelog entries.
---
description: Append release notes to RELEASE_NOTE.md from staged/unstaged changes
release-note is a custom Kilo CLI command that automates the creation of structured changelog entries.
It scans the working directory for staged and unstaged changes (git diff --name-only HEAD), presents a summary of modified files,
then interactively prompts for a version number, a descriptive heading, and one-line summaries for each change group.
It maps each change to the relevant files and appends the entry — version, heading, numbered descriptions,
and file paths — directly under the # CHANGELOG header in RELEASE_NOTE.md, with the newest entry always at the top.
This ensures every release is consistently documented without manual formatting.
@Galzi1
Galzi1 / agent-skills-sdlc.md
Last active July 8, 2026 02:30
Useful agent skills categorized by SDLC phases
@pointybeard
pointybeard / mariadb-index-maintenance.md
Created March 9, 2025 01:15
MariaDB Index Maintenance & Performance Cheatsheet

MariaDB Index Maintenance & Performance Cheatsheet 🛠️🚀

1️⃣ Check for Long-Running Queries

SHOW FULL PROCESSLIST;
  • Look for queries with high Time values (e.g., >5s).
  • Identify queries stuck in "Sending data", "Copying to tmp table", or "Waiting for table lock".
@muhadmr
muhadmr / connectToApacheDS.cs
Created October 9, 2023 03:51
Connect to ApacheDS using C# and Novell Directory Ldap library
// HOWTO
// 1. Bring up docker, get the image xaked/apacheds:latest
// 2. Make sure to expose the port, here i use 10389
// 3. Open Apache Directory Studio, try connect to the server. use username = uid=admin,ou=system, password = secret (from xaked/apacheds)
// 4. If can connect, create a few entries. see http://krams915.blogspot.com/2011/01/ldap-apache-directory-studio-basic.html as example
// 5. look at the code, below. look at documentation https://www.novell.com/documentation/developer/ldapcsharp/?page=/documentation/developer/ldapcsharp/cnet/data/front.html
using Novell.Directory.Ldap;