Pulling/pushing Docker images is extremely slow in China. There are a few ways to speed up docker pulling/pushing in China.
Using the Official China Mirror
Now the best way is to use the offical China mirror. Please refer to Docker 中国官方镜像加速 …
Pulling/pushing Docker images is extremely slow in China. There are a few ways to speed up docker pulling/pushing in China.
Now the best way is to use the offical China mirror. Please refer to Docker 中国官方镜像加速 …
The unpacking assignment assigns elements of a tuple/list to variables at once.
__file__
is the path of the Python script.
Note that if you make a sybolic link to a Python script and run the symbolic link,
then __file__
is the path of the symbolic link.
Of course, you can use os.path.realpath
to get real path of files.
pathlib.Path …
Break down the work into smaller modules and develop pipelines (consists of module) for the work. Be sure to save (important) intermediate results so that you can resume failed modules withouting reruning succeeded ones.
Manage your project in GitHub and use issues to manage tasks to do and their priorities …
If the two directories are on the same machine,
you can use either colordiff
(preferred over diff
) or git diff
to find the differences between them.
colordiff -qr dir_1 dir_2
git diff --no-index dir_1 dir_2
It is a little bit tricky when the …