Download and install -
WinSetView-Setup.exe
Install 'pandoc' software
How to install pandoc?
$ sudo apt update
$ sudo apt install pandoc
How to use pandoc?
$ tldr pandoc
# npm install -g prettier
How to make html and css and javaScript files
prettier?
$ prettier --write --tab-width 4 test.html
1. To boot into Windows
Press F12 to enter boot menu. Choose Windows.
2. To boot into Ubuntu
(1) Do NOT press F12. Simply wait, and choose 'Ubuntu'.
Explanation: To boot into Windows, use Windows Boot Manager; to boot into Ubuntu, use GRUB.
(2) Press F12 to enter boot menu. Choose Ubuntu.
To extract English texts -
$ sudo apt install tesseract-ocr
$ tesseract your_image_name.png extracted_text.txt
To extract Simplified Chinese texts -
$ sudo apt install tesseract-ocr tesseract-ocr-chi-sim
$ tesseract your_image.tiff output_text.txt -l chi_sim
To extract Traditional Chinese texts -
$ sudo apt install tesseract-ocr tesseract-ocr-chi-tra
$ tesseract your_image.tiff output_text.txt -l chi_tra
To extract multiple languages, e.g. English and Simplified Chinese, and Traditional Chinese texts -
$ tesseract your_image.tiff output_text.txt -l eng+chi_sim+chi_tra
Press Windows key, search for 'Optional features'. Search for and install 'OpenSSH Server'
OpenSSH Server configuration for Windows Server and Windows
Key-based authentication in OpenSSH for Windows
https://irian.to/blogs/how-to-search-and-replace-string-across-multiple-files-in-vim
While recording a macro, perform substitution on one file, and repeat the macros across all args.
Assuming the same folder structure and args, here is how it is done:
qq // start macro in q register
%s/stringToBeReplaced/replacementString/ge // the e flag tells vim to not throw an error if there is no match
:wnext //important. This is similar to `:next`, but it also writes the current file
q // stop macro
999@q //repeat this macros either 999 times or to remaining files.
That's it!