Categories
Laravel Servers Web

How I configure Laravel Homestead after installing it on Mac

Each time after updating or installing Laravel Homestead I take these steps. (Step 1) Add Homestead to Firefox & Chrome (Step 2) ┬áDisable strict database date settings in MySQL (Step 3) Import and configure Postgres databases (Step 4) Set the max upload size of nginx. Other Details I use PHPStorm during development and the PHPUnit […]

Categories
Web

Set The Max Upload Size of Nginx on Laravel Homestead

To increase the max upload size on Laravel Homestead edit your main nginx.conf file. Next, add the config client_max_body_size and set it to 100M. All php.ini files in Homestead already have the setting upload_max_filesize = 100M.

Categories
Web

Video “background-size: cover” with CSS in 2020

How to get a video element to act like background-size: cover scoped within a parent element.

Categories
Web

HTML Close Button The Right Way

Coding an HTML close button seems simple. But, the only thing simple about coding a close button is getting it wrong. The biggest mistake is using the wrong HTML element. I’ve used <a> and <div> as a close button many times (<button> is the correct element). The second mistake is not using proper ARIA properties. […]

Categories
Freelancing Tips Web

Scheduling Meeting Times

Dropping poor meeting invites will end your freelancing days fast. Sending exceptional meeting invites can land a lifelong client. If you are sending 4, or even 20, messages to schedule a meeting you are stressing your clients. Meeting invites shouldn’t take more than two communications via emails. Your job as a freelance professional is to […]