Skip to content

Chrysanthos' blog

My memory sucks so I write stuff here to find them while googling

PhpStorm Tips: Aligning Comment Slashes with Code for Better Formatting

  • Post author By chrysanthos
  • Post date August 16, 2024
  • Categories In Uncategorized
  • No Comments on PhpStorm Tips: Aligning Comment Slashes with Code for Better Formatting

PhpStorm adds comment slashes at the start of lines, causing formatting issues when using tools that align code. This can lead to extra formatting commits in systems like GitHub Actions.

How to fix S3 error “The bucket does not allow ACLs” in Laravel

  • Post author By chrysanthos
  • Post date February 18, 2024
  • Categories In How To
  • 2 Comments on How to fix S3 error “The bucket does not allow ACLs” in Laravel

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.

Find out why your disk is full (Linux)

  • Post author By chrysanthos
  • Post date January 9, 2024
  • No Comments on Find out why your disk is full (Linux)

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.

Zero Downtime Deployments with Laravel Forge (free edition)

  • Post author By chrysanthos
  • Post date August 19, 2023
  • Categories In DevOps
  • No Comments on Zero Downtime Deployments with Laravel Forge (free edition)

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.

How to update your self-hosted Sentry installation

  • Post author By chrysanthos
  • Post date July 14, 2023
  • Categories In DevOps
  • No Comments on How to update your self-hosted Sentry installation

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.

ESLint: Disable formatting in part of the code

  • Post author By chrysanthos
  • Post date June 10, 2023
  • No Comments on ESLint: Disable formatting in part of the code

There will be cases where you will need to disable formatting in part of a code. Here’s how..

How to download a folder from AWS S3

  • Post author By chrysanthos
  • Post date February 2, 2023
  • No Comments on How to download a folder from AWS S3

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:

Don’t ever use Promise.all()

  • Post author By chrysanthos
  • Post date January 29, 2023
  • 2 Comments on Don’t ever use Promise.all()

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 […]

🔑 SMS OTP Verification for Laravel

  • Post author By chrysanthos
  • Post date December 3, 2022
  • No Comments on 🔑 SMS OTP Verification for Laravel

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, […]

Step by Step Self hosted Sentry Installation

  • Post author By chrysanthos
  • Post date October 7, 2022
  • Categories In DevOps
  • 1 Comment on Step by Step Self hosted Sentry Installation

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 […]

Posts pagination

1 2 Older Posts →
  • Open Twitter in a new tab
  • Open GitHub in a new tab
© 2025  Chrysanthos' blog