Springboot+AOP + custom annotation implements operation log and exception log

         In our daily work, we often encounter the need to implement the functions of operation log, login log, error log, etc. the young partners who have just joined the company do not know what to do, or the first idea is to write a method to add to the log table in each method in the business code, bu ...

Posted by LonelyPixel on Sun, 05 Dec 2021 22:09:11 -0800

vscode - Ubuntu - Makefile details (extremely easy to understand)

1. Makefile introduction          There are countless source files in a c + + project, which are placed in several directories according to type, function and module. Makefile file defines a series of rules to specify which files need to be compiled first, which files need to be compiled later, which fil ...

Posted by jrough on Fri, 03 Dec 2021 13:50:44 -0800

Basis of data structure -- sequence table and its addition, deletion, query and modification

One sentence a day There is only one kind of heroism in the world, that is, to love life after recognizing the truth of life catalogue 1. Data structure 2. Linearity table 3. Sequence table Create classes and member properties and member methods create object 1. Print sequence table:   public void display() 2. Number of retur ...

Posted by crochk on Wed, 01 Dec 2021 12:46:16 -0800

Python exercises (continuously updated)

Example 001: digital combination Title: there are four numbers: 1, 2, 3 and 4. How many three digits that are different from each other and have no duplicate numbers? How much is each? The program analysis traverses all possibilities. Please shave off the duplicates. num = 0 for a in range(1, 5): for b in range(1, 5): for c in ra ...

Posted by Infinitus 8 on Sun, 28 Nov 2021 17:21:22 -0800

My first JDBC program (to realize the addition, deletion, modification and query of data table) and error analysis and solution.

1. Define your own database and data table 2. Access the defined data table through JDBC and insert 2 records. Requirements: 1. Submit SQL statements defined in database and data table; 2. Submit program implementation process; 3. Submit program running results. This is a small class assignment assigned by my teacher. What is JDBC JDBC(Jav ...

Posted by Lucnet on Sat, 27 Nov 2021 21:47:13 -0800

vscode Common Shortcuts

There are too many shortcuts in vscode to be dazzling, but we only need to remember a few commonly used shortcuts to improve development efficiency, so summarize them and bold them to help improve efficiency. 1. Main Command Box F1 or Ctrl+Shift+P (commonly known as the omnipotent key): Open the command panel. In the open input box, you c ...

Posted by mikkex on Sat, 27 Nov 2021 09:45:32 -0800

jupyter notebook reports an error using conda virtual environment

introduce First use Anaconda to create a virtual environment named pt37, and then want to open jupyter in this virtual environment. Follow other online tutorials and use conda install nb_conda and python -m ipykernel install --name {your virtual environment name, such as QQ} -- display name {the name you want to display} did not find the crea ...

Posted by mlavwilson on Fri, 26 Nov 2021 06:50:05 -0800

HDC2021 technology sub Forum: ArkUI 3.0 makes multi device development easier!

Author: wanglei, Huawei UI programming framework technical expert   Since its birth, HarmonyOS has been designed to meet distributed multi device application scenarios, ranging from smart screen, car machine and tablet to mobile phone and watch. The development of application UI interface in multi device scenario faces new difficulties and chal ...

Posted by senthilnayagam on Thu, 25 Nov 2021 18:32:01 -0800

Tool | one SQL to realize PostgreSQL data retrieval

Author: Zhang Lianzhuang, PostgreSQL R & D EngineerHe has been engaged in the development of PostgreSQL database kernel for many years and has a very in-depth research on citus.Recovering lost data quickly is an important functional requirement of the database. It is generally recommended to use the tools recommended by the official. For op ...

Posted by broann on Tue, 23 Nov 2021 23:08:08 -0800

Understanding of aggregation search cluster based on elastic

Let's start with chestnuts, a pile of candy. We want to classify them by color We also seem to find some maximum, minimum and average values (Note: aggregation can be nested) Hot and cold cluster architecture elastic nodes support specified types, such as specifying which nodes are hot nodes and which are cold nodes. There are two configurat ...

Posted by infolock on Fri, 19 Nov 2021 10:34:53 -0800