Why __dirname is not defined in ES module scope, thats why error shows up Solution You first need to import…
Web dev
HTML & CSS & HTML5
Google Fonts is evil and violate GDPR
Why Google Fonts is evil More resources Alternative

Auto updates dynamic IP via Cloudflare API (DDNS)
Dynamic IP vs Fixed IP Dynamic IP A dynamic IP address is a temporary address for devices connected to a…

Caddy server acme challenge with Cloudflare DNS
Server environment Download Caddy with Cloudflare DNS plugin https://caddyserver.com/download with dns.providers.cloudflare plugin Set up a Cloudflare Token API https://dash.cloudflare.com/profile/api-tokens Permission:…

Accelerate China region browsing experience via AliYun Global Accelerator
Setup AliYun GA Setup HAProxy / Nginx to load subdomain HaProxy solution Nginx Solution

Update and migrate installed global NPM package with nvm
Check current npm version Update to latest LTS Nodejs But, command that I installed globally not found Solution, with reinstall…

Fix Mozilla Firefox Mac Canvas display wired
If you got something like this happened on Firefox Mac, you should disable some setting Go about:config Search for privacy.resistFingerprinting…

Debian 10 configure PHP7-fpm with Nginx
A simple tutorial shows how to install PHP7 fpm on Debian.

WordPress add custom feilds in Post Category
Solution 1: Add code Inside your themes directory funcitons.php , add code below Screenshot Solution 2: Advanced Custom Field Image…

Deploy NPM package to Github package registry
This article will demonstrate how to publish a package to Github package registry.