Fix asdf Nodejs GPG keyeserver receive failed solution Error code: Solution And try reinstall again, everything should be work as…
Dev
asdf to manage multiple Golang on Mac
Installation Add asdf to zsh ZSH & Homebrew Add asdf.sh to your ~/.zshrc with: ZSH & Git Add the following…
asdf manage multiple version Terraform with GCP
Last update: 2022-08-03 We will use asdf as version manager with Terraform. Installation I will use Homebrew (Mac) + zsh…
The power of regex in VSCode
Remove lines Example raw data Solution Remove all top level domain with new lines Search with ^xxx.io$ , replace with…
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…