Welcome to my blog!👋

This is the space where I share my thoughts, experiences, and insights on various tech & non-tech topics. Glad you stopped by and hope you find something useful here! 🎉
Hotel Money Hacks

Booking Hotels - Quick Tip for Extra 15%-20% Off

Introduction I go on at least one trip every year, and one of the biggest expenses is always the accommodation. Imagine you spend $200 dollars per night for 10 days — $2000 in total. Imagine again you know the trick to save 15% to 20% on each booking — that is $300 to $400 dollars saved! In this article, I’m going to show you exactly how to find such deals, and it’s simpler than you think. ...

November 22, 2025 Âˇ 3 min
Keychron keyboard Money Hacks

Keychron Singapore - Quick Tip for 15% Off

2025 Update: Keychron has officially arrived in Singapore, so the price difference may not be as much anymore, but getting directly from the US site can still be a better deal! TL;DR You can buy Keychron directly from their US official website and ship to Singapore without any extra tax! Introduction Keychron keyboards sold by dealers in Singapore are usually more expensive than the price on Keychron’s official website, not to mention Keychron often has sales that makes the price difference even more stark. ...

May 12, 2023 Âˇ 3 min
Logseq plugin

How to Create a Logseq Plugin

Introduction Ever since I discovered Logseq, I have been using it as my daily note taking tool. It has a lot of powerful features, and if you think something is missing, you could easily find or write a plugin that suits your needs. In this post, I will show you how to write your own Logseq plugin. We will be implementing a command that we could use in the Logseq editor. In particular, the command will fetch the current market price data of a stock from the internet and display it in the editor: Fun fact: I personally wrote and used this simple plugin to speed up my stock analysis workflow using Logseq📈. ...

April 5, 2023 Âˇ 6 min
Webull logo

Deposit and Withdraw USD on Webull Singapore With 0 Fee

Introduction Recently, I opened a Webull Singapore account and the experience has been good so far. However, although the fee structure for deposits and withdrawals in SGD (with a Singapore bank account) is clearly stated, it’s not so clear on depositing/withdrawing other currencies like USD using a multi-currency account. Since Webull uses a DBS multi-currency account under the hood to hold our funds, supposedly if we deposit or withdraw USD using a DBS multi-currency account as well, there should be no charges. Sadly, there’s no official statement to verify the assumption, not to mention the scary “SGD20 charged by remitting bank for USD” mentioned on the official FAQ. ...

March 2, 2023 Âˇ 3 min
React to Next.js

Migrate From create-react-app to Next.js for Static Site Generation

Introduction Recently, I was building my portfolio site using React and the built-in create-react-app toolchain. The webpage worked well and I was able to deploy it on GitHub Pages with ease. However, create-react-app uses client-side rendering, which causes an obvious layout shift of the components when the page is first loaded or refreshed. Not a big deal, but it’s annoying😠. Since the webpage doesn’t change often, the best solution is to utilize static site generation (SSG), which pre-renders the page and thus eliminate the layout shift. Unfortunately, create-react-app doesn’t provide the functionality out of the box, and although there are some third-party packages such as react-snap that do the job, they are outdated and don’t support the latest React versions. ...

February 26, 2023 Âˇ 8 min
Dev Containers Extension

Using Docker with VSCode for Local Development

Introduction Whenever we want to start working on a new project with new tools or frameworks, the first step is always to install the dependencies for local development. However, the installation process could be painful especially if different versions of existing tools are needed, forcing us to have multiple versions that eat up the storage space on our device. Not to mention, the installed tools could be located all over the place, making it hard to locate and uninstall them when they are no longer needed. ...

February 16, 2023 Âˇ 5 min