C ා create Word item label list and multi-level number list

In a Word document, when there are multiple parallel information contents or paragraphs, we often add item labels to make the document organized. When reading, the document is also more beautiful. In addition, for content with a certain logical hierarchy, the hierarchy of document content can also be indicated by multi-level number list, and th ...

Posted by doood on Sat, 04 Apr 2020 23:37:58 -0700

Spring cloud gateway dynamic routing

Summary Online project publishing generally has the following schemes: Downtime release Blue green deployment Rolling deployment Grayscale release This kind of release is usually released at night or during major version upgrade. Because it needs to be stopped, now everyone is studying Devops scheme. Blue green deployment requires t ...

Posted by Maq on Sat, 04 Apr 2020 23:15:39 -0700

How can the code for dao and entity be generated automatically in actual development?A tool for you

01 Focusing on your "Ape Story" friends, you know that previous articles have advocated rejection of CRUD. What is CRUD?Today let's talk about how the Java sisters and apes interact with the old database man.   Product Xiao Wang Tiao said forcefully: Ape classmates, let's launch a pop-up product in the near future, you first achieve ...

Posted by Vebut on Sat, 04 Apr 2020 22:52:17 -0700

Talk about canal's ApplicationConfigMonitor

order This article mainly studies canal's ApplicationConfigMonitor ApplicationConfigMonitor canal-1.1.4/client-adapter/launcher/src/main/java/com/alibaba/otter/canal/adapter/launcher/monitor/ApplicationConfigMonitor.java @Component public class ApplicationConfigMonitor { private static final Logger logger = LoggerFactory.getLogger(Applic ...

Posted by elkidogz on Sat, 04 Apr 2020 22:44:58 -0700

Retrofit+BroadcastReceiver realizes the function of App version update

Preface: In the process of project development, there is generally a need for "version update". We can judge whether to upgrade according to the version code. Generally, for each version update, the version number is increased by one. If the version number on the get server is higher than the version number of this program, you will ...

Posted by PGTibs on Sat, 04 Apr 2020 22:30:56 -0700

Implementation of Sogou AI API in Python 3

1, background a. Sogou has also released its own AI API, including identity card ocr, business card ocr, text translation and other APIs, with average accuracy in the initial test. b. Based on Python 3. c. It also has its own signature to generate this piece. With the foundation of goose factory, it is relatively simple to write. d. However ...

Posted by udendra on Sat, 04 Apr 2020 21:45:08 -0700

Install mysql in RPM mode

System environment Centos-7 mysql version mysql-5.7.17 1. Download and unzip rpm package [root@VM_42_245_centos ~]# tar xf mysql-5.7.17-1.el7.x86_64.rpm-bundle.tar [root@VM_42_245_centos ~]# ls mysql-5.7.17-1.el7.x86_64.rpm-bundle.tar mysql-community-client-5.7.17-1.el7.x86_64.rpm mysql-community-common-5.7.17-1.el7.x86_64.rpm ...

Posted by Wo0tHigh on Sat, 04 Apr 2020 21:41:32 -0700

Making slide label with VUE

Step 1: write out the HTML structure First write a static effect you need to show, and then change it to VUE dynamic generation. The code is as follows: <div id="app1" class="wrap"> <ul class="tabs"> <li class="active"><a href="javascript:">Label 1</a></li> <li>&lt ...

Posted by SiMiE on Sat, 04 Apr 2020 21:06:54 -0700

JavaScript array sort notes

Several kinds of sorting methods are often used in the work, and they are sorted out and shared for everyone in case of emergency. 1. array sort function Use the sort method of Array. var arr = [2, 8, 5, 0, 5, 2, 6, 7, 2] arr.sort((a,b) => { return a - b }) console.log(arr) // Results: [0, 2, 2, 2, 5, 5, 6, 7, 8] 2. Bubble sorting Compa ...

Posted by aspbyte on Sat, 04 Apr 2020 21:06:27 -0700

7-3 underground maze exploration (30 points) (dfs)

Tunnel war is a way of fighting against Japanese invaders in the North China Plain during the Anti Japanese war. The tunnel network is the underground works of Fang Lian Fang, Jie Lian Jie and Cun Lian Cun, as shown in the figure below. While reviewing the arduous war life of our predecessors, we sincerely admire their intelli ...

Posted by Skawn on Sat, 04 Apr 2020 20:52:57 -0700