Skip to content

Instantly share code, notes, and snippets.

@Medium1992
Medium1992 / AWG_1.5_script_RouterOS.md
Last active March 15, 2026 00:53
Script for Restoring Native WireGuard Functionality in MikroTik RouterOS / Скрипт для восстановления работоспособности нативного WireGuard в MikroTik RouterOS

📄 Description / Описание

🇷🇺 Русский

Предлагаю для тестирования скрипт, предназначенный для восстановления работоспособности нативного WireGuard.

Описание переменных:

  • Jc — количество рандомных пакетов
  • Jmin — минимальный размер рандомного пакета
@icanhasjonas
icanhasjonas / csharp-ls
Last active January 8, 2026 15:38
Bun adapter for csharp-ls to work with Claude Code LSP (fixes workDoneProgress/registerCapability issues)
#!/usr/bin/env bun
/**
* LSP Adapter for csharp-ls
*
* Proxies LSP messages between Claude Code and csharp-ls,
* handling unsupported methods that crash csharp-ls.
*
* Intercepts (responds with null to csharp-ls, doesn't forward to Claude):
* - window/workDoneProgress/create -> progress token creation
* - window/workDoneProgress/cancel -> progress cancellation
@idominikosgr
idominikosgr / Claude-Heartbeat-README.md
Last active January 20, 2026 10:38
claude code (cli) 5hour limit reset via bash script or cron

What this dumb-ish script does

  • Periodically sends a minimal request to the claude CLI

  • Purpose:

    • verify connectivity
    • keep the CLI session “warm”
    • potentially advance or trigger the usage/session reset cycle if the backend treats activity as renewal
  • It does not guarantee a reset of any quota or limit

  • It makes no assumptions beyond “a successful request happened”

@jeremyronking
jeremyronking / statusline.sh
Last active March 6, 2026 14:56
Claude Code Status Line - Enhanced statusline showing model, mode, context usage, token counts, session cost, API limits with reset times, and git branch
#!/bin/bash
# ==============================================================================
# Claude Code Status Line
# ==============================================================================
# This script creates a rich status line for Claude Code showing:
# - Current model being used
# - Mode (if in plan/edit mode)
# - Context window usage percentage
# - Token usage (input/output totals for the session)
# - Session cost in USD
@Rangizingo
Rangizingo / brainstorm.md
Created December 31, 2025 12:22
My ClaudeCode custom commands
description
Critical analysis of problems with root cause identification before proposing solutions

Brainstorm - Problem Analysis & Solution Design

Thoroughly analyze the current problem before proposing any solutions. Focus on identifying root causes and asking clarifying questions.

Phase 1: Critical Analysis

@GGPrompts
GGPrompts / pmux.md
Last active March 14, 2026 12:21
Claude Code Slash Command: pmux - Interactive Prompt Engineer with tmux send-keys for multi-Claude orchestration #slash-command #claude-code #tmux #prompt-engineering #automation #multi-agent
description
Interactive Prompt Engineer with tmux send-keys - directly send prompts to Claude Code sessions

Interactive Prompt Engineering Agent (Tmux Edition)

You are a prompt engineering expert helping craft optimal prompts through interactive dialog-based refinement that ends with sending the prompt directly to a Claude Code session via tmux send-keys.

Context: Tmux Multi-Session Workflow

public struct LocalCache<TKey, TValue> : IEnumerable<KeyValuePair<TKey, TValue>>, IDisposable
where TKey : IEquatable<TKey>
{
private const int RentArrayLength = 16;
[ThreadStatic] private static Dictionary<TKey, TValue>? _cachedDictionary;
[MethodImpl(MethodImplOptions.AggressiveInlining)]
private static Pair[] RentArray() => ArrayPool<Pair>.Shared.Rent(RentArrayLength);
@cablej
cablej / default.md
Created June 21, 2025 18:46
Cluely System prompt

<core_identity> You are an assistant called Cluely, developed and created by Cluely, whose sole purpose is to analyze and solve problems asked by the user or shown on the screen. Your responses must be specific, accurate, and actionable. </core_identity>

<general_guidelines>

  • NEVER use meta-phrases (e.g., "let me help you", "I can see that").
  • NEVER summarize unless explicitly requested.
  • NEVER provide unsolicited advice.
  • NEVER refer to "screenshot" or "image" - refer to it as "the screen" if needed.
  • ALWAYS be specific, detailed, and accurate.
@iamwildtuna
iamwildtuna / gist:7772b7c84a11bf6e1385f23096a73a15
Last active March 15, 2026 19:19
VPN IP Addresses (IP адреса ChatGPT, Copilot, Meta, Facebook, Instagram, YouTube, Medium, X ex. Twitter, Discord)
Meta (Instagram, Facebook)
// Узлы
157.240.253.174, 157.240.253.172, 157.240.253.167, 157.240.253.63, 157.240.253.32
157.240.252.174, 157.240.252.172, 157.240.252.167, 157.240.252.63, 157.240.252.38
57.144.112.34, 57.144.110.1, 157.240.205.174, 87.245.223.97
// Подсети
213.102.128.0/24
204.15.20.0/22
199.201.0.0/16
@antfu
antfu / doc-table.md
Last active October 14, 2023 20:09
Doc Table in Markdown

Example

Name

Description