It suggested that you use IPython shell instead of Bash/Zsh shells. Please refer to IPython Is the Best Shell for detailed discussions. If you have to use shell commands, it is suggested that you use Linux commands when possible as Linux command are more universal and useful. You can …
Run Docker Containers Inside a Docker Container
You can run Docker containers inside a Docker container.
To allow this,
you have to pass the docker socks into the container
using the option -v /var/run/docker.sock:/var/run/docker.sock
.
For more discussions,
please refer to
How To Run Docker in Docker Container [3 Easy Methods …
Compare Data Frames Using DataCompy in Python
Installation¶
Encoding and Decoding Base64 String in Python
Packaging Python Dependencies for PySpark Using python-build-standalone
You can build a portable Python environment following steps below.
-
Install python-build-standalone.
-
Install Python packages using pip of the installed python-build-standalone distribution.
-
Pack the whole python-build-standalone directory into a compressed file, e.g.,
env.tar.gz
.
The GitHub repo dclong/python-portable has good examples of building portable Python environments leveraging …
Build a Fat JAR Using Maven Without a Java Project
You can use Maven to download dependencies of Java packages without creating a Java project.
For example,
if you want to download all dependencies of arrow-jvm
and arrow-memory
and build everything into a single fat jar (for easy use in other places),
you can first crate a file pom.xml …