WSL update default source

Today, because of a VSC + + error on Windows, I think of WSL. With administrator privileges, the WSL of this computer is installed again. Set → update → developer options → open development mode Control panel → program and update → open or close function → WSL function check Open cmd → input bash → follo ...

Posted by scanreg on Sun, 03 Nov 2019 17:20:21 +0100

Spring Boot 2 practice: customize the startup and operation logic

1. Preface I don't know if you have received this kind of demand, and immediately implement some logic after the project is started. For example, cache preheating, or broadcasting after online, etc. Maybe not now but in the future. Think about your possible operation, write an interface and go online. Can I adjust it once? NO! NO! NO! This kin ...

Posted by russ8 on Sun, 03 Nov 2019 05:11:57 +0100

bytecamp summer camp online written test programming

Do not Tucao cattle net bug, the online written experience is very poor. At that time, it seriously affected the mood, psychological quality or to improve, no matter when, programming to maintain a peaceful state of mind. Let's talk about the solution directly. There are four questions in total. The first one is very s ...

Posted by gb75 on Sat, 02 Nov 2019 22:48:07 +0100

Eureka Server prometheus monitoring service health status

background The service process monitoring is generally handled by related components. In the early business, the DB resources used by specific services exceed the quota allocation, which leads to the failure of health detection. The services are successively offline from Eureka. When the service monitoring is not routed to a specific node, or r ...

Posted by gmbot on Sat, 02 Nov 2019 22:32:33 +0100

Unique identification of order

When designing a table structure in a normal development system, it is often necessary to have a field to identify the uniqueness of the record, which is implemented from different dimensions of the java level and the database level java generates unique identity Version 1 Unique identifier UUID generated by java System.out.println(UUID.rando ...

Posted by winggundamth on Sat, 02 Nov 2019 21:16:48 +0100

Learn the other two types of host,none of docker network from scratch

We have already introduced the bridge network, which is more complex. This section introduces two simple networks: host and none. none Network First, we introduce the Network of type none. First look at our Network: duandingyang@duandingyangdeMacBook-Pro  ~/docker/ubuntu-16.04  docker network ls NETWORK ID NAME D ...

Posted by ud2008 on Fri, 01 Nov 2019 20:35:36 +0100

C: create, insert, traverse, find, delete, sort, destroy

C: create, insert, traverse, find, delete, sort, destroy I. significance of the existence of two-way circular list Array structure provides continuous memory access and use. Linked list is an effective organization and use of memory fragmentary space. Bidirectional circular linked list increases the ...

Posted by BEFOR on Fri, 01 Nov 2019 04:43:38 +0100

Problem A: circuit maintenance

Problem A: circuit maintenance Time limit: 1 Sec memory limit: 128 MBSubmitted by: 16 solved by: 7 [Submission][state][Discussion Edition [proposition people: add_shengjunjie][Edit] [TestData] Title Link: http://acm.ocrosoft.com/problem.php?cid=1694&pid=0 Title Description Ha'nyu is a witch from a different worl ...

Posted by arsenalfan14 on Thu, 31 Oct 2019 21:35:31 +0100

Different environment packaging of springboot

Article directory 1. Scene description 2. Solutions 2.1 real code 2.2 code description 2.3 renderings: 2.3.1 program directory 2.3.2 maven directory 1. Scene description Spring boot + Maven packaging, projects often use different environments to package different configuration files, ...

Posted by fangfang on Thu, 31 Oct 2019 21:18:10 +0100

python starts server related services

Because the server room has no cooling facilities, it often needs to be shut down after work in summer, which makes it very troublesome to restart the application frequently. It is convenient to write a service restart script in python. Environment dependency: Readme.txt Environmental dependence: python3 pip3 install paramiko pip3 insta ...

Posted by phpeanuts on Thu, 31 Oct 2019 19:19:19 +0100