Expectation We need to collect all WAF logs to S3 bucket. But Cloud Formation or AWS CDK cannot easily configure…
Dev

Serving WordPress with Caddy 2
Caddy config: /etc/caddy/Caddyfile Nginx config Fixing SSL error on WordPress Add code below in to wp-config.php Source: 1. https://metalcoder.dev/how-to-get-wordpress-working-with-https-behind-a-reverse-proxy/2. https://bensmann.no/caddy-server-wordpress/…

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…

General command for git
Useful collection of git command

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

Debian install latest kernel and remove old kernel
Environment: Debian 10 buster 64bitApt version: Sid or Unstable Step 1 Switch apt channel to unstable *recommendedCheck current kernel version:…

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.

Python3 on Mac SSL certificate verify failed
Lib: json, urllib.request Sample code Error Solution via Install Certificate.command Solution via pip upgrade Solution workaround in code

Debian install Nodejs 14
Nodejs 14 on Debian 10 buster Node.js 14 was released on 2020-04-21 and is expected to enter active LTS state…