Skip to content

Instantly share code, notes, and snippets.

@feryardiant
feryardiant / investigation-reports.md
Created September 14, 2026 08:27
Indihome Google Connectivity Issue

Google Connectivity Issue — Investigation Report

Date: 2026-09-12 Investigator: opencode (systematic-debugging) Router: Asus AX53U running OpenWrt (hostname AX53U, Linux 6.12.94 mips)

TL;DR

The inability to sign in to Google accounts (macOS Mail, Play Store on both phones) is NOT caused by the OpenWrt router configuration. It is an

#!/usr/bin/env python3
# ----------------------------------------------------------------------------
# WAYBAR MEMORY MODULE
# ----------------------------------------------------------------------------
# A dynamic memory monitor for Waybar.
# Features:
# - Real-time RAM usage with color-coded states
# - Tooltip with detailed breakdown (Used, Cached, Buffers)
# - Auto-detects memory modules via dmidecode (requires sudo permissions)
# - Temperature monitoring (requires lm_sensors)
docker

Curso Docker - Guía práctica de uso para desarrolladores

@Klerith
Klerith / instalaciones-react.md
Last active October 12, 2026 22:52
Instalaciones para el curso de React de cero a experto

Activate Windows with PowerShell

This method demonstrates how to activate Windows using PowerShell in administrator mode.

Steps to Activate Windows:

  1. Open PowerShell as an administrator:

    • Press Win + S, type "PowerShell," then right-click on Windows PowerShell and select Run as administrator.
  2. Run the following command:

@DannyMac180
DannyMac180 / cache_gap_check
Created October 10, 2026 17:04
cache_gap_check.py
#!/usr/bin/env python3
"""cache_gap_check.py - READ-ONLY. Is raising subagentPromptCacheTtl 5m -> 1h likely worth it?
Scans Claude Code transcripts (~/.claude/projects/**/*.jsonl) for subagent (sidechain)
requests, measures idle gaps between each subagent's consecutive requests, and estimates
cache cost under the current 5m TTL vs a hypothetical 1h TTL, in multiples of base input
price. Python 3 stdlib only. Never writes files and makes no network calls.
"""
import argparse, json, os, sys
from collections import defaultdict
@cwacek
cwacek / ptrmap.c
Last active October 12, 2026 22:41
An example of how to use uthash for generalized pointer storage with a string key.
typedef struct {
uint32_t intkey;
char strkey[64];
void * data;
UT_hash_handle hh;
} ptrmap_t;
#define str_ptrmap_insert(map,key,insval) \
do { \
@PeiceOfToast
PeiceOfToast / iptv-org-dispatcharr-jellyfin-guide.md
Last active October 12, 2026 22:34
iptv-org -> Dispatcharr -> Jellyfin: US channel lineup with a self-updating guide (verified Sept 2026)

iptv-org → Dispatcharr → Jellyfin — the complete hand-held walkthrough

What you end up with: a US TV channel lineup in Jellyfin, with a program guide that fills itself in every night, without you touching it again.

Who this is for: you've heard of Docker and Jellyfin but have never touched Dispatcharr. No Linux wizardry assumed. Every command is explained, and every step tells you what you should see before you continue.

Time: 30 minutes for a working setup (Quick Path), 60–90 minutes if you also build your own guide grabber (Proper Path). Most of that is waiting.

Difficulty: copy-paste. If a step ever looks wrong, stop and read the box under it — the failure modes are all covered.

@skyzyx
skyzyx / homebrew-gnubin.md
Last active October 12, 2026 22:32
Using GNU command line tools in macOS instead of FreeBSD tools

macOS is a Unix, and not built on Linux.

I think most of us realize that macOS isn't a Linux OS, but what that also means is that instead of shipping with the GNU flavor of command line tools, it ships with the FreeBSD flavor. As such, writing shell scripts which can work across both platforms can sometimes be challenging.

Homebrew

Homebrew can be used to install the GNU versions of tools onto your Mac, but they are all prefixed with "g" by default.

All commands have been installed with the prefix "g". If you need to use these commands with their normal names, you can add a "gnubin" directory to your PATH from your bashrc.

@wosnxn123
wosnxn123 / free-ai-api-guide.md
Last active October 12, 2026 22:30
【公益站合集】3 站(原 7 站,不过4个暂时没货)注册+邀请共 265 额度(原 265 ),每日签到再拿 75~80(原 117~140)(附 Claude Code 配置教程)【持续更新】

【公益站合集】3 站(原 7 站,不过4个暂时没货)注册+邀请共 265 额度(原 265 ),每日签到再拿 7580(原 117140)(附 Claude Code 配置教程)【持续更新】

阅读须知

  • Any Router 按 GPT 6 Astra、JustDoWork 按 GPT 5.6 Sol 计价;其他站按 Opus 5 举例。记载可能不准确,有的站要特定 UA 才能接入。
  • 按之前的额度记录,七个站注册 + 邀请一共 755 额度,都能签到:有的重新登录就到账、有的要去个人资料点一下、有的第 2 天进站自动签到,每天再拿 117~140。
  • 各站只放 aff 邀请链接(用它注册会多送额度);如不想用 aff,自行删除链接末尾的 ?aff=… 参数即可。
  • 图片懒得更新,显示的模型可能不同步,以正文为准。

站点速览