How to Set Default Timestamp Values in Laravel Migrations
Find out how to set the default value of a timestamp column to the current timestamp in a Laravel migration and why it’s a good practice.
Second most tallest chap in the neighbourhood. Sometimes my sense of humor causes abdominal pain. I am not yet famous for something.
Find out how to set the default value of a timestamp column to the current timestamp in a Laravel migration and why it’s a good practice.
Learn why the “Delete ‘CR’ eslint(prettier/prettier)” error occurs and how to resolve it in 4 different ways.
The default tab size is 4 spaces in VS Code. If you want different tab sizes for different file types, you’ll need to change some settings. In this guide, I’ll show you how.
Find out how to disable the auto file open on drag and drop in VS Code.
Learn how to enforce the ‘Accept: application/json’ header for client requests, and send an error message if it’s missing.
Inspire or motivate yourself with quotes directly in the command line while working with Laravel.
I use this approach to mark a database record as deleted in 99% of cases.
Learn how to fix the flickering that occurs in Git Bash and Vim in Windows Terminal.
Learn how to read the first or last lines from a file on Windows, Linux and macOS using the command line.