Skip to content

Instantly share code, notes, and snippets.

View DarkGL's full-sized avatar

Rafał Więcek DarkGL

View GitHub Profile
@DarkGL
DarkGL / README.md
Last active January 18, 2025 13:50 — forked from GusAntoniassi/README.md
Configure autocompletion to kubectl with zsh

kubectl with ZSH (oh-my-zsh)

How to configure

Use the following commands to add the kubectl autocomplete to zsh:

mkdir -p ~/.oh-my-zsh/custom/plugins/kubectl-autocomplete/
kubectl completion zsh > ~/.oh-my-zsh/custom/plugins/kubectl-autocomplete/kubectl-autocomplete.plugin.zsh
@DarkGL
DarkGL / dod.md
Created November 2, 2024 21:49 — forked from debasishg/dod.md
Data oriented design, hardware awareness, cache awareness in data structures & algorithms
@DarkGL
DarkGL / nvvp.md
Created April 11, 2025 05:02 — forked from sonots/nvvp.md
How to use NVIDIA profiler

Usually, located at /usr/local/cuda/bin

Non-Visual Profiler

$ nvprof python train_mnist.py

I prefer to use --print-gpu-trace.

---
name: john-carmack-synthesizer
description: Use this agent when you need to cut through complexity and synthesize the essential truth from multiple inputs. This agent embodies John Carmack's engineering philosophy - first principles thinking, brutal honesty about trade-offs, and focus on what actually works. Examples: <example>Context: Multiple agents have provided conflicting recommendations about system architecture. user: "I have 5 different architectural proposals and need to decide which approach is actually best" assistant: "I'll use the john-carmack-synthesizer to cut through the complexity and identify the fundamental constraints and optimal solution." <commentary>When faced with multiple complex inputs, this agent strips away the noise to find the core engineering truth.</commentary></example> <example>Context: Team is over-engineering a solution with unnecessary abstractions. user: "Our trading system design has become overly complex with too many layers" assistant: "Let me use the john-carmack-
@DarkGL
DarkGL / AI_Agent_migrate_to_void_Zero_Toolchain.md
Created August 19, 2025 23:31 — forked from timbenniks/AI_Agent_migrate_to_void_Zero_Toolchain.md
Migrate any TypeScript Library to the Void Zero Toolchain using an AI agent

🤖 AI Agent Instructions: Migrate TypeScript Library to Void Zero Toolchain

Agent Role: You are tasked with migrating any TypeScript library from its current build system to the high-performance Void Zero toolchain. Follow these instructions systematically.

🎯 Mission Overview

Transform any TypeScript library (regardless of current setup) to use:

  • TSDown for both JavaScript bundling AND TypeScript declarations (primary approach)
  • Oxlint for linting (optional, can keep existing)