This series is about Docker container related, I will share some practical tips in my daily work, and I hope some of them will help you too. Maybe some of the strategies you have already used may be useful, so I will share this series as a summary, the first part will introduce how to download and build image, how to start and stop container.
Since VSCode added the remote ssh, it can separate interface and backend, and only need ssh protocol to connect backend, Recently, I had the idea that I could create an ssh port on my Android phone, and then use VSCode to run a server on my phone, When you go out, you can write and read code by connecting to Android, after all, the performance of the smartphone is good enough.
It is under development, although I can't guarantee that all ultisnips functions can be used in vscode, I will do my best. Please feel free to give an issue or pull requests.
In my company I have been responsible for the development and maintenance of a PaaS platform, which can be understood as the user writes the code and then deploys it into our machines. The developer doesn't need to care about the platform details and deploy hosts. But in fact, a lot of the maintenance tasks are transferred to the PaaS platform administrator.
When I want to optimize the Dockerfile, I need to know the meaning of the base image tag. Like: `3.8.0a4-stretch`, `3.7.3-alpine3.8`, `2.7.16-slim-jessie`. I do some research, and make a summary of the meaning of the base image tag, and I'll give you advice about choosing the proper base image.
No Python web framework has pretty logs, only Tornado. Maybe switching to Tornado directly in production is not appropriate, but in development, switching to Tornado can bring great convenience to development and debugging.
I used to meet a problem, in a comment's system, the operator need to dynamic adjust the factor to influence the weight of the comment, and then sort the comments by the weights.
At last, I want to share some methods to store the ssh keys.
When you have so many machines, the ssh_config will become large and hard to find the exact host.
The last blog introduced wildcards, which make things easier, but not the easiest.