The following is a short tutorial to use Docker, aimed at only the essentials.
[more]
Creating a command line program automatically from a Python function
Undeniably Python is quite idiot-friendly language that you don’t need too much learning to get something done. A lot of code out there to copy and the concise language helped too. While writing a Python function is easy, it seems quite a lot of boilerplates needed additionally to make a...
[more]
Diskless Debian with NBD
A previous post about diskless Debian setup was using NFS. This is an attempt to try network block device. This can solve some problem caused by NFS, for example, running a docker daemon on such a system that uses overlay storage driver, which only supports a few backing file systems....
[more]
Keyword-only arguments, positional-only arguments, and Python decorators
In Python 3, we can define a function with keyword-only arguments and in Python
3.8, we can further define with positional-only arguments. The syntax is easy, as follows:
[more]
Color PCL in macOS
It is quite a surprise that if you have a HP color laser printer, and you’re trying to use the PCL protocol to print, you will only print in black and white. If it is print using PostScript language, you can get the color. There is not an option for...
[more]