Pages

Topics

Tools

↑↓navigate↵openescclose

All syntax guides

Short, practical guides on programming syntax, language fundamentals, and the tools developers reach for every day.

3,965 guides across 14 topics

Topics

Latest guides

3D illustration of a Linux process tree prioritized by nice scheduler weights and controlled by SIGTERM and SIGKILL signals
Linux

Linux Process Management: ps, lsof, Signals (SIGTERM vs SIGKILL), and nice

Process states that explain why kill -9 does nothing, the signal table, port ownership with ss and lsof, and how niceness actually affects the scheduler.

LinuxProcessesSysAdmin
3D illustration of directory tree walkers streaming null-delimited file paths into parallel xargs worker batches
Linux

Linux find and xargs: Recursive File Search and Safe Batch Execution

The NUL-separated pipeline that survives spaces and newlines in filenames, plus -exec batching, -prune logic and parallel workers.

LinuxCLIFile System
3D illustration of raw log text flowing through grep regex filters, sed stream editors and awk columnar aggregators
Linux

Linux Text Processing: grep, sed, and awk Command Pipelines

Select, reshape, aggregate: the three-stage pipeline that turns raw logs into counts, with the regex, in-place edit and field-separator traps spelled out.

LinuxCLIText Processing
3D illustration of a systemd PID 1 supervisor managing service unit lifecycles and structured journald log streams
Linux

Linux systemd: Managing Services with systemctl, Unit Files, and journalctl

Unit file sections, Type= semantics, restart policies and the daemon-reload step everyone forgets, plus the journal queries that explain the failure.

LinuxsystemdSysAdmin
3D illustration of an octal rwx permission matrix with ownership badges, setuid locks and a sticky bit shield
Linux

Linux File Permissions: chmod, chown, umask, and Setuid/Sticky Bits

Octal modes, directory execute bits, umask arithmetic and the three special bits, with the failure modes each one causes in production.

LinuxPermissionsSecurity
3D illustration of type-safe generic React component blocks snapping tightly together with typed DOM event handlers
React

React with TypeScript: Generic Components, PropsWithChildren, and Event Types

Generic props that infer from data, PropsWithChildren instead of React.FC, and element-scoped event types that keep currentTarget typed.

ReactTypeScriptComponents
3D illustration of component flamegraph duration bars highlighting actualDuration versus baseDuration bottlenecks
React

React Profiler API: Measuring Render Timings and Identifying Wasted Re-Renders

actualDuration versus baseDuration, phase names that tell you who triggered a commit, and how to ship the numbers without flooding a backend.

ReactPerformanceDebugging
3D illustration of an encapsulated child component exposing only safe focus and scroll methods through a controlled ref gate
React

React useImperativeHandle: Exposing Custom Ref APIs Without Breaking Encapsulation

A ref gate that exposes three methods instead of the whole DOM node, with the React 19 ref-prop form and the dependency rules that keep it fresh.

ReactHooksTypeScript
3D illustration of a monolithic JavaScript bundle splitting into on-demand lazy route chunks loaded inside Suspense boundaries
React

React.lazy and Code Splitting: Route Chunks, Preloading, and Suspense

Where the split points belong, how to preload on intent, and how to recover when a stale chunk 404s after a deployment.

ReactPerformanceBundling
3D illustration of development-mode double render and mount-remount diagnostic probes detecting missing effect cleanups
React

React StrictMode: Why Components Render Twice and Impure Side-Effect Detection

Double render, double Effect setup and double reducer calls are diagnostics, not bugs. What each one detects and how to fix the code it catches.

ReactDebuggingBest Practices