Snippets
All the snippets I've wrote. It's mostly about tips, tricks, and short idea.
Z plugin for Fish Shell
Posted on:September 19, 2023 at 01:00 PMIf you are using fish terminal and you are z plugin, this post may help you.
Switch PHP version on Mac with fish terminal
Posted on:June 7, 2023 at 10:00 AMIf 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
Posted on:February 27, 2023 at 10:00 AMIn 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.
Posted on:March 18, 2022 at 10:00 AMIf 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
Posted on:March 18, 2022 at 10:00 AMIf 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.
How to enable key repeats on your Mac
Posted on:August 18, 2021 at 10:00 AMIf you want to enable key repeats on your Mac, follow the steps down below-
How to set fish as default on MacOS
Posted on:August 17, 2021 at 10:00 AMIf you are curious to know exactly how to set the [fish](https://fishshell.com/) as a default terminal behaviour on your Mac, here is the simple command that you can use.
How to get PayPal Access Token with cURL?
Posted on:October 14, 2020 at 10:00 AMHey, if you are curious to know how to get PayPal access token with cURL, then this post might be helpful for you.
Pass query string in Laravel Pagination globally
Posted on:May 26, 2020 at 10:00 AMIf you often need to pass query string in laravel imagination, I believe passing query string globally will be the best choice instead of passing in every method. Here is how you can pass query string globally.
Laravel where() and orWhere() condition together for one column
Posted on:May 26, 2020 at 10:00 AMIf you are in a situation where you need to use Laravel `where()` and `orWhere()` condition together for one column, this tip might be helpful for you. Let's dig into a real life scenario.