The best solution for programmers to take notes

1. Conclusion

git + word + remote repository (github or gitee)

2. Introduction

As a programmer, you need to learn a lot of technology every day, but as time goes by, forgetting is inevitable, so you must write notes frequently. But what kind of software or method should I use to take notes? Let me talk about my personal practice and opinions.

2.1 Storage

1. First of all, I don't trust any platform or server, such as OneNote, Youdao Cloud Note, Impression Cloud Note, etc., because maybe the server will be broken one day, or because of network problems and can not connect, it will bring a very big loss. In addition, if all the files are saved locally, the user experience between multiple terminals is not good, and there is also sharing of data loss.

Therefore, the way to take notes must first meet two points, 1. Can be backed up locally, 2. Can be backed up remotely .

2.2 Why don't I use OneNote

1. The main problem is because OneNote's synchronous connection speed is too slow, because it depends on OneDrive, and its server is overseas, so the network speed is slow. And in China, there is a risk that the network will be disabled.

2.OneNote is not friendly to inserting code. Although there are plug-ins to solve this problem, it currently only supports OneNote2016 version.

3. Although the single page of OneNote is infinite, I don't use it when actually taking notes, and I need a vertical layout similar to a web page, which is easier to quickly view.

4. OneNote's article ratings and positioning are not good enough, only one knowledge point can be stored on one page. If you want to rank multiple titles, you can only create multiple pages. For example, the following figure

5.OneNote2016 does not support black background mode. OneNoteUWP supports black mode, but does not support local export. Uncomfortable looking at white pages for a long time

2.3 Why don't I use Markdown

1. The main problem is that it is inconvenient to save pictures with markdown, which cannot be saved directly on the page, and a new folder needs to be created. If you want to modify the picture, you must delete the picture in the folder, and then put a new picture.
Although the pictures can be converted to base64 and stored in the page, it consumes a lot of hardware resources and is cumbersome to operate.

2. Although markdown is easy to write, it is not flexible and customizable, does not support drawing, does not support various font enlargement, does not support modifying the font color, does not support typesetting, etc.

3. Why do I think the best way to use git + word + remote warehouse (github or gitee)

1.git can realize incremental backup, but this function is not important for taking notes. The main reason is that it can be synchronized to a third-party platform (github, gitee). You can download on multiple computers through a third-party platform. This is very convenient for me working with several computers.

2. This method can achieve local backup. In extreme cases, if github and gitee are no longer accessible, at least the local data will not be lost.

3. Word view and location-level tags are convenient. Click the label to directly locate the article.

4.word is very friendly to save code, you can directly copy the code from IDE. The format, font color, and background after pasting are the same as in the IDE.

5. Have unlimited web browsing view like markdown. Just select the web board view in the word view toolbar

6. Support black pages, long-term eyes are not tired. Select the page color in the design toolbar.

7.word text editing function is powerful, this point will not introduce much.

8. Word running takes up little memory, and the word2016 running memory I use is basically within 100M. It rarely exceeds 150M.

4.Specific operation

1. Must first use git

2. Create a folder and create various word note texts in it. Non-note files can be hidden.

3. Use the git command to save and synchronize to the remote warehouse. You can also use IDEA integrated git operations (I use this because of convenience).

Guess you like

Origin www.cnblogs.com/Haidnor/p/12679242.html