Skip to content

Instantly share code, notes, and snippets.

View matrixik's full-sized avatar

Dobrosław Żybort matrixik

View GitHub Profile
@alvinsng
alvinsng / HttpBaseClient.ts
Created July 10, 2026 21:35
HttpBaseClient.ts
/**
* HttpBaseClient a self-contained, framework-agnostic abstract HTTP client.
*
* Design goals:
* - Single file, zero dependencies (Node 18+ / browser).
* - Every outbound HTTP call goes through one pipeline so you get
* consistent logging, error mapping, metrics, and query/body
* serialization for free.
* - Subclasses focus on vendor specifics: base URL, auth headers,
* and optional error-body translation.
@mattpocock
mattpocock / README.md
Created July 7, 2026 11:51
agent-proxy — a zero-dep proxy that shows the bloat in Claude Code's requests (ranked tool table + full readable Markdown of every request)

agent-proxy — see the bloat in Claude Code's requests

A zero-dependency logging proxy that sits between Claude Code and the Anthropic API. It forwards every request untouched, streams the reply straight back (so the CLI is unaffected), and writes a readable Markdown document for each request — led by a ranked table of what is eating your context.

Run it

@dctanner
dctanner / SKILL.md
Created July 6, 2026 09:47
Code in an Opus session, using Fable subagent to plan and Codex to write code and finally Fable subagent review for every task.
name cook
description Code in an Opus session, using Fable subagent to plan and Codex to write code and finally Fable subagent review for every task.
user-invokable true

Implement all tasks given to you. Use a Fable high subagent to write a plan.md for each task. Require my approval for all plans before beginning implementation. Then write all code by calling out to codex exec for each task using codex --yolo exec -c model="gpt-5.5" -c model_reasoning_effort="high" < plan.md (allow cmd to run for up to 20 minutes), then review code (using a subagent with Fable high) and smoke testing new features (usage a subagent with Opus medium) by running pnpm dev and doing real requests, before committing and pushing, then moving onto next task. Remember that every subagent or codex session is completely independent and must be given the full context it needs to complete its work.

@shehbajdhillon
shehbajdhillon / adb-tailscale-android-use.md
Last active July 12, 2026 00:08
Setup guide for letting AI agents (Claude Code, Cursor, etc.) control your Android remotely via ADB + Tailscale

ADB over Tailscale

Securely connect to Android over the internet using ADB + Tailscale.

You can also copy paste this gist into your agent of choice and have it explain you what to do.

This guide sets up remote ADB access so you can run android-use — an agent skill that lets AI interact with your Android device over ADB.


@ptman
ptman / heroku-alternatives.md
Last active April 1, 2026 16:47
Heroku alternatives
Tool / Project Type / Architecture UI / Dashboard CLI / API Multi‑node / Clustering Auto TLS / SSL / ACME Zero‑downtime / Rolling Deploy Preview / PR Environments Team / Permissions Volume / Backup Support Open Source / License Heroku‑style Compatibility Pros / Strengths Cons / Caveats / Weaknesses
Dokku Single‑server (extensions for multi) Minimal (no central UI, though plugins exist) CLI, plugin APIs Via community / plugin / custom setups Yes (Let’s Encrypt plugin) Via Docker techniques / plugin Limited, requires extra setup Basic (single admin; community plugins) Plugin / manual (e.g. volume backups) MIT (fully open source) Good: git push, buildpack style, plugins add DB, etc. Very stable, mature, lots of community extensions Scaling / multi‑node is manual; UI is weak; managing many apps / teams is harder
Dokploy Multi‑node / cluster (Docker Swarm) Yes (built‑in UI) CLI + AP
@Njengah
Njengah / claude-code-hooks-example.json
Last active July 10, 2025 14:42
Claude Code Hooks Examples
{
"hooks": {
"PostToolUse": [
{
"matcher": "Write|Edit",
"hooks": [
{
"type": "command",
"command": "~/scripts/doc-generator.sh"
}
@aschober
aschober / ssh-on-android-linux-terminal.md
Created March 19, 2025 04:41
Setup SSH and Tailscale on Android 15 Linux Terminal App

Setup SSH and Tailscale on Linux Terminal App

This guide outlines the steps to set up an SSH server and Tailscale on a fresh Debian installation inside the Android Linux Terminal App. After completing these steps, you'll be able to securely SSH into the Linux environment running on your Android device from any remote machine over the internet using Tailscale.

  1. Update package lists and upgrade installed packages to the latest versions:

    sudo apt update && sudo apt upgrade -y
    
@gugadev
gugadev / install-android-sdk-windows.md
Last active July 20, 2026 18:44
Guide: Install Android SDK on Windows (without AndroidStudio)

Android SDK setup - Windows guide

If you are a React Native, NativeScript, Flutter or Ionic developer maybe you don't want to install the entire Android Studio just to have your environment ready. If this is your case, this guide will help you to setup your minimal Android SDK environment in Windows.


@dehsilvadeveloper
dehsilvadeveloper / 0_prerequisites.md
Last active July 26, 2026 02:54
Installing Docker on WSL 2 with Ubuntu 22.04

Installing Docker on WSL 2 with Ubuntu 22.04

Instalando Docker em um WSL 2 com Ubuntu 22.04

Prerequisites

Before start the installation process, make sure you meet the following prerequisites:

  • A Windows 10 operating system with WSL 2 support.
  • WSL 2 enabled.
  • Ubuntu 22.04 installed on WSL 2.
@veekaybee
veekaybee / normcore-llm.md
Last active July 28, 2026 22:45
Normcore LLM Reads

Anti-hype LLM reading list

Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts of models in prod eagerly sought.

Foundational Concepts

Screenshot 2023-12-18 at 10 40 27 PM

Pre-Transformer Models