Skip to content

Instantly share code, notes, and snippets.

@marceldarvas
marceldarvas / backblaze-bzserv-memory-leak.md
Created April 22, 2026 22:56
Backblaze bzserv memory leak on macOS — diagnosis, remediation, and a daily launchd workaround

Backblaze bzserv Memory Leak — Runbook (macOS)

A workaround and diagnosis guide for a memory leak in Backblaze Personal Backup's bzserv process that quietly fills macOS swap until the system runs out of application memory.

Symptoms

  • Activity Monitor shows Backblaze using tens of GB of memory.
  • sysctl vm.swapusage reports swap climbing into the 20–60 GB range over a few
@karpathy
karpathy / microgpt.py
Last active September 22, 2026 02:39
microgpt
"""
The most atomic way to train and run inference for a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp
@ixs
ixs / intel_x520_patcher.py
Last active September 22, 2026 02:38
Intel x520 EEPROM Patcher allows to unlock the x520 network card to work with non-intel branded SFP modules.
#!/usr/bin/env python3
#
# Simple Intel x520 EEPROM patcher
# Modifies the EEPROM to unlock the card for non-intel branded SFP modules.
#
# Copyright 2020,2021,2022 Andreas Thienemann <andreas@bawue.net>
#
# Licensed under the GPLv3
#
# Based on research described at https://forums.servethehome.com/index.php?threads/patching-intel-x520-eeprom-to-unlock-all-sfp-transceivers.24634/
@cferdinandi
cferdinandi / terminal-cheat-sheet.txt
Last active September 22, 2026 02:36
Terminal Cheat Sheet
# Terminal Cheat Sheet
pwd # print working directory
ls # list files in directory
cd # change directory
~ # home directory
.. # up one directory
- # previous working directory
help # get help
-h # get help
@madhurimarawat
madhurimarawat / GATE-CSE-DS-Resources.md
Last active September 22, 2026 02:33
A collection of the best free GATE preparation resources for CSE & Data Science. Contributions are welcome!

📌 GATE Resources - CSE & Data Science

I have compiled all the resources that helped me in my GATE preparation, and I hope they help you too! 🚀

@DomeniLocke
DomeniLocke / readme.md
Created July 15, 2026 11:34
Best Instant Indexing Tools Compared for Cost, Speed and Performance

Best Instant Indexing Tools Compared by Speed, Price & Real Results (2026)

Choosing the best instant indexing tool is not only about speed. Many tools claim to get pages discovered quickly, but website owners need to compare them based on actual usefulness, pricing, workflow, reliability, and SEO value.

In 2026, instant indexing tools are widely used by bloggers, agencies, affiliate marketers, publishers, and eCommerce websites that want faster URL discovery.

Best Instant Indexing Tools You Should Go For

  1. Rocket Indexerhttps://snipr.is/Cq8vwDP 👈🏻 Click Here
  2. 2minuteindex.com – 👈🏻 Click Here
@johnlindquist
johnlindquist / WEZTERM-GUIDE.md
Created November 26, 2025 20:55
WezTerm Power User Guide - Workspaces, Pane Management, and iTerm-like Workflow

WezTerm Power User Guide

A guide to WezTerm workspaces, pane management, and productivity tricks for users coming from iTerm2.

Quick Reference

Key Action
Cmd+D Split pane right
Cmd+Shift+D Split pane down
@serithemage
serithemage / claude-document-writing-principles.md
Created September 19, 2026 03:46
Claude 문서·답변 작성 원칙 및 규칙 설정 방법 (Claude Code / claude.ai / API)

Claude 문서·답변 작성 원칙 (Document Writing Principles for Claude)

이 문서가 필요한 이유

Claude가 생성하는 문서와 채팅 답변에서 다음과 같은 문제가 반복적으로 관찰된다.

  • 문장을 짧게 만들기 위해 주체, 이유, 전제조건을 생략하여 독자가 내용을 추측해야 한다.
  • 프로젝트 내부 용어나 약어를 설명 없이 사용한다.
  • 과거에 조사한 결과나 추정을 현재 확인된 사실처럼 서술한다.
  • "방어선", "소명이 약하다", "한 줄로 마무리"처럼 실제 조치나 근거가 드러나지 않는 비유적 표현을 사용한다.

53 things from ~4 months of running an agent harness in production.

iii, the engine that powers the harness, is really cool too: https://iii.dev/docs/install

  • crash mid tool call left a dangling call with no result that poisoned every later request workers#507 workers#630
  • resumed turn raced the worker booting and called a function that wasn't registered yet workers#507
  • no durable queue for turns so wedged ones sat in running forever workers#464
  • cut stream parsed as null args and got reported as a successful empty turn workers#878
  • seven providers treating any connection close as done workers#878
  • cached tokens double billed on six providers workers#740
@lmas
lmas / crt.css
Created March 24, 2019 18:45
Add CRT scanlines, screen flicker and color separation effects
/*Stolen from http://aleclownes.com/2017/02/01/crt-display.html*/
/*This adds a "crt scanlines" effect to the screen*/
.crt-scanlines::before {
content: " ";
display: block;
position: absolute;
top: 0;
left: 0;
bottom: 0;