Skip to content

Instantly share code, notes, and snippets.

@anaimi
anaimi / kibitzer.sh
Last active April 11, 2026 18:17
Code Kibitzer
#!/usr/bin/env bash
#
# kibitzer.sh
# Silent second-opinion code reviewer for Claude Code, powered by Codex.
#
# ── Objective ────────────────────────────────────────────────────────────────
#
# A 'kibitzer' is someone who watches others (especially at chess
# or cards) and offers unsolicited advice or commentary from the sidelines.
#
@anaimi
anaimi / Serializable.swift
Created July 9, 2014 03:51
Serialize a Swift object to JSON or Dictionary, with selective properties.
/*
Purpose:
Convert (or Serialize) an object to a JSON String or Dictionary.
Usage:
Use 'Serialize.toJSON' on instances of classes that:
- Inherit from NSObject
- Implement 'Serializable' protocol
- Implement the property 'jsonProperties' and return an array of strings with names of all the properties to be serialized