Nginx Learning Reorganization

Installation and Configuration of Nginx 0 Installation Slightly, download it on the official website.Note that Nginx is written in C and is not cross-platform. Different operating systems need to download different Nginx. Nginx Basic Commands under 1 Windows start-up start nginx Close ./nginx -s quit ./nginx -s stop see information ./nginx -V ...

Posted by Naez on Tue, 19 Nov 2019 19:33:30 -0800

Take you to set up your own virtual machine and Redis cluster environment, which is worth collecting!

Preface: We've seen a lot of articles analyzing the use or principles of Redis, but the introduction to a complete set of independent redis cluster environments is not much or not detailed enough. Then, this paper will take you hand to set up a Redis cluster environment, Redis cluster in the company's internal production environment, mostly bu ...

Posted by methodman on Tue, 19 Nov 2019 18:23:55 -0800

Applets encapsulate HTTP requests (for getting started)

Development steps First, we need to create a tool library function to store variables that may change, such as domain name and appkey const config = { api_base_url: 'http://bl.***.pro/v1/', appkey: '' } export { config } Next is the play, which uses a class to encapsulate the public HTTP request method and define the public ...

Posted by mamavi on Tue, 19 Nov 2019 08:05:37 -0800

ACM number theory template

Modular operation In programming competitions, there are quite a few problems with too large data results, which often need to be modeled. For example, (a*b)% P, if the result of a*b can't be stored, then remove the module, the result is obviously wrong. In order to prevent overflow, we can take the module of a, B and then qua ...

Posted by Imperialoutpost on Tue, 19 Nov 2019 06:35:11 -0800

ForkJoinPool source code analysis (unfinished, to be added)

Catalog Introduction to ForkJoinPool What is ForkJoinPool? What are the advantages and disadvantages of ThreadPoolExecutor? When to use the ForkJoinPool? Example DEMO Involving core classes or components ForkJoinPool ForkJoinTask ForkJoinWorkerThread WorkQueue Execution process Execution process Task stealing Source code analysis Add ...

Posted by bimo on Tue, 19 Nov 2019 03:50:34 -0800

Linux network service network settings related commands

Linux network settings View network settings Test network connection Use network configuration command Modify network profile This article mainly introduces some basic and common Linux network setting commands and some script file configuration steps in Linux. I. view and test network configuration 1.ifconfig -- View network interface a ...

Posted by Bobby_Jo on Tue, 19 Nov 2019 03:24:32 -0800

The eighth day of FRR learning -- Distributed symmetric gateway

Distributed symmetric gateway spine configuration bgp evpn configuration router bgp 7677 bgp router-id 192.168.59.130 bgp bestpath as-path multipath-relax neighbor fabric peer-group neighbor fabric remote-as external neighbor 192.168.59.128 peer-group fabric neighbor 192.168.59.129 peer-group fabric ! address-family l2vpn evpn neighb ...

Posted by Bunkermaster on Tue, 19 Nov 2019 01:26:44 -0800

Configure yum agent under CentOS7

1. Application scenario: In some application scenarios, Linux servers need to install application packages through yum, but these Linux servers may not be able to connect to the external network, but there is no corresponding Yum server inside. At this time, find a server that can access the external network inside to configure a proxy, and th ...

Posted by brian183 on Mon, 18 Nov 2019 12:23:42 -0800

P2057 [SHOI2007] vote in good faith (maximum flow)

subject P2057 [showi2007] vote in good faith analysis The modeling of network flow is so ingenious. We regard the agreed opinion as the source point \ (s \), and the disagreed opinion as the sink point \ (t \). Then we \ (s \) connect to all the people who agree and \ (t \) connect to all the people who disagree. The traffic volume is 1, which ...

Posted by myharshdesigner on Mon, 18 Nov 2019 12:19:42 -0800

Image classification experiment based on VGG-16

1. Data preparation The data I used in this experiment are pictures of five kinds of flowers. The real pictures are as follows: 5 kinds of flowers are simply labeled with 0-4 tags. Training a good network model requires a lot of data. The number of samples in this experiment is shown in the table below:2. vgg16 network structure ...

Posted by comtek on Mon, 18 Nov 2019 11:40:00 -0800