Skip to content

ookangzheng

  • About
  • Design
    • UI/UX
  • Dev
    • Linux
    • Mac
    • Windows
    • Software recommend
    • Site recommend
  • Life

Web dev

HTML & CSS & HTML5

Dev

Nodejs module __dirname not found solution

Why __dirname is not defined in ES module scope, thats why error shows up Solution You first need to import…

EdwardNovember 24, 2022November 24, 2022
Dev

Google Fonts is evil and violate GDPR

Why Google Fonts is evil More resources Alternative

EdwardSeptember 7, 2022September 12, 2022
Linux

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…

EdwardJune 14, 2022June 15, 2022
Dev

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:…

EdwardMay 31, 2022May 31, 2022
AWS

Accelerate China region browsing experience via AliYun Global Accelerator

Setup AliYun GA Setup HAProxy / Nginx to load subdomain HaProxy solution Nginx Solution

EdwardFebruary 22, 2022May 29, 2022
Dev

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…

EdwardJuly 2, 2021August 14, 2021
Linux

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…

EdwardFebruary 14, 2021February 14, 2021
Linux

Debian 10 configure PHP7-fpm with Nginx

A simple tutorial shows how to install PHP7 fpm on Debian.

EdwardJuly 17, 2020August 30, 2020
Linux

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…

EdwardMay 31, 2020October 14, 2020
Dev

Deploy NPM package to Github package registry

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

EdwardMay 27, 2020May 27, 2020

Posts pagination

1 2 … 4 Next
Proudly powered by WordPress | Theme: Justread by GretaThemes.