Skip to content

Instantly share code, notes, and snippets.

View bangedorrunt's full-sized avatar

bangedorrunt ヽ(ヅ)ノ bangedorrunt

  • Melbourne, Australia
View GitHub Profile
@bangedorrunt
bangedorrunt / REVIEW.md
Last active December 25, 2025 03:07
Codebase Review: Swarm Tools Architecture & Context Engineering

Codebase Review: Swarm Tools Architecture & Context Engineering

1. Executive Summary

This document provides a comprehensive review of the Swarm Tools architecture, implementation patterns, and strategic improvements based on modern Context Engineering principles (specifically Phil Schmid's "Context Engineering for AI Agents: Part 2").

Swarm Tools is a high-integrity multi-agent orchestration framework that leverages Event Sourcing and the Actor Model to manage parallel workflows for AI coding agents.


2. Architectural Analysis

@bangedorrunt
bangedorrunt / macros.fnl
Created September 25, 2021 09:53
troubleshoot.fnl
;;;; Helper Functions Declaration
;; (import-macros {: defn
;; : into
;; : empty
;; : when-let
;; : if-let
;; : when-some
;; : if-some} :cljlib.macros)
(local {: inc

Merging Rubygems and Bundler

1.sh:

#!/bin/sh
set -eux
rm -rf rubygems bundler
git clone https://github.com/rubygems/rubygems
git clone https://github.com/rubygems/bundler
@bangedorrunt
bangedorrunt / uninstall_shell_integration.sh
Created May 13, 2020 08:43 — forked from victor-torres/uninstall_shell_integration.sh
uninstalling shell integration from iterm 2
#!/bin/bash
function die() {
echo "${1}"
exit 1
}
which printf > /dev/null 2>&1 || die "Shell integration requires the printf binary to be in your path."
which sed > /dev/null 2>&1 || die "Shell integration requires the sed binary to be in your path."
(ns my-transducers.core
(:require [clojure.core.async :as async]))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Understanding Transducers
;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; This is the source code for the blog post Understanding Transducers, found
;; here: http://elbenshira.com/blog/understanding-transducers
;;
@bangedorrunt
bangedorrunt / Build Emacs for Windows 64bit.md
Created January 9, 2017 16:17 — forked from nauhygon/Build Emacs for Windows 64bit with Native Compilation.md
Step-by-step instructions to build Emacs for Windows 64 bit with MSYS2 and MinGW-w64.

Build Emacs-w64 with MSYS2/MinGW-w64

Instructions are modified from emacs-w64 Wiki page by zklhp. Many thanks for sharing!

  1. Download MSYS2 (msys2-x86_64-20140704.exe) from this download page.

  2. Install MSYS2 to, for example, C:\msys2 (make sure no space in path).

  3. Optionally prettify the MSYS2 console mintty with ~/.minttyrc to make it more pleasing to eyes. Thanks to this awesome theme!

@bangedorrunt
bangedorrunt / setup-pdf-tools-msys2.org
Created January 8, 2017 06:11 — forked from justbur/setup-pdf-tools-msys2.org
Install pdf-tools on windows with msys2

Notes for compiling and setting up pdf-tools using msys2

Steps

  1. Open msys2 shell
  2. Get pdf-tools
    git clone https://github.com/politza/pdf-tools
    cd pdf-tools
        
@bangedorrunt
bangedorrunt / reclaimwindows10.ps1
Created January 8, 2017 02:38 — forked from alirobe/reclaimWindows10.ps1
"reclaim windows 10" turns off a bunch of unnecessary windows 10 telemetery, removes bloatware, and privacy invasions. review and tweak before running. scripts for reversing are included and commented. fork via https://github.com/Disassembler0 (different defaults)
##########
# Win10 Initial Setup Script
# Author: Disassembler <disassembler@dasm.cz>
# Version: 1.7, 2016-08-15
# dasm's script: https://github.com/Disassembler0/Win10-Initial-Setup-Script/
# THIS IS A PERSONALIZED VERSION
# This script leaves more MS defaults on, including MS security features.
# Tweaked based on personal preferences for @alirobe 2016-11-16 - v1.7.1
@bangedorrunt
bangedorrunt / article-style.css
Last active July 17, 2023 13:40
GoldenDict Dark Theme
body
{
margin-top: 1px;
margin-right: 3px;
margin-left: 2px;
margin-bottom: 3px;
background: #201F1F;
color: white;
font-family: Bookerly, Segoe UI, Palatino Linotype, Arial Unicode MS;
}
@bangedorrunt
bangedorrunt / karabiner_hyper.xml
Last active January 28, 2016 04:50
Karabiner's private.xml
<?xml version="1.0"?>
<root>
<modifierdef>MY_HYPER</modifierdef>
<item>
<name>Remap Caps Lock to Hyper</name>
<appendix>OS X doesn't have a Hyper. This maps Left Control to Control + Shift + Option + Command.</appendix>
<identifier>caps_lock_to_hyper</identifier>
<autogen>
__KeyOverlaidModifier__