Skip to content

Instantly share code, notes, and snippets.

View garyblankenship's full-sized avatar
🎩
I may be slow to respond.

Gary Blankenship garyblankenship

🎩
I may be slow to respond.
View GitHub Profile
@garyblankenship
garyblankenship / claude-code-subagent-tips.md
Created August 20, 2025 14:03
Advanced Claude Subagent Strategies #ai #claude

Advanced Agent Orchestration in Claude Code: From Middleware Chains to Parallel Synthesis

A comprehensive guide to building self-orchestrating, parallel-executing, consensus-building agent workflows that actually work


The Breakthrough Moment

Picture this: You're building a complex multi-agent workflow in Claude Code. You need agents to coordinate, pass information, and execute in sequence. You reach for the obvious solution - have one agent call another using a Task tool.

@garyblankenship
garyblankenship / cloudflare.md
Last active August 11, 2026 01:20
The $0 Infrastructure Stack: Complete Cloudflare Free Tier Guide #cloudflare #infrastructure #devops #free

The Complete Cloudflare Free Tier Guide

Generated on: 7/18/2025, 8:22:50 PM


The $0 Infrastructure Stack: Building Production Apps on Cloudflare's Free Tier

Introduction

@garyblankenship
garyblankenship / awesome-go.md
Last active July 12, 2026 21:17
Awesome Go Packages #go

Awesome Go Packages: An Opinionated 2026 Guide

A practical guide to choosing Go packages that remove mechanical work without replacing explicit application architecture.

Updated July 12, 2026.

Go packages should remove mechanical work without taking ownership of your application.

The useful packages handle things such as protocol details, parsing, database drivers, migration ordering, terminal control sequences, retry timing, and test comparison. The dangerous packages redefine your request model, persistence model, error model, lifecycle, or domain types.

@LukeMauldin
LukeMauldin / litellm_to_aider.py
Created April 12, 2025 00:15
litellm_to_aider.py
#!/usr/bin/env python3.12
"""
LiteLLM to Aider Configuration Generator
This tool generates configuration files that allow Aider to work seamlessly with LiteLLM models.
It can generate both model settings (YAML) and model metadata (JSON) files.
The generated configurations correctly handle model names in the format "litellm/provider/model"
by using Aider's extra_params feature to pass the proper model name format to LiteLLM.
@0xdevalias
0xdevalias / ai-voice-cloning.md
Created March 24, 2025 09:23 — forked from d00m4ace/ai-voice-cloning.md
AI Voice Cloning
@zackangelo
zackangelo / context.txt
Created December 13, 2024 19:39
Llama 3.3 Multi-tool Use Context Window
<|begin_of_text|><|start_header_id|>system<|end_header_id|>Environment: ipython
Cutting Knowledge Date: December 2023
Today Date: 13 Dec 2024
# Tool Instructions
You may optionally call functions that you have been given access to. You DO NOT have
to call a function if you do not require it. ONLY call functions if you need them. Do NOT call
functions that you have not been given access to.
@jdavidrcamacho
jdavidrcamacho / timelines_fertile_crescent.py
Last active June 22, 2025 16:51
Timeline of ancient civilizations in the fertile crescent
import matplotlib.pyplot as plt
# Updated timeline data with BCE year representation, including all events
timelines_simple = {
# Ubaid Period
"Ubaid Period": {"start": -6500, "end": -3800, "color": "salmon"},
# Sumerian periods
"Early Sumerian Settlement": {"start": -4500, "end": -4000, "color": "skyblue"},
"Uruk Period (Sumerians)": {"start": -4000, "end": -3100, "color": "skyblue"},
"Early Dynastic Period (Sumerians)": {
@michabbb
michabbb / Gemini.php
Created October 22, 2024 17:13
Upload Files to the Gemini API
<?php
namespace App\Services\google;
use Exception;
use Illuminate\Http\Client\ConnectionException;
use Illuminate\Support\Facades\Http;
class Gemini
{
@cugu
cugu / README.md
Last active July 15, 2026 02:30
Webhooks for PocketBase

Webhooks for PocketBase

A simple webhook plugin for PocketBase.

Adds a new collection "webhooks" to the admin interface, to manage webhooks.

Example

The webhook record in the following example send create, update, and delete events in the tickets collection to http://localhost:8080/webhook.

@oplanre
oplanre / Pipeline.php
Created June 13, 2024 22:17
Simple pipeline implementation in php as a class or function
<?php
class Pipeline {
public function __construct(
private mixed $data
) {}
public function pipe(callable ...$callbacks): static {
foreach ($callbacks as $callback) {
$this->data = $callback($this->data);
}
return $this;