Skip to content

Instantly share code, notes, and snippets.

View maciejjankowski's full-sized avatar
🐡
||∇|| → ∞

Maciej [MyChai] Jankowski maciejjankowski

🐡
||∇|| → ∞
View GitHub Profile
@flamerix-ai
flamerix-ai / README.md
Last active November 17, 2026 05:49
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

@greenstevester
greenstevester / how-to-setup-ollama-on-a-macmini.md
Last active November 5, 2026 06:50
April 2026 TLDR setup for Ollama + Gemma 4 12B on a Mac mini (Apple Silicon) — auto-start, preload, and keep-alive

April 2026 TLDR setup for Ollama + Gemma 4 on a Mac mini (Apple Silicon) — auto-start, preload, and keep-alive

April 2026 TLDR Setup for Ollama + Gemma 4 on a Mac mini (Apple Silicon)

Prerequisites

  • Mac mini with Apple Silicon (M1/M2/M3/M4/M5)
  • At least 16GB unified memory for Gemma 4 (default 8B)
  • macOS with Homebrew installed
<prompt>
  <role>Avatar Icon Generator</role>
  <task>Stwórz wariacje ikony avatara według podanego opisu</task>
  <process_definition>Generowanie spójnych wizualnie ikon awatarów z uwzględnieniem stałych elementów i zmiennych elementów wyróżniających</process_definition>
  
  <user_input>
    <description>Wpisz ogólny opis roli/charakteru avatara</description>
    <specific_attributes>Wpisz szczegółowe cechy wyglądu, które chcesz uwzględnić</specific_attributes>
@hyperupcall
hyperupcall / settings.jsonc
Last active March 17, 2026 09:13
VSCode config to disable popular extensions' annoyances (telemetry, notifications, welcome pages, etc.)
// I'm tired of extensions that automatically:
// - show welcome pages / walkthroughs
// - show release notes
// - send telemetry
// - recommend things
//
// This disables all of that stuff.
// If you have more config, leave a comment so I can add it!!
{
@iosifnicolae2
iosifnicolae2 / Readme.md
Last active September 10, 2026 10:13
Youtube is Boring

How To Make Youtube Less Boring

Tutorial: https://www.youtube.com/watch?v=hIqMrPTeGTc
Paste the below code in your browser console (F12 > Console):

/**
 * YouTube "Not Interested" Automation Script
 *
 * This script marks all videos in the YouTube feed as "Not interested".
 *
 * Usage:
@bradfrost
bradfrost / gist:59096a855281c433adc1
Last active September 12, 2026 07:28
Why I'm Not A JavaScript Developer

Answering the Front-end developer JavaScript interview questions to the best of my ability.

  • Explain event delegation

Sometimes you need to delegate events to things.

  • Explain how this works in JavaScript

This references the object or "thing" defined elsewhere. It's like "hey, thing I defined elsewhere, I'm talkin' to you."

  • Explain how prototypal inheritance works.
@staltz
staltz / introrx.md
Last active November 17, 2026 12:40
The introduction to Reactive Programming you've been missing
@ritch
ritch / 0-view.html
Last active December 28, 2015 11:38
An end to end example integrating LoopBack, Angular, and MySQL. Run the full app - http://loopback-foodme.herokuapp.com View the source - http://github.com/ritch/loopback-foodme
<!--
An Angular View to render a list of Restaurants
-->
<table class="table table-hover table-striped" ng-controller="RestaurantsController">
<tr ng-repeat="restaurant in restaurants">
<td>
<a href="#/menu/{{restaurant.id}}">
<img class="img-rounded pull-left" ng-src="img/restaurants/{{restaurant.shortName}}.jpg">
<b>{{restaurant.name}}</b>
</a>
@tylerneylon
tylerneylon / learn.lua
Last active September 26, 2026 06:31
Learn Lua quickly with this short yet comprehensive and friendly script. It's written as both an introduction and a quick reference. It's also a valid Lua script so you can verify that the code does what it says, and learn more by modifying and running this script in your Lua interpreter.
-- Two dashes start a one-line comment.
--[[
Adding two ['s and ]'s makes it a
multi-line comment.
--]]
----------------------------------------------------
-- 1. Variables and flow control.
----------------------------------------------------

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name: