Skip to content

Instantly share code, notes, and snippets.

View lastguest's full-sized avatar
🥞
Cooking…

Stefano Azzolini lastguest

🥞
Cooking…
View GitHub Profile
@flamerix-ai
flamerix-ai / README.md
Last active November 9, 2026 16:29
Claude Code burns ~15-20% of your tokens on a 3-word status line: a Bun preload that turns agent_summary off · by Flamerix AI, flamerix.ai · MIT

Claude Code burns ~15–20% of your tokens on a 3-word status line. Here's how to turn it off

by Flamerix AI · MIT License

Platforms: Linux and Windows 11 tested by us; macOS reported by others. Tested on Claude Code 2.1.257–2.1.317. The binary is not modified (BUN_OPTIONS=--preload). An update can silently undo it, so see Verify.

TL;DR

Every ~30 seconds, Claude Code re-sends each background agent's full transcript to the model to

@velvet-shark
velvet-shark / openclaw-50-day-prompts.md
Last active October 13, 2026 17:44
OpenClaw after 50 days: all prompts for 20 real workflows (companion to YouTube video)

OpenClaw after 50 days: all prompts

Companion prompts for the video: OpenClaw after 50 days: 20 real workflows (honest review)

These are the actual prompts I use for each use case shown in the video. Copy-paste them into your agent and adjust for your setup. Most will work as-is or the agent will ask you clarifying questions.

Each prompt describes the intent clearly enough that the agent can figure out the implementation details. You don't need to hand-hold it through every step.

My setup: OpenClaw running on a VPS, Discord as primary interface (separate channels per workflow), Obsidian for notes (markdown-first), Coolify for self-hosted services.

@Madhav-MKNC
Madhav-MKNC / coding-agent.py
Last active July 10, 2026 12:56
All the code you need to create a powerful agent that can create and edit any file on your computer using the new text_editor tool in the Anthropic API.
import anthropic
import os
import sys
from termcolor import colored
from dotenv import load_dotenv
class ClaudeAgent:
def __init__(self, api_key=None, model="claude-3-7-sonnet-20250219", max_tokens=4000):
"""Initialize the Claude agent with API key and model."""
@jmarceno
jmarceno / water.shader
Created October 28, 2021 23:57
Water Realistic shader for Godot 3.4
/*
Shader from https://godotshaders.com/shader/realistic-water/
Modified to work with Godot 3.4
Realistic Water Shader for GODOT 3.1.1
Copyright (c) 2019 UnionBytes, Achim Menzel (alias AiYori)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
@sindresorhus
sindresorhus / esm-package.md
Last active October 28, 2026 00:11
Pure ESM package

Pure ESM package

The package that linked you here is now pure ESM. It cannot be require()'d from CommonJS.

This means you have the following choices:

  1. Use ESM yourself. (preferred)
    Use import foo from 'foo' instead of const foo = require('foo') to import the package. You also need to put "type": "module" in your package.json and more. Follow the below guide.
  2. If the package is used in an async context, you could use await import(…) from CommonJS instead of require(…).
  3. Stay on the existing version of the package until you can move to ESM.
@kopiro
kopiro / README.md
Last active April 10, 2022 20:57
RATV - RetroPie Apple TV
@aayla-secura
aayla-secura / JSON_to_URL_encoded_form.py
Last active January 2, 2023 02:31
Convert JSON data to URL encoded form (application/x-www-form-urlencoded)
#!/usr/bin/env python3
import json
from urllib.parse import quote, quote_plus
import sys
import os
import argparse
parser = argparse.ArgumentParser(
@xeoncross
xeoncross / lexer_in_go.md
Created October 22, 2019 18:43
Existing survey of text parsers / lexers in Go.
@kopiro
kopiro / get-apple-id-email.sh
Last active June 19, 2019 12:39
Get Apple ID email in OSX
#!/bin/sh
dscl . readpl "/Users/$(whoami)" dsAttrTypeNative:LinkedIdentity "appleid.apple.com:linked identities:0:full name" | awk '{print $4}'
@pantsel
pantsel / docker-compose.yml
Last active September 9, 2026 16:40
example docker-compose.yml for kong, postgres and konga
version: "3"
networks:
kong-net:
driver: bridge
services:
#######################################
# Postgres: The database used by Kong