Interaction free shell programming

preface Today, I'd like to introduce two interactive software Here Document and Expect. The former system comes with its own tools, and the latter needs to be installed. After mastering these two tools, it will help our production work. Let's go into them and have a look. 1, Here Document interaction free 1. Overview: Use I/O redirectio ...

Posted by scottjcampbell on Wed, 15 Sep 2021 11:09:49 -0700

Golang benchmark - Test code performance

preface Performance is a very important indicator when optimizing code or determining algorithm selection. For example, I need to use hash algorithm for signature when making requirements recently. At first, I wanted to use md5 without thinking about it, and then a few big words popped up on the IDE: md5 has known security problems, so it is r ...

Posted by benphelps on Tue, 14 Sep 2021 12:03:01 -0700

Installation and use of reverse engineering plug-ins

introduce Reverse engineering plug-ins refer to mybatis code helper and other plug-ins. Their function is to automatically generate entity classes, swagger, mapper, service and other files according to the written database table, so as to adapt to rapid iterative development Forward engineering, such as spring data, automatically generates ...

Posted by SunsetKnight on Sun, 12 Sep 2021 15:06:33 -0700

Spr2: introduction of IOC theory

2.1 introduction The following uses specific examples to introduce the idea of IOC. Firstly, the project follows the MVC development concept, mainly including dao layer, service layer and Test at the same level as main. 2.2 examples 2.2.1 code UserDao interface: package com.yun.dao; public interface UserDao { public void speak(); } ...

Posted by Altair on Wed, 08 Sep 2021 03:20:57 -0700

Java Advanced Junit Unit Testing, Reflection, Annotation

Catalog Junit Unit Test reflex The principle of reflection: Methods for getting Class objects (three different stages, three different methods)  Getting Method of Class Object Field class (member variable) Constructor class (constructor) Method class (member method) annotation JDK predefined annotations Custom Notes Junit Un ...

Posted by BuzzLY on Thu, 02 Sep 2021 12:15:13 -0700