The Blog

How to Add Commas to Numbers in PHP (Thousands Separator)

I ran into a small-but-annoying issue while displaying prices: I needed to add commas to numbers in PHP so amounts…

how7o

How to Set a Variable in Laravel Blade Templates (With Examples)

I hit a common beginner snag in Laravel: I needed to set a variable in Laravel Blade and I wasn’t…

how7o

How to Add CSS Print Styles for Printer and Print Screen

I ran into a surprisingly common problem while working on a few WordPress sites: the page looked great on screen,…

how7o

Fix CyberPanel Too Many Redirects (ERR_TOO_MANY_REDIRECTS) for Laravel Subdomain

I hit a weird issue while setting up a Laravel subdomain on CyberPanel: the site kept jumping to a 404.html…

how7o

How I Fixed Composer Dependency Errors Using the –ignore-platform-reqs Flag (Step-by-Step Guide)

If you work with PHP projects long enough, you’ll eventually run into a Composer update that just refuses to cooperate.…

how7o

How to Transfer Discourse to a New Server on AlmaLinux (Backup + Restore, Step-by-Step)

I recently had to move a self-hosted Discourse forum from an old server to a brand-new VPS running AlmaLinux. The…

how7o

How I Installed Discourse on AlmaLinux (Docker Method, Step-by-Step)

I needed a fresh Discourse install on an AlmaLinux server while I was reorganizing my infrastructure. Most guides assume Ubuntu,…

how7o

Install Docker on AlmaLinux: Step-by-Step (Docker CE + Compose)

I had to install Docker on AlmaLinux recently because I was setting up a fresh server for a few self-hosted…

how7o

Change Welcome Message on Ubuntu VPS (MOTD + SSH Banner)

When I first logged into my Ubuntu VPS, the server greeted me with a big text “logo” and a welcome…

how7o

Automatic Logout Timeout for Command Line in Ubuntu (TMOUT 300s)

A while ago I left an SSH session open on my Ubuntu VPS while I went to do something “for…

how7o