Lib: json, urllib.request Sample code Error Solution via Install Certificate.command Solution via pip upgrade Solution workaround in code
Web dev
HTML & CSS & HTML5
Fix node-gyp error on Mac
MacOS version: 10.15.3 CatalinaNode: 12.x LTS If you got this node gyp error, then here will be you solution. Reinstall…
Fetching API using React useState and useEffect
ENV: React 16.9, Nodejs 12IDE: Visual Studio CodeOS: Mac OSX Photo by ROOM on Unsplash
Fix wordpress admin can’t update and database error
Env: Hosted on VPS Debian9 PHP7.3 + Nginx 1.6 Fix admin cant update wordpress Jetpack blocked your IP Force disable…
Cloudflare CDN trace method
Here will show how you see which Cloudflare CDN server being use. For my site as an example, https://www.ookangzheng.com/cdn-cgi/trace you…
WordPress speed tweak
Website load speed greatly impacts your website search rankings, bounce rates, and overall user experience. I will list out several…
Typescript 101
What typescript is? Typescript is a superset of javascript. Any valid javascript code also valid typescript code. Typescript has strong typing,…
Using NPM compile SASS to css
Updated on June 27, 2020On your project you have to run npm init -y then install node sass package In…
WordPress AdminBar消失怎麼找回來
很多人在自己建立好自己的模板后,發現到怎麼AdminBar 不見了,請根據以下方法就可以解決啦~~ 1. 確保在header.php 裡面 php wp_head(); ?> 是放在 之前 2. 確保在footer.php 裡面 是放在