Ben Chuanlong Du's Blog

It is never too late to learn.

Tips on Python-Language-Server

pip3 install python-language-server[all]

References

https://github.com/palantir/python-language-server

https://github.com/tomv564/pyls-mypy

https://github.com/paradoxxxzero/pyls-isort

https://github.com/rupert/pyls-black

Tips on Docker Compose

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Installation

docker-compose can be installed using the following command on Ubuntu.

wajig install docker-compose

And docker -compose can be installed using brew on macOS.

brew install docker-compose

Examples

version: '3'
services …

Chinese Locale in Linux

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

First you have to make sure locales is installed. If not, you can install it using the following command (on Ubuntu/Debian).

sudo apt-get install locales

Ubuntu

# GB2312 encoding support
sudo …