One key package / deployment scheme of Ctrip Apollo

Apollo-docker One click package / deployment scheme of Ctrip Apollo. Almost no need to modify any Apollo source code or configuration to build a rapid development / test environment. Project address: https://gitee.com/ellipse/apollo-docker 1. Download source code Apollo git clone https://gitee.com/nobodyiam/apollo.git Compile script git clone ...

Added by S A N T A on Sun, 24 May 2020 17:56:59 +0300

Multithreading to implement an accumulation (can be specific business) operation

Common practice Add 100 directly here public static void main(String[] args) throws Exception { long start = System.currentTimeMillis(); Integer count = 100; Integer sum = 0; for (int a = 0; a < count; a++) { sum += a; Thread.sleep(100); } System.out.println ...

Added by Mr.Shawn on Wed, 20 May 2020 17:08:55 +0300

Self timer 66 Python ffmpeg bulk compression video

Case story: Bug videos are found during the test, which need to be provided for reference in the development of Bug solution, However, after video shooting, it is too large to be transmitted on wechat client, Therefore, there have been testers using winzip to compress in batches (part1, part2, part3), Then transmit the "chaos" of vid ...

Added by ciaranmg on Tue, 19 May 2020 20:11:39 +0300

Getting started with java | operator

Starting at: Getting started with java | operator java entry series, from scratch!!! operator 1. Overview Logical operator: the result is a boolean type &-- yes and (single and) 1 & 2 want to get the final result to be true, the requirement for 1 and 2 is: both must be true &&-- yes and (double and / short circuit and) ...

Added by alexboyer on Tue, 19 May 2020 17:33:23 +0300

RabbitMQ publish subscription mode, synchronizing user data

In the previous several articles, we introduced how to publish a simple message through RabbitMQ, then to work queue, multiple consumers to consume, and finally to work queue distribution and message response mechanism (ACK); These modes we shared before are all deleted from the queue after being consumed. Ideally, they will not be re consumed. ...

Added by noiseusse on Tue, 19 May 2020 06:07:30 +0300

In this way, I solved most of the problems of leetcode!

Take a look at it. Good habit! GitHub https://github.com/OUYANGSIHAI/JavaInterview It has been included. This is the Java interview summary of the first-line large-scale factory that I spent 3 months summarizing. I have taken the offer of the large-scale factory. In addition, the original article was launched in my personal blog: blog.ouyangsi ...

Added by thewomb on Tue, 19 May 2020 03:50:36 +0300

Consul configuration center of Spring Cloud series

We have learned about Spring Cloud Config before: Consul configuration center of Spring Cloud series (I) Consul configuration center of Spring Cloud series (2) Consul configuration center of Spring Cloud series (3) It provides the function of configuration center, but it needs to cooperate with git, svn or external storage (such as various da ...

Added by synergypoint on Mon, 18 May 2020 09:51:39 +0300

Five communication modes between processes

Source: https://blog.csdn.net/wh_sjc/article/details/70283843   IPC (InterProcess Communication) refers to the communication or exchange of information between different processes. IPC usually includes pipeline (including nameless pipeline and named pipeline), message queue, semaphore, shared storage, socket, Streams, etc. Soc ...

Added by ValdouaD on Mon, 18 May 2020 09:00:24 +0300

The fifth experiment report of operating system memory management

0 personal information Zhang yingzi 201821121038 Calculation 1812 1 purpose of the experiment Learn more about memory management through programming. 2 experiment content On the server, we use Vim to write a program: simulate a memory management algorithm, test the result, and explain the running result. 3. Experiment report    Three po ...

Added by bryansu on Sun, 17 May 2020 11:48:25 +0300

python monitor, operate keyboard and mouse library pynput detailed tutorial

Section 0.0.0 preface Monitor, operate mouse and keyboard are shortcut to realize automation, such as me Automatic check in Analog keyboard operation is used. pynput is a cross platform third-party python library that monitors and controls mouse and keyboard. You can install it through pip insnall pynput. The dependent libraries are downloaded ...

Added by pvraja on Sun, 17 May 2020 09:07:55 +0300