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)  Fix Max Packet Size MySQL (Step 3)  Disable strict database date settings in MySQL (Step 4) Import and configure Postgres databases (Step 5) Set the max upload size of nginx. (Step 6) Set […]

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
Story

April Has Come and Gone

When April started I decided it was time to blog again. My goals were simple enough: Sharing 5 days a week. Small things, big things, real things. Learning to tell stories. Reflecting and documenting. Connecting with my friends. Known and unknown. This the twenty-second post of the month marks the end of April’s journey. Moving […]