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.

How to Change a Checkbox Background Color with CSS

Change a checkbox background color with CSS — accent-color in modern browsers, or hide-and-replace with a span for custom shapes…

how7o

How to cd to a Different Drive in Windows

cd to a different drive in Windows with `D:` (drive only) or `cd /d D:\path` (drive + directory). Why `cd…

how7o

How to Break Out of a jQuery .each() Loop

Break out of a jQuery .each() loop with `return false`. Why `break` fails, how to `continue`, and the native forEach…

how7o

How to Auto-start Apache and MySQL with XAMPP on Windows

Auto-start Apache and MySQL with XAMPP on Windows — Autostart checkboxes + shell:common startup shortcut, or install both as Windows…

how7o

How to Auto-focus a Select2 Dropdown on Page Load

Auto-focus a Select2 dropdown on page load with $('#el').select2('open') — opens the dropdown and focuses the internal search input in…

how7o

Format Numbers in Bangladeshi / Indian Style with PHP

Format numbers with Bangladeshi/Indian-style 3-2-2 commas in PHP — using NumberFormatter with en_IN locale, or a manual function when intl…

how7o

How to Add the Required Attribute to Input Fields with jQuery

Add the required attribute to input fields with jQuery — use .prop('required', true) for HTML5 form validation. Conditional cases and…

how7o

How to Add and Delete Users on a Linux Server from the Terminal

Add and delete users on a Linux server (AlmaLinux, Ubuntu, Debian, RHEL) from the terminal — adduser, passwd, usermod -aG…

how7o

How to Enable CageFS for a User on CloudLinux / cPanel

Enable CageFS for a user on CloudLinux/cPanel — cagefsctl --enable from CLI, the CloudLinux Manager toggle in WHM, and how…

how7o

How to Add Days to a Date in PHP

PHP add days to a date with strtotime('+180 days') for quick scripts, or DateTimeImmutable->modify('+180 days') for production code. Both forms…

how7o