Skip to content

Instantly share code, notes, and snippets.

View anthonyrisinger's full-sized avatar

C Anthony Risinger anthonyrisinger

View GitHub Profile
class Import:
def __init__(self, args, attr):
self.args = args
self.attr = attr
self.done = False
def __import__(self):
module = __import__(*self.args)
if not self.attr:
@anthonyrisinger
anthonyrisinger / flow-tool.go
Created September 26, 2025 03:44
The `flow-tool.go` is a testing and development utility and fake-streaming markdown renderer that generates, processes, and analyzes markdown content through Glamour. It supports flexible markdown primitive generation with customizable repetition and spacing, simulates various streaming modes (unbuffered, buffered, windowed) with artificial dela…
package main
import (
"bufio"
"flag"
"fmt"
"io"
"math/rand"
"os"
"slices"