Skip to content

Instantly share code, notes, and snippets.

View ichoosetoaccept's full-sized avatar

Ismar ichoosetoaccept

View GitHub Profile
@ichoosetoaccept
ichoosetoaccept / coverage.json
Last active February 18, 2026 16:13
surfmon coverage badge
{"label":"coverage","message":"86.73%","schemaVersion":1,"color":"hsl(110, 100%, 40%)"}
@ichoosetoaccept
ichoosetoaccept / readme.md
Last active February 6, 2026 22:49 — forked from banteg/readme.md
uninstall beads

Beads Uninstall Script

A comprehensive uninstall/cleanup script for Beads (bd) that removes all traces of the tool from a system — repositories, home directory, binaries, git hooks, config files, and more.

Quick Start

1. Clone the repository

git clone https://gist.github.com/f083720a5a6e15af2ea1bb36040a4003.git beads-uninstall
@ichoosetoaccept
ichoosetoaccept / config.yaml
Last active February 4, 2026 18:22
Beads (bd) config.yaml for kop-tests repo - issue tracking configuration
# Beads Configuration File
# This file configures default behavior for all bd commands in this repository
# All settings can also be set via environment variables (BD_* prefix)
# or overridden with command-line flags
# Issue prefix for this repository (used by bd init)
# If not set, bd init will auto-detect from directory name
# Example: issue-prefix: "myproject" creates issues like "myproject-1", "myproject-2", etc.
# issue-prefix: ""
@ichoosetoaccept
ichoosetoaccept / pr-open-comments
Last active January 20, 2026 22:34
propcom: Show unresolved PR review comments for AI code review workflows
#!/bin/bash
# Show unresolved PR review comments (e.g., from CodeRabbit)
# Usage: pr-open-comments [PR_NUMBER]
set -e
PR_NUMBER="${1:-}"
get_repo_info() {
local remote_url
@ichoosetoaccept
ichoosetoaccept / git-town-schema.json
Created December 22, 2025 18:13
JSON Schema for git-town.toml configuration files (kebab-case)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Git Town Configuration",
"description": "JSON schema for git-town.toml configuration files",
"type": "object",
"properties": {
"branches": {
"type": "object",
"description": "Branch-related settings",
"properties": {
// Assignment 2, Problem 2
+ (NSString *)descriptionOfProgram:(id)program
{
NSMutableArray *stack;
if ([program isMemberOfClass:[NSArray class]])
{
stack = [program mutableCopy];
}
return [self descriptionOfTopOfStack:stack];
NSMutableArray *stack;
if ([program isMemberOfClass:[NSArray class]])
{
stack = [program mutableCopy];
}
+ (double)popOperandOffProgramStack:(NSMutableArray *)stack
{
double result = 0;
id topOfStack = [stack lastObject];
if (topOfStack) [stack removeLastObject];
if ([topOfStack isKindOfClass:[NSNumber class]])
{
result = [topOfStack doubleValue];
+ (double)runProgram:(id)program
{
NSMutableArray *stack;
if ([program isKindOfClass:[NSArray class]]) {
stack = [program mutableCopy];
}
return [self popOperandOffProgramStack:stack];
}
// Assignment 2, Problem 2
+ (NSString *)descriptionOfProgram:(id)program
{
NSMutableArray *stack;
if ([program isMemberOfClass:[NSArray class]])
{
stack = [program mutableCopy];
}