Category:Development Tool

  • Give me a clean Mac OS

    Time:2020-12-1

    I bought a MacBook Air specially chose the high configuration version. The hard disk space was 128G (Antique machine in 2011). It was used well in the first 1-2 years. Later, it was found that it was more and more incompetent. In order to make space as much as possible, almost all the photos, videos […]

  • Seven editors for web developers

    Time:2020-12-1

    Editor’s note: the tool selected in this article comes from7 Awesome Markdown Editors for Web Developersand5 Cross-Platform Editors for Web Developers Recently, I saw two articles introducing several web development editors andMarkdownEditors, especially some new tools across platforms, are recommended(well, I admit it’s mainly recommended for Ubuntu / Linux users)。 Markdown editor The original collection […]

  • Dealing with sudden failure of public CDN

    Time:2020-12-1

    Use of public CDN When I started to develop my blog, I used bootcdn and found that they were hacked. Although we want to scold those “hackers”, we have no way to prevent them. We can only solve the problem from our own website. At that time, I didn’t have the technology to solve this […]

  • NiO optimization principle and Tomcat thread model

    Time:2020-12-1

    1. I / O blocking It is said in the book that bio and NiO are all I / O models, but the scope of I / O model is a little vague, so I took a lot of detours. Our daily development process involves NiO model application, such as tomcat, netty medium thread model, […]

  • Using Maven embed to execute Maven commands through code

    Time:2020-12-1

    If there is a requirement to call Maven command through code to upload jar package or perform other operations, how to implement it? Of course, you can call the command line. The official Maven project Apache Maven invoker implements similar requirements, but the premise is that Maven is required in the machine or container where […]

  • 02-idea module creation and git basic operation.

    Time:2020-12-1

    Create the project module and run it Create and run a Java module Create a Java module in the project opened by idea, as shown in the figure: In the interface of creating Java module, select next and enter the module name, as shown in the figure: After the Java module is created, the structure […]

  • Git usage record: various undo operations of GIT

    Time:2020-12-1

    Git various undo operations 1,  git checkout — file You can undo the files after add and commit git checkout — a.txt 2,  git checkout branch a.txt Replace the file in the current branch with a file from another branch git checkout master a.txt 3, git rm a.txt Delete a file directly git rm a.txt […]

  • Electron preliminary [01] – main process vs rendering process & sharing data between different pages

    Time:2020-11-30

    Electron uses web pages as the app’s GUI, so you can think of it as a small chrome kernel browser controlled by JavaScript. Main process vs rendering process Main process In electron, runpackage.jsonThe process of the main script in is called the main process. Scripts running in the main process can play a GUI role […]

  • Test markdown’s syntax

    Time:2020-11-30

    This syntax is quoted from the homework tribe’s CMD online markdown editor readerhttps://www.zybuluo.com/mdeditor?url=http://www.zybuluo.com/static/editor/md-help.markdown A concise grammar manual for CMD markdown 1. Italics and bold Use * and * * for italics and bold. Example: This isItalicsThis isbold。 2. Graded title Use = = = to indicate the first level title, and — to indicate the […]

  • Browser three handshakes and four waves

    Time:2020-11-30

    Three way handshaking 1. Background: TCP is located in the transport layer, and its function is to provide reliable byte stream service. In order to accurately deliver data to the destination, TCP adopts the three-time handshake strategy. 2. Principle: 1) The sender first sends a syn (synchronize) packet to the receiver. 2) After receiving, the […]

  • Summary of the most detailed practice method in the history of introducing local jar package into Maven project

    Time:2020-11-30

    date author edition remarks 2020-09-27 Ding bin V1.0 The introduction of local jar package into Maven project can be considered from three aspects 1. Ide tools such as JetBrains idea consider: Open the file – project structure – project settings – modules –In the dependencies tab area, click the + icon in the upper right […]

  • 03 – create springboot project based on idea and do entry analysis

    Time:2020-11-30

    Background analysis of spring boot Java EE application system has been criticized by developers for its heavy configuration, low development efficiency, high difficulty of tripartite integration and complex deployment process. Even if spring is used as a lightweight resource integration framework, it still needs a lot of manual dependency management and complex XML configuration (which […]