Blog

Thoughts, tutorials, and insights from my personal experience.

Migrating a Repository Between Platforms Without Losing Git History

You might want to migrate your repository from one platform to another without losing its Git history, as I did. For example, my current repository is stored on GitHub, and for some reason I want to migrate it to Bitbucket.

GitBitbucketGitHub

How to Run a Laravel Scheduled Job on Laravel Forge

The new UI of Laravel Forge is quite different from the previous version. You might find it a bit confusing, like I did, especially when trying to run a scheduled job.

LaravelLaravel Forge

How to Connect to a Remote Database Using TablePlus over SSH

I use TablePlus to access remote database from local machine. Here are the steps that I usually follow to connect to my remote database using TablePlus over SSH.

DatabaseTablePlusSSH

How to Update Critical Security Update in Next.js and React

Today I received an email about critical security vulnerability from Vercel. Below is the message and how to fix it.

Next.jsReact.jsNPM

How to Undo the Last Git Commit on Local Machine

For some reason, I want to undo the last git commit on my local machine, maybe because I want to add additional changes.

Git

How to Check and Update Outdated NPM Packages

A quick guide on how I check and update outdated NPM packages in a Node.js project using simple npm commands to keep dependencies up to date.

NPMNode.js

How to Set Up Timezone on VPS Ubuntu Server

For a brand new VPS Ubuntu Server, sometimes I want to change the timezone to match my current location. Here are the steps that I usually follow to update the timezone.

VPSUbuntuDatabase

How to Export MySQL Database in Laravel Forge Growth Plan

Database backup is not available for the Hobby and Growth plan in Laravel Forge. But sometimes you want to get the database from your server. The following are the manual steps that I usually use to get my MySQL database in Growth plan

LaravelLaravel ForgeDatabase