Openresty + Lua resty HTTP usage notes

About OpenResty   Author: Geng XiaoniuLink: https://www.zhihu.com/question/266535644/answer/705067582Source: ZhihuThe copyright belongs to the author. For commercial reprint, please contact the author for authorization, and for non-commercial reprint, please indicate the source. OpenResty solves the pain point of high concurrency. At pre ...

Posted by peter11 on Tue, 02 Nov 2021 01:48:17 -0700

Front end unit test

Front end unit test background For a long time, unit testing is not a skill that front-end engineers must have. In the domestic development environment, it is generally required to be fast, so the code quality of the project is often ignored, which affects the maintainability and scalability of the project. With the increasingly engineering de ...

Posted by Dujo on Tue, 02 Nov 2021 01:19:03 -0700

Top ten sorting algorithms

Bubble sort algorithm Bubble sorting repeatedly traverses the sequence to be sorted, comparing two adjacent elements each time, and exchanging them if their order is wrong. Repeat the traversal until there is no need to exchange, indicating that the sequence has been sorted. Algorithm steps: Compare adjacent elements: if the first is la ...

Posted by hendoyeah on Tue, 02 Nov 2021 00:30:03 -0700

Hacker level article: play a new trick in the memory operation of dynamic library!

Author: Daoge, a 10 + year embedded development veteran, focusing on: C/C + +, embedded and Linux. Pay attention to the official account below, reply to books, get classic books in Linux and embedded field. Reply to [PDF] to obtain all original articles (PDF format). cataloguetheory and practice startNew dynamic libraryProblems facedHow do you ...

Posted by danaman on Tue, 02 Nov 2021 00:19:23 -0700

Vue2.0 self study notes

1, Understanding Vue Author: you Yuxi Progressive framework: select the tools in the framework according to your own needs. VUE does not require you to accept and use all its functions and features at one time Vue Data driven Progressive framework Software design pattern based on MVVM React Develop the most rigorous framework for large project ...

Posted by voitek on Tue, 02 Nov 2021 00:10:53 -0700

Problem solution [P7919 [Kubic] ABC]

Meaning: for a string \ (S \in \{\texttt{A,B,C} \} \) with a length of \ (n \), given an operation, for three characters \ (pA,pB,pC\in\{\texttt{A,B,C} \} \), make all \ (\ texttt{A}\to pA \), all \ (\ texttt{B}\to pB \) and all \ (\ texttt{C}\to pC \) in \ (S \). Find the minimum number of operations that make any two adjacent characters in \ ...

Posted by ifubad on Tue, 02 Nov 2021 00:09:02 -0700

Experiment 2 array, pointer and C + + standard library

4, Experimental conclusion 1. Experimental tasks 1-4 Summary: Correlation and difference of ordinary array, array and vector Memory allocation method: both array and array are static memory allocation and are located in the stack. vector uses dynamic memory allocation and is located in the heap. Efficiency: array = array > vector Cop ...

Posted by border20 on Mon, 01 Nov 2021 23:37:48 -0700

Unified identity management platform IAM single sign on process and third-party interface design scheme

#Unified identity management platform IAM Many enterprises have multiple office systems. Accounts, passwords, roles and permissions need to be set separately and cannot be managed uniformly. I think the unified identity authentication management system IAM has the following three advantages: Establish a unified user management, identity rati ...

Posted by gezeala on Mon, 01 Nov 2021 23:32:43 -0700

Chapter 3 decision tree of machine learning practice (including introduction to Matplotlib module)

Series of articles: Learning notes of machine learning practice Decision tree Advantages: the calculation complexity is not high, the output result is easy to understand, is not sensitive to the loss of intermediate value, and can process irrelevant feature data. Disadvantages: over matching may occur. Applicable data types: discrete and conti ...

Posted by DF7 on Mon, 01 Nov 2021 23:03:21 -0700

Influence of log4j2 log PatternLayout configuration on SOFAArk PluginClassLoader

background"Log4j2-TF-7-AsyncLoggerConfig-8" Id=52 BLOCKED on sun.misc.URLClassPath@26eb1b56 owned by "Log4j2-TF-7-AsyncLoggerConfig-4" Id=17 at sun.misc.URLClassPath.getNextLoader(URLClassPath.java:479) - blocked on sun.misc.URLClassPath@26eb1b56 at sun.misc.URLClassPath.getResource(URLClassPath.java:248) at java.net.URLClassLo ...

Posted by deljhp on Mon, 01 Nov 2021 23:01:45 -0700