Nginx installation, reverse proxy implementation, and in-depth optimization

I. Installation of NginxOn the basic concepts of Nginx, in previous blogs: https://blog.51cto.com/14227204/2464167With a detailed introduction, this blog post starts directly from the installation. Environmental preparation: Three centos 7.5, one running Nginx and two running simple web services, are designed to test the effectiveness of the ...

Posted by ohenewa on Tue, 07 Jan 2020 00:29:46 -0800

About Android calling nanohttpd class to access html in LAN

Want to record the problems encountered in the work, just learned to call the nanohttpd class, concise and clear. Attach the download address of nanohttpd package https://github.com/NanoHttpd/nanohttpd First of all, this paper introduces the use of nanohttpd here. You can build a lightweight Web server through this class. To realize the functio ...

Posted by sfullman on Mon, 06 Jan 2020 19:47:05 -0800

Configure SFTP/SSH and multi-user settings under Linux

Environmental Science: CentOS 7,OpenSSH_7.4p1 Summary description: This article mainly describes how to configure SFTP service, how to set up multi-user and user directory permission control, how to control ssh connection; Steps: 1. Configure ssh and Sftp (default Sftp server) at the same time The general root user uses ...

Posted by cgraz on Mon, 06 Jan 2020 14:16:42 -0800

XRPC interface two-way call

Generally, the services invoked by remote interfaces are based on the client's active invocation of the server, which provides the related interface services. In the new version of XRPC, a new function is introduced, that is, two-way interface communication. Component provides services to create an interface proxy for a client session and invok ...

Posted by ryankentp on Mon, 06 Jan 2020 02:51:43 -0800

Using ESPCN of residual network to enlarge 4 times of flowers image

Use ESPCN network with residual network to recover picture 4 times   Reduce the length and width of the input image by 1 / 4 Add a residual network, add two functions, one is leaky ﹐ relu, the other is a function of residual ﹐ block, which is used to generate network residual blocks, to realize a residual block with two layers of convoluti ...

Posted by suresh1 on Mon, 06 Jan 2020 00:41:17 -0800

Analysis of Three Parameters of Navigation Hook

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Global guard router.beforeEach((to,from,next)=>{ //Jump from From to // To: Routing object to the destination to be reached ...

Posted by Rowno on Sun, 05 Jan 2020 21:31:22 -0800

Tensorbboard write picture

The default channel for opencv to read pictures is bgr, which is not a common rgb. A conversion is needed to display the pictures normally. Otherwise, there will be color confusion!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!   Write picture seems to be asynchronous operation You need to wait for a while to write in. If you don't set the wait, you wil ...

Posted by Wolfsoap on Sun, 05 Jan 2020 18:14:16 -0800

[original] brainless operation: HTML5 + CSS + JavaScript to realize the competition schedule

1. Background: friends, please help to make a competition scheduling software 2. Requirements: ① If the number of participants is unknown, the name of participants can be read from the text file; ② The participants are randomly divided into two groups, two PK in one group. If the number is odd, one of the participants will be promoted automa ...

Posted by roomyz on Sat, 04 Jan 2020 09:52:41 -0800

Add item to cart

There are users, commodities and a shopping cart table involved in the entity class Demand: On the product details page, select the product, click Add shopping cart, and display all the products on the shopping cart page Analysis: Entities involved: Shopping cart shopping cart item user table Step analysis: 1. Product details ...

Posted by lizlazloz on Sat, 04 Jan 2020 06:00:10 -0800

TensorFlow rnn analog binary subtracter

Convert two numbers to binary arrays Also convert the result to a binary array Two input and one output subtracters simulated by rnn Where i is the binary array of two numbers, j is the array after subtraction, and k is the simulation result i: [[0. 0. 1. 0. 0. 1. 0. 1.] [0. 0. 1. 0. 0. 0. 0. 0.]] j [0. 0. 0. 0. 0. 1. 0. 1.] k [0. 0. 0. ...

Posted by something on Sat, 04 Jan 2020 05:40:31 -0800