Skip to content

Instantly share code, notes, and snippets.

View MiguelRipoll23's full-sized avatar

Miguel Ripoll MiguelRipoll23

View GitHub Profile
@MiguelRipoll23
MiguelRipoll23 / clickstack.yaml
Last active May 25, 2026 15:34
HyperDX + OpenTelemetry Collector for Docker
services:
clickstack:
image: clickhouse/clickstack-all-in-one:latest
container_name: clickstack
restart: unless-stopped
ports:
- "8123:8123"
- "8090:8080"
- "4317:4317"
- "4318:4318"
@MiguelRipoll23
MiguelRipoll23 / CLAUDE.md
Last active July 4, 2026 15:47
AGENTS.md for best practises

CLAUDE.md

Architecture

Core Principles

  • Use Hexagonal Architecture (Ports and Adapters) whenever possible
  • Keep business logic isolated from infrastructure concerns
  • Core domain logic must not depend on implementation details
  • Use Dependency Injection
@MiguelRipoll23
MiguelRipoll23 / Connection.cs
Last active June 19, 2020 16:52
tcp-packet-parser
// +---------------------------------------------+
// | Packet |
// +---------------------------------------------+
// | id (short) | payload size (short) | payload |
// +------------+----------------------+---------+
using System;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;