All Snippets

How to transfer files from server to local via SSH

In this snippet, I will show you how to transfer files from server to local via SSH.

Laravel 11 SQLSTATE[HY000]: General error: 1273 Unknown collation: 'utf8mb4_0900_ai_ci'

If you get Laravel 11 SQLSTATE[HY000]: General error: 1273 Unknown collation: 'utf8mb4_0900_ai_ci' error, then this is how you can fix the issue.

Filamentphp filter record using tabs

In this filamentphp snippet, I will show you how to filter records based on some condition and display in the list record.

Filamentphp unique ignore during editing

In this filamentphp snippet, I will show you how can you ignore unique() rule during editing existing entries.

Filamentphp testing with Pest Call to undefined function Pest\Livewire\livewire()

In this article, I will show you Filamentphp testing with Pest Call to undefined function Pest\Livewire\livewire for you.

Z plugin for Fish Shell

If you are using fish terminal and you are z plugin, this post may help you.

Switch PHP version on Mac with fish terminal

If you're using the Fish shell (`/usr/local/bin/fish`) on your Mac, you need to source the Fish configuration file to update the environment variables.

List of the format for date commands in Bash Script

In Bash, you can use the `date` command to format dates and times in a variety of ways. Here are some common format codes that you can use with the `date` command

Set up a new MacBook.

If we have a new machine and need to set up the development environment, you might need a few hours to set up. However, I personally use a script that can help me to set up a new machine within an hour.

How to enable mermaid or html directive with marp in VS code

If you are using marp in vscode, and you have issue to render with mermaid js, or if you want to use html directive in your slide, then this tips might be helpful for you.