In this blog, I will show you the difference between `ENTRYPOINT` and `CMD`
Docker Series 2: Advanced
In this article, I will introduce some advanced operations in Docker, like volumes and port forwarding.
Docker Series 1: Basic
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.
Run VSCode Remote in Android
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.
Vsnips: Allows you to use Ultisnips in vscode
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.
DevOps pains and the use of Termux
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.
Docker base image tag meaning and selection
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.
Debugging all types of Python servers with Tornado
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.
Use Python AST to analysis expression and sort by weight
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.
OpenSSH Series 10: Store your key
At last, I want to share some methods to store the ssh keys.