I’m also a database administrator for PostgreSQL, which I think is the best database application now. So you maybe found some articles of PostgreSQL or databases.
About this site
This is my personal blog, to collect and record some things I thought and learned. I’m trying to learn English now, I wrote done these things in English, wish this can be to make some help to improve my English.
WD is my name’s initials, it’s also West Digital’s abbrevation. This is very annoying, since lots of people find me to solve hard disk problems on twitter. SAD…
CC is my wife’s nickname, which pronounce is cici, like her given name. I have suggested her to change CC to Cici, since there is no vowel letters in the name, people can’t sounds it, but she didn’t agree… oh, okay… I found my nickname is at the same situations, I think I will not change it too … :)
Jul 19, 2020
Use Certbot Docker to Manage Certs —
I think everyone knows Let's Encrypt these days. I use letsencrypt for some of my personal services.
I was using the system shipped certs at the beginning, and using systemd jobs to auto renew the certs. I was using the HTTP-01 challenge mode at first, and using the certbot standalone mode to achieve that.…
Jun 30, 2020
To Be a Terraform Expert —
I was using AWS before I join the current company, but I don't even know terraform before I interview with the current company. I got hit by Terraform at first, it's really hard to deal with states.
Use -target with plan command to collaborate When you work with your colleagues with same terraform project, sometimes they maybe need to apply some changes that haven't merged yet for testing, when you run the plan command, you will find that terraform want to destroy his resources.…
RBAC in Kubernetes —
How to give a pod the access to run kubectl to create pods or configmaps? It's very simple.
Every pods has to bind to a service account, it will be default, if you haven't specify one. And by default, this account didn't have any access to the kubernetes API.…
Mar 7, 2020
Dont Need Kubernates —
翻译自 “Let’s use Kubernetes!” Now you have 8 problems ，这个东西和所谓什么中台，微服务类似，小公司弄…
Comfort Zone —
Dec 28, 2019
Django Channels2 —
Django 3.0.1 has released for sometime. We still use Django 1.11 in one of our project, with Channels 1.1.8, I think it's the time to upgrade to newest Django and Channels.
According this upgrade guide, Channels 2 is a fully rewritten, lots of things has changed. This post is just a record about the upgrade I've done.…
Dec 18, 2019
Year in Review 2019 —
Here it comes, the end-of-year 2019. The next year will be 2020, it’s more easy to pronounce for foreigners :) Works Finally, I realized that I lack of experience and knowledge to continue run our startup company. When you are the founder of a company yourself, you…
Doing Code Reviews —
集中看了一波 code review 的帖子，记录一些笔记 How Do Code Reviews Work at Microsoft? 微软这个倒是没什么亮点，不过最后有一堆别等链接值得…
Oct 17, 2019
Some Interview Questions —
Notes for some interview questions.
OSI 7 layers Physical layer.
Data link layer. Switches are working on this layer, so when we talk about mac address, node to node connection, it's all happened here.
Network layer. IP/ICMP protocol are for this layer.…