Tutorials for Developers & Sysadmins

Step-by-step guides for the work we actually do — Laravel, PHP, WordPress, MySQL, Linux servers, and the occasional rabbit hole. Every command has been run on a real machine; nothing is theoretical.

Conditional Rendering with React.createElement

Conditionally render React.createElement components inline with the && short-circuit pattern. The !! falsy-value gotcha and the JSX equivalent.

how7o

How to Access aaPanel with a Domain and Let’s Encrypt SSL

Set up aaPanel with a domain and Let's Encrypt SSL — fix Chrome's panel block, plus the symlink trick that…

how7o

How to Zip Multiple Files and Directories on Linux

Zip multiple files and directories on Linux with the zip command. Recursion (-r), exclusions (-x), compression level (-0..-9), and when…

how7o

How to Check if a JavaScript String Contains a Unicode Character

JavaScript check Unicode character with a regex (/[^\u0000-\u00ff]/), codePointAt for per-character checks, and \p{Emoji} property escape for emoji.

how7o

How to List Network Devices on Linux

List network devices on Linux with ip a (every interface), ip -br link (compact), nmcli dev status (NetworkManager view), or…

how7o

Fix Nginx ‘recv() failed (104: Connection reset by peer)’ with FastCGI

Fix Nginx 'recv() failed (104: Connection reset by peer)' with FastCGI. Memory, timeouts, worker recycling — the seven PHP-FPM settings…

how7o

How to Format a Number with Decimals in JavaScript

JavaScript format number with decimals using toFixed, Math.floor for truncation, or Intl.NumberFormat for locale-aware display with thousands separators.

how7o

How to Check if Pure-FTPd Is Installed on Linux

Check if Pure-FTPd is installed on Linux. rpm -qa for AlmaLinux/Rocky/RHEL, dpkg -l for Debian/Ubuntu, plus systemctl to verify the…

how7o

How to Check if a JavaScript String Is a Valid URL

JavaScript check valid URL using the built-in URL constructor — cleaner than regex, follows the WHATWG spec, filters out mailto/javascript…

how7o

How to Add a User to Pure-FTPd from the Command Line on Linux

Add a user to Pure-FTPd from the CLI on AlmaLinux, Debian or Ubuntu — fix the 'must give non-root uid…

how7o