Skip to content

Instantly share code, notes, and snippets.

View mvandermeulen's full-sized avatar

Mark mvandermeulen

  • Fivenynes
  • Sydney, Australia
  • 00:23 (UTC +10:00)
View GitHub Profile
@odysseus0
odysseus0 / INVESTIGATION_MEMO.md
Created June 19, 2025 20:16
Investigation Memo: TikAPI httpx AsyncClient Issue

Investigation Memo: TikAPI httpx AsyncClient Issue

Date: June 19, 2025
Platform: MacOS
Project: TikAPI_MCP
Environment: /Users/tengjizhang/projects/flashbots_x/TikAPI_MCP

Problem Statement

The TikAPI MCP server was experiencing failures when making requests to the TikAPI service, with empty error messages: "An error occurred while requesting TikAPI: ". This prevented the /resources/read and search functionality from working properly.

@pillheadddd
pillheadddd / 01-Claude Persona-Driven Development.md
Last active June 27, 2025 11:11
Claude Code // Persona Driven Development Principle

Claude Best Practices for Multi-Persona Development

This document outlines the structured development workflow that ensures quality, consistency, and efficiency when using Claude for software development projects.

Core Philosophy: Test-First, Context-Aware, Persona-Driven Development

Our workflow is built on three fundamental principles:

  1. Context-Before-Code: Always understand the full context before implementing
  2. Test-First Development: Tests illuminate the path; they don't define the destination
  3. Persona-Driven Development: Distinct roles with enforced transitions ensure quality at every stage
@dragon-fish
dragon-fish / README.md
Last active June 30, 2025 07:19
GitHub Copilot AI (Python ver)
@shubham-web
shubham-web / vector-kit-first-thought.md
Last active June 27, 2025 11:12
Pseudo code / ideal developer experience from a library providing vector search functionalities.

Vector Search Library - Production-Ready API Design

from typing import List, Dict, Any, Optional, Union, AsyncIterator, Callable
from dataclasses import dataclass
from datetime import datetime
from enum import Enum
import asyncio
from pathlib import Path
@michael-krumm
michael-krumm / aas-implementation-plan.md
Created June 6, 2025 14:49
Authorization & Access Service Implementation Documentation for Flow Issue #51

Authorization & Access Service - Implementation Plan

Executive Summary

This implementation plan details the creation of the Authorization & Access Service (AAS), a centralized abstraction layer for managing access to shared resources across the Mindbots ecosystem. The AAS incorporates patterns from the AI Delegation Service to support both human users and AI agents accessing shared resources.

Key Integration: AI Delegation Service

The AI Delegation Service provides critical patterns that enhance our AAS design:

@bossjones
bossjones / RULESFORAI.md
Created March 27, 2025 14:00
RULESFORAI.md

STRICT RULES:

  • 🧠 DON'T BE LAZY AND BE ATTENTIVE! AND DON'T GET HALLUCINATIONS, BE CONSISTENT!
  • 👨‍💻 Treat the user as a beginner web developer and you are super ultra expert professional AI assistant that will do all of the recommendations, suggestions, to control the workflow.
  • ✅ Follow the user's requirements carefully & to the letter.
  • 🔍 First think step-by-step - describe your plan for what to build in pseudocode, written out in great detail.
  • 🔎 Search codebase first, then write code
  • 🛠️ Fully implement all requested functionality.
  • 🚫 Leave NO todo's, placeholders or missing pieces.
  • ✔️ Ensure code is complete! Verify thoroughly finalized.

Rapid Prototype Architecture Overview

flowchart TD
    Client[Client/Browser] --> API[FastAPI Service]
    
    subgraph Core Services
        API --> PostgreSQL[(PostgreSQL)]
        API --> Redis[(Redis Cache)]
 API --> Kafka[[Apache Kafka]]
@clemlesne
clemlesne / redis_bytes_io.py
Last active June 27, 2025 17:23
Stream a blob with the native BytesIO and AsyncIterable Python interfaces, from async Redis.
import asyncio
import io
from asyncio import AbstractEventLoop
from collections.abc import AsyncGenerator, Awaitable, Buffer
from contextlib import asynccontextmanager
from logging import getLogger
from os import environ as env
from threading import Thread
from typing import TypeVar, cast
@JamesSedlacek
JamesSedlacek / View+OpenUrl.swift
Last active June 30, 2025 13:50
This file provides a safe way to open URLs in SwiftUI applications.
//
// View+OpenUrl.swift
//
// Created by James Sedlacek on 11/26/24.
//
/// This file provides a safe way to open URLs in SwiftUI applications.
/// It adds a view modifier that handles URL opening with user confirmation
/// and multiple opening options (browser, in-app, or copy to clipboard).
///
@sohamb1390
sohamb1390 / AnalyticsManager.swift
Last active February 24, 2025 20:45
Complete code gist of Analytics Service and Analytics Manager
import Foundation
import UIKit
@MainActor
final class AnalyticsManager {
static let manager: AnalyticsManager = AnalyticsManager()
private var services: [any AnalyticsService] = []
private init() {}