Skip to content

ookangzheng

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

Dev

Dev

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…

EdwardAugust 6, 2021August 12, 2021
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…

EdwardJuly 30, 2021August 14, 2021
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
AWS

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…

EdwardJune 21, 2021August 14, 2021
AWS

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…

EdwardJune 16, 2021August 14, 2021
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/…

EdwardMarch 9, 2021March 17, 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
Dev

General command for git

Useful collection of git command

EdwardJuly 27, 2020August 30, 2020
Linux

Debian 10 configure PHP7-fpm with Nginx

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

EdwardJuly 17, 2020August 30, 2020
Dev

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

EdwardJune 11, 2020June 11, 2020

Posts navigation

Previous 1 2 3 … 8 Next
Proudly powered by WordPress | Theme: Justread by GretaThemes.