Since April 5th, 2023, AWS announced that by default all new buckets will apply two new security best practices. Here’s what changed and how to fix it.
Install this NCurses Disk Usage (ncdu), an open source project that is gonna make your life easier. Then just run the command with the directory you’d like to scan and wait a few seconds. You will get a nice interactive report with all directories and their corresponding size.
This tutorial demonstrates how anyone can implement zero-downtime deployments when using Forge without using Laravel Envoyer. To do that we will use Laravel Envoy, a tool that helps setup tasks during deployment using Blade syntax.
If you followed my Sentry installation guide, you probably wonder to get it updated to the latest version. Well, I am wondering the same once a month so here we go.
There will be cases where you will need to disable formatting in part of a code. Here’s how..
At some point, I needed to download a folder from AWS S3 only to realize that there is no such feature built on their UI. Thankfully, there is a way to download any directory through their CLI. To do that, follow these steps:
Imagine that you have two asynchronous calls like so: While the code above will get the job done, you are missing a major opportunity for huge performance gains. These two API calls are run sequentially, meaning that for “fetchCategories” to run, we will wait until “fetchUsers” is completed. The obvious change here will be to […]
In some occasions you may need to add OTP verification for your logged-in dashboard. Various ways exist for OTP verification (like Laravel Jetstream/Fortify) which will require your end user to have a separate mobile app for this. In my situation, I had the need to send the OTP codes via SMS. To solve this need, […]
Prerequisites Docker 19.03.6+ Docker Compose 1.28.0+ 4 CPU Cores 8 GB RAM 20 GB Free Disk Space Installing Sentry First step you need to do is clone the repository from github. Cloning it will allow you to pull updates at a later stage. Before running the command make sure you cd into the directory you […]
In one of my projects I use Laravel Nova, for a beautifully-designed administration panel. It includes a very easy to use way to generate graphs in various formats such as Trends. One feature that I needed but was missing was generating the graph with future dates. In a project I am working on, we have […]