Linux strace:See What a Stuck Process Is Waiting On
Hands-on strace recipes — attach to a PID, follow children, filter syscalls, and read the wait that logs never mentioned.
Read More44 post(s)
Hands-on strace recipes — attach to a PID, follow children, filter syscalls, and read the wait that logs never mentioned.
Read MoreHands-on tar and gzip recipes — create an archive, inspect it before extract, compress with gzip, and restore without clobbering the wrong tree.
Read MoreHands-on text-prep recipes — slice columns, sort keys, count uniques, and translate characters before you reach for awk or sed.
Read MoreHands-on SSH recipes — keys and config, copy files with scp, and tunnel a port without memorizing every flag.
Read MoreHands-on crontab and systemd timer recipes — schedule a job, choose calendar vs boot delays, and find the run that never fired.
Read MoreHands-on systemctl recipes for everyday work — inspect units, start and stop services, enable at boot, and debug failed units without guessing.
Read MoreHands-on git bisect — binary-search commits to find the first one that broke a working check, then reset HEAD and optionally automate the walk.
Read MoreCopy one commit onto another branch — bring a hotfix from main onto your feature without merging the rest of main.
Read MoreOpen a pull request, read the host diff, merge on GitHub or GitLab, then pull main locally so review happens before the default branch moves.
Read MoreHands-on Git rebase — fetch an updated main, replay your feature commits on top of it, and skip the extra merge commit.
Read MoreHands-on Git — recover a commit after a reset that went too far, using git reflog to restore HEAD or create a recovery branch.
Read MoreHands-on Git stash — park a dirty working tree, switch branches, and restore the work without a fake WIP commit.
Read MoreHow MCP clients and servers discover capabilities, negotiate features, and exchange JSON-RPC over stdio or Streamable HTTP — a self-contained mental model for protocol version 2026-07-28.
Read MoreTrust boundaries, host approval UX, env secrets, input validation, read-only vs mutating tools, and a practical hardening checklist for a TypeScript MCP bookmarks server.
Read MoreServe the bookmarks MCP tools over Streamable HTTP with createMcpHandler, protect them with a bearer token, deploy one PaaS URL, and point Cursor at url plus headers.
Read MorePackage a TypeScript MCP server for npm, add mcpName verification, publish with npm, and register metadata with mcp-publisher — distribution, not hosting.
Read MoreWire a local MCP server in Cursor with mcp.json — project vs global config, field-by-field stdio setup, verify Connected, and run one approved tool call.
Read MoreBuild a local bookmarks MCP server in TypeScript — McpServer, Zod tools, stderr logging, MCP Inspector first, then wire the build into Cursor over stdio.
Read MoreAdd an MCP resource and prompt to a TypeScript stdio server — bootstrap from the bookmarks part-3 tag, verify in Inspector, and note Cursor host limits.
Read MoreWhat the Model Context Protocol is, the host/client/server vocabulary, tools vs resources vs prompts, and when agents need MCP — or when Skills and rules are enough.
Read MoreHands-on kubectl recipes for deploy verification — find pods by label, read placement and resources, confirm image tags or digests, and read recent cluster events.
Read MoreSpin up a disposable local Kubernetes cluster with kind — install prerequisites, create a multi-node cluster, verify with kubectl, deploy a sample app, and tear it down cleanly.
Read MoreHands-on Cursor Agent Skills for beginners — what a skill is, where it lives, how to write a SKILL.md, and how the agent picks it up.
Read MoreHands-on Git branching — create a feature branch, push it with upstream tracking, merge back into main, and clean up local and remote branches.
Read MoreHands-on Git for the stuck push — fetch remote changes, resolve merge conflicts, then revert or roll back commits safely.
Read MoreHands-on Git for beginners — init a repo, stage and commit safely, read diffs, and push your first project to a remote.
Read MoreHands-on triage with htop, journalctl, dmesg, and lsof — diagnose high load and crashes by chaining the right tool at each step.
Read MoreHands-on batch editing on the command line — find the right files, feed them safely through xargs, and rewrite them with sed.
Read MoreHands-on rsync recipes for everyday work — incremental sync, remote backups over SSH, progress output, and safe dry-runs.
Read MoreHands-on sudo and sudoers recipes — run commands as root or another user, edit policy safely with visudo, and delegate fine-grained privileges without handing out full root.
Read MoreHands-on df and du recipes — check filesystem free space, hunt directory hogs, and resolve “no space left on device” with confidence.
Read MoreHands-on ss and netstat recipes — list listening sockets, inspect open connections, check routing tables, and read interface statistics.
Read MoreHands-on kill, pkill, and killall recipes — choose SIGTERM, SIGKILL, or SIGHUP, target the right PIDs, and stop processes without wrecking managed services.
Read MoreHands-on lsof recipes for everyday work — find which processes hold files open, bind ports, or leak file descriptors.
Read MoreHands-on chmod, chown, and umask recipes — decode numeric vs symbolic modes, fix ownership, and understand default permissions for new files.
Read MoreHands-on xargs recipes for everyday work — feed find and grep into commands, batch safely, and place arguments where they belong.
Read MoreHands-on journalctl recipes for everyday work — filter by unit, severity, time range, and boot, then read the results with confidence.
Read MoreHands-on sed recipes for everyday work — substitute text, delete lines, edit files in place, and reshape output in pipelines.
Read MoreHands-on ps and pgrep recipes — locate processes by PID, user, memory footprint, or command path without a live monitor.
Read MoreHands-on dmesg recipes for everyday work — inspect boot messages, chase hardware faults, filter by level, and watch the kernel live.
Read MoreHands-on top, htop, and btop recipes — read load averages, find CPU and memory hogs, and triage a busy box in real time.
Read MoreHands-on find recipes for everyday work — hunt by name, type, size, and time, then act on matches with confidence.
Read MoreHands-on awk recipes for everyday work — pick columns, filter rows, change separators, and compute totals in pipelines.
Read MoreHands-on grep recipes for everyday work — find text, filter logs, search codebases, and pipe results with confidence.
Read More