Skip to content

Instantly share code, notes, and snippets.

View teocns's full-sized avatar
:octocat:

teocns teocns

:octocat:
  • behind a firewall
  • 14:31 (UTC +02:00)
  • X @teocns
View GitHub Profile
@teocns
teocns / Dockerfile
Created October 9, 2024 21:21
Dockerfile: Poetry multi-stage build
# `python-base` sets up all our shared environment variables
FROM python:3.11-slim as python-base
# python
ENV PYTHONUNBUFFERED=1 \
# prevents python creating .pyc files
PYTHONDONTWRITEBYTECODE=1 \
\
# pip
PIP_NO_CACHE_DIR=off \
@teocns
teocns / 0001-agent_ops-agentops.patch
Created November 16, 2024 03:27
0001-agent_ops-agentops.patch
From e8f8675c53827ceafacc78fdcfa88290228f8edc Mon Sep 17 00:00:00 2001
From: Teo <[email protected]>
Date: Fri, 15 Nov 2024 19:46:43 -0600
Subject: [PATCH] agent_ops -> agentops
Signed-off-by: Teo <[email protected]>
---
agent.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
@teocns
teocns / .cursorrules
Last active December 9, 2024 05:34
The Misadventures of Markdown
When generating markdown, surround content in entirety with FIVE backticks (`````) at beginning and the end. Use THREE backticks (```) for inner code blocks.
@teocns
teocns / cf_evt.md
Created December 8, 2024 15:16
ControlFlow Event System

ControlFlow Event System

This document outlines the event system in ControlFlow, showing the relationships between different event types and their roles in the system.

classDiagram
    class Event {
        +str event
        +str id
#!/usr/bin/env zsh
# Exit on error
set -e
# Colors
RED='\033[0;31m'
GREEN='\033[0;32m'
BLUE='\033[0;34m'
YELLOW='\033[1;33m'