Analysis of nginx http block configuration

In the last article, we explained the storage structure of nginx http module, which is the cornerstone of our understanding of the working principle of http module. This article mainly explains how nginx builds the storage structure of http module step by step by parsing the http configuration block in nginx.conf. 1. Analysis of HTTP configurat ...

Added by xposed on Tue, 18 Feb 2020 06:21:52 +0200

Logstash: API analysis using ELK stack

Extracting data through the API is not one of the most common use cases for ELK Stack users, but this situation is very useful for some cases. For example, developers who use rest APIs to wrap their database services might be interested in analyzing this data for business intelligence purposes. In to ...

Added by etrooper on Mon, 17 Feb 2020 12:21:37 +0200

Installing appium in Mac environment for App UI automation test

Dependent environment: java ✗ java -version java version "1.8.0_111" Java(TM) SE Runtime Environment (build 1.8.0_111-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode) python $python --version Python 3.6.4 node.js $node -v v10.6.0 If not, install with the following command: $brew install node and ...

Added by gwh on Sat, 15 Feb 2020 21:15:00 +0200

CSS learning (three selectors, div, span, three ways of introduction, background series, font series, four access states of hyperlink)

CSS (Cascading Style Sheets) It allows you to control the style and layout of multiple pages at the same time, define the style for HTML elements (each label), and display the changed style in the page. Update the whole HTML globally.   (1) There are three ways to style: (1) id selector id is a ...

Added by c_shelswell on Fri, 14 Feb 2020 18:39:50 +0200

NIO operation I. FileChannel

Definition A new API is defined in JDK 1.4, i.e. New IO, which has different working modes from the standard IO API. The core components of NIO include channel, buffer and selectors. Traditional IO is based on byte stream and character stream operation, which is blocking, while NIO is based on Channel ...

Added by jamiefoxx on Tue, 11 Feb 2020 13:46:18 +0200

The growth of Java beginners (basic chapter) 2

Today, let's talk about the basic data types and the transformation between them; 1, Basic data types Integer floating point character Boolean 1. integer byte -1 byte - 2 ^ 7-2 ^ 7-1 - 128-127 negative - positive - 1 negate 1Byte=8bit is reasonable to say that its range should be 256, but be ...

Added by francoisp on Sat, 08 Feb 2020 14:53:14 +0200

ES6'...'Extended Operator

Application in arrays The spread operator is three points (...).It is like the inverse operation of the rest parameter, ++ converts an array to a comma-separated parameter sequence++. console.log(...[1, 2, 3]) // 1 2 3 console.log(1, ...[2, 3, 4], 5) // 1 2 3 4 5 [...document.querySelectorAll('div')] // [<div>, <div>, <div> ...

Added by realjumper on Fri, 07 Feb 2020 07:11:53 +0200

C++11 (3 generic programming) - type{traits, variable parameter function template

Type? Traits type extraction Can be implemented in compiler calculation, query, judgment transformation and selection Used to reduce loop complexity Basic type? Traits 1. Simple type "traits" Wrap compiler constant as a type ﹣ traits --- integral ﹣ constant There is a constant member v ...

Added by wiggst3r on Tue, 04 Feb 2020 11:40:37 +0200

JavaScript foundation details

Summary 1. What is JavaScript JS is a scripting language, an object-oriented language based on objects, or an interpretive language. Its basic structure is similar to other programming languages, such as C and VB, but it needs to be compiled before execution. It supports the development of client ...

Added by mgason on Tue, 04 Feb 2020 07:04:53 +0200

REST / SOAP endpoint of WCF service

I have one. WCF Service, I want to use it as REST full services and SOAP Service disclosure. Has anyone done such a thing before? #1 building MSDN now seems to have an article: https://msdn.microsoft.com/en-us/library/bb412196(v=vs.110).aspx Introduction: By default, Windows Communica ...

Added by ajlisowski on Sat, 01 Feb 2020 08:02:47 +0200