Remove lines Example raw data Solution Remove all top level domain with new lines Search with ^xxx.io$ , replace with…
Dev

Docker shadowsocks on Debian
Installation Grab a VPS dual stack IPv4/IPv6 with Debian 10. Install docker Setup docker Source: https://hub.docker.com/r/teddysun/shadowsocks-rust Setup iptables firewall Setup…

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…

CDK Bootstrap failed due to S3 bucket existed
Error: Lower version of bootstrap stack version Source from Stackoverflow: https://stackoverflow.com/questions/62972959/aws-cdk-error-bucket-policy-already-exists-on-bucket Due to Cloudformation doesn’t allow custom bucket handle by…

AWS CDK Wafv2 enable logging the Custom Resource way
Expectation We need to collect all WAF logs to S3 bucket. But Cloud Formation or AWS CDK cannot easily configure…

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