This repository is a Next.js application that serves both as a documentation site and a registry server for a retro 8-bit styled UI component library, built on top of shadcn/ui primitives. It provides dozens of copy-paste components (buttons, cards, dialogs, health bars, etc.) and pre-built page blocks (heroes, features, pricing, gaming HUDs) distributed via a shadcn-style registry (`shadcn add @8bitcn/...`). The project also includes two full, playable arcade games (Brick Breaker and Crate Pusher) used as creative 404 pages, with well-tested, deterministic game engines. The codebase demonstrates strong engineering practices: pure immutable game state reducers, fixed-timestep physics, accessibility-focused UI, and a custom cold-path benchmarking harness used to optimize development compilation times by 27.7%. The architecture is a monorepo-like structure within a single Next.js app, with the component library living as source files that are copied into user projects via the registry mechanism.
AveYo/Gaming is a collection of Windows batch/PowerShell scripts, game configurations, and embedded C# libraries focused on optimizing Counter-Strike 2, Dota 2, and Steam for performance, stability, and quality-of-life. It provides a sophisticated CS2 launcher that dynamically switches desktop resolution to match game resolution to fix alt-tab and input lag issues, a crash dump reader (DmpChk) using the Windows debug engine, a GPU shader cache cleaner, a Steam launcher in 'Small Mode' to reduce resource usage, and a suite of CS2 performance benchmarking tools using in-game console automation and CSV output analysis. The repository also includes extensive game config files (autoexec.cfg for CS2 and Dota2) with performance tweaks, and scripts for offline play via a Steam emulator (SEMU). While tightly coupled to specific game paths and Windows APIs, several components are well-crafted and self-contained, particularly the custom C# SetRes display resolution library and the VDF file parsing routines.
This repository contains implementations of a 'swapview' program that displays Linux process swap usage in many different programming languages. Each implementation reads from the /proc filesystem to gather swap information for all processes and outputs a formatted table sorted by swap usage. The project includes a top-level Makefile to build all implementations, benchmarking tools (bench.py and a Rust-based benchmarker) to compare performance across languages, and result files showing historical performance data. The code serves as both a practical utility for monitoring swap usage and a comparative study of language performance and idioms.
This repository provides a set of custom memory allocator implementations in C++ (Linear, Stack, Pool, FreeList, and a wrapper for malloc). The allocators are designed for educational purposes, demonstrating how to replace general-purpose malloc with more efficient, specialized allocators. The code is structured around a common base class (`Allocator`) and uses generic linked list data structures (singly and doubly linked, plus a stack-based linked list) to manage free memory blocks. A benchmarking framework (`Benchmark`) measures allocation/free throughput and memory usage. The project is a library/example, not a production service, and is intended to illustrate trade-offs between allocator types. The implementation is clean and well-organized, but lacks tests and modern C++ features, and has not been actively maintained.
This repository is a large collection of tutorial lessons (numbered 006 to 281) focused on DevOps, cloud infrastructure, and backend development. It contains example applications in multiple languages (Go, Rust, Python, Node.js, Java, etc.) demonstrating common patterns like CRUD APIs, database integration, caching, and monitoring. The infrastructure-as-code examples cover Kubernetes (deployments, RBAC, ingress, service meshes), Terraform (AWS, GCP, Azure), Ansible, Helm, and CI/CD with ArgoCD. A significant portion is dedicated to observability with Prometheus, Grafana, and custom exporters. The repository serves as a companion to video tutorials and is not a single production application but a learning resource. It exhibits high duplication across lessons and some pseudo-code, but contains several reusable components for monitoring, infrastructure provisioning, and performance benchmarking.