-
ESLint auto format in VSCode
ESLint is a popular static code analysis tool used in many development projects. It helps developers identify and fix errors and potential problems with their code before they even run it. Unfortunately, ESLint doesn’t always work perfectly with the integrated development environment (IDE) Visual Studio Code (VSCode). In my case, it won’t actually auto formatting […]
-
Figure what is filling up /dev/vda1 disk space
While running on a linux OS there might be sometime your /dev/vda1 mount is fully occupied but you don’t know what causing it Use command above to see which first level directories contain most of the data. Repeat that for the respective subdirectories (e.g. du -hx –max-depth=1 /home) until you reach those directories which contain much data […]
-
SaltLight Dev Ep1
Hi all! This will be a long development blog demonstrate how we start a making a software application. Will try to update this every weekend and hopefully we can see this application go online asap xD So some background of me. I myself is a Christian, and I like to read people’s sharing how they […]
-
Woocommerce product image modification
Woocommerce using Flexslider to implement the single product image slider. By default it will instantiate default margin value of 15px through javascript instead of css, it seems not possible to adjust the margin value from css override. Way to modify single product slider margin In order to modify it, you can look for the file […]
-
AI generated images for my website
I have recently started using to write development blog in here, and I’m looking for a header photo. I am not artist, hence I’m looking for a way to use AI generated images for my website. There’s few options we can play but I choose Midjourney, lets see how its work. But how AI generate […]
-
Nginx and WordPress robots.txt 404 error message
Recently I had an issue with robots.txt, one of my website showing a 404 error message. The problem was related to Nginx. In my case, robots.txt is virtual and generated by RankMath SEO plugin. Nginx throws a 404 error because it can’t find the physical robots.txt at the root folder of WordPress, but then a […]
-
How To Change WordPress Child Theme Fonts?
To add or change layout of a WordPress Theme, using a child theme is always the first choice for you. If you plan to use an entirely new font in child theme, you’ll need to do some pre-coding via the @font-face rule. Remember you’ll need to choose a licensed font for web use. Change The […]