[Linux] How to Hide the /dev/loop* device displayed by the df command
If you are familiar with the use of Linux system, you must be familiar with df
command. df
is a command commonly used to check the allocation of system hard disks.
If you are familiar with the use of Linux system, you must be familiar with df
command. df
is a command commonly used to check the allocation of system hard disks.
When we using python to read a file, or use any editor to open the file, we open file with the wrong encoding that causes the text in the file to appear garbled.
Read More »[Python] Use “chardet” package to determine the encoding of the fileSometimes, we would like to be able to map the buttons with different functions on the keyboard, such as the arrow keys up, down, left and right to the shortcut keys Alt + WSAD
.
I once wrote the article [Linux] Use “wget” command to download file and [Linux] Use “wget” command to download files from Google Drive, which records how to use the famous wget
command in Linux to download Google Drive files that have been given public permissions. Now this article is going to document the package gdown
in Python that can be used to download Google Drive files.
I have used WordPress to build blog for more than half a year. The reason why I build a blog was to record the process of learning programming, so that I can recall it easily if I have forgotten many technical details in the future.
Read More »[WordPress] A Conversion Program to Highlight the Code in HTML BlockI have always wanted to make a button to copy the text of a html block, that can help a project I am developing very well. Therefore, I studied it today and recorded it.
Read More »[HTML] Make a Button to Copy TextToday I want to record how to hide the text in the html block. The reason why I want to make this function is because I want to write a copy text function, but the text part is not intended to be displayed on the screen.
Read More »[HTML] Hide the text in the blockThe last experience note recorded the use of render_template() to render html files through the Flask framework, so today I will briefly record how to interact with html through request.
Read More »[Python] Flask Study Notes (3): Get and Post commands in request methodWhen we using Flask framework to develop a web page, we can use render_template()
function to render html web page.
Route is the function we use to register the URML in Flask.
Read More »[Python] Flask Study Notes (1): Introduction of Route