[Linux] Copy Text from Vim Editor to System Clipboard
When we using Vim editor to edit our text/program file, if we can copy and paste to outside environment, it is very convenient.
Read More »[Linux] Copy Text from Vim Editor to System ClipboardWhen we using Vim editor to edit our text/program file, if we can copy and paste to outside environment, it is very convenient.
Read More »[Linux] Copy Text from Vim Editor to System ClipboardWhen we using python for data. analysis, especially natural language processing tasks, it is difficult to avoid dealing with some large scale file.
Read More »[Python] How to Avoid Memory Error when using open() to open a large fileIf you are used a terminal to connect to remote server to develop, maybe you want to found a fastest method to see a remote server picture.
Read More »[Linux] Use “feh” Command to Open Image in Local Terminal from Remote ServerToday, I used PyTorch to build a model, I suddenly needed to submit my technical report, so I simply found a tool to visualize the model: torchviz.
Read More »[Solved] graphviz.backend.ExecutableNotFound: failed to execute [‘dot’, ‘-Tpdf’, ‘-O’, ‘Digraph.gv’], make sure the Graphviz executables are on your systems’ PATHWhen we developing on the remove server, many people used VIM editor to edit the code of project. Although VIM is convenient, it still has many functions less than IDE.
Read More »[VIM] Use “YouCompleteMe” Plugin to Auto Complete Code (Take Python as an Example)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 Block