Use of filters

1. What is a filter? In the process of client to server, when sending a request, if there is non-conforming information, it will be intercepted by the filter, if it is conforming, it will be released, and when the server responds to the client, it will also be judged that if there is non-conforming in ...

Posted by chadrt on Sun, 14 Jun 2020 21:23:07 -0700

C + + type system enhancements

You should be familiar with it. In C + +, you can get the type name through the operator typeid std::cout << typeid(int).name() << std::endl; But the return value of name() is Compiler dependent The results printed in vc and gcc are as follows: int // vc i // gcc For custom classes, the output type is not the original type c ...

Posted by evaoparah on Sun, 14 Jun 2020 00:42:23 -0700

Detailed explanation of string processing instruction sed,cut

cut Syntax cut option... [file] understand It can be understood as a split function. handle Divide by row as a table, and process the table by column. It is then treated as an array, starting with 1, and accessed by subscript. input file filename Standard input Redirect or- Subscript selection n Equivalent t ...

Posted by eva21 on Sat, 13 Jun 2020 18:54:50 -0700

Python office automation 2.2 Python 10 minute quick start: Python common syntax and regular expressions

Article catalog 2.2 Python 10 minute quick start 2.2.1 input, output and notes 2.2.2 calling functions of this file 2.2.3 call functions of other files in this file path 2.2.4 calling functions in other files under subdirectory 2.2.5 data types and variables 2.2.6 condition judgment 2.2.7 cycle ① f ...

Posted by leafer on Sat, 13 Jun 2020 03:32:07 -0700

Stream stream of learning notes

Stream stream experience Requirements: complete the creation and traversal of the collection according to the following requirements Create a collection to store the string elements Store all elements in the collection that begin with "Zhang" into a new collection Store the 3-length elements in the set beginning with "Zhang&quo ...

Posted by peter_anderson on Sat, 13 Jun 2020 02:47:55 -0700

C x 9.0 is finally coming. Are you still learning? Take VS and read it together! (it should be the first article of the whole network)

1: Background 1. Story telling Good news,. NET 5.0 finally released the fifth preview version on June 10, 2020. The sharp eyed students must have seen that in this version, C ා 9.0 is finally supported. Applause here, great!!! . Net5 official link It can be seen that the current C ා 9 is still a preview version, which implements some ne ...

Posted by EverToDesign on Fri, 12 Jun 2020 19:55:33 -0700

Understanding and thinking of divide and conquer algorithm from guessing number game

catalog 1, Background 2, Figure guessing game 2.1 rules of the game 2.2 guessing the source code of digital game 2.3 number guessing skills 3, Divide and conquer algorithm 3.1 ideas and Strategies 3.2 applicable features 3.3 typical application of divide and conquer algorithm 3.3.1 principle of merging and sorting 3.3.2 source code of to ...

Posted by wwwapu on Thu, 11 Jun 2020 23:02:29 -0700

SpringBoot injection multi instance, multi thread processing

Another post: Spring Boot tutorial 16: implementing multithreading with Spring Boot injection class SpringBoot injection multi instance, multi thread processing   Seeing this title, I'm sure many people will be puzzled. Looking back on your own scenarios, we will find that in Spring projects, multithreading is rarely used to process tasks. Y ...

Posted by iwarlord on Thu, 11 Jun 2020 21:37:04 -0700

JS Design Mode 5 - Creative Design Mode: Prototype Mode, Policy Mode, Agent Mode

Article Directory Prototype mode Policy Mode Example Different salaries for employees with different performance mtween slow motion animation proxy pattern Protection Agent and Virtual Agent Example: Virtual agent for lazy picture loading Meaning of agency: principle of single responsibility Cac ...

Posted by drew010 on Thu, 11 Jun 2020 19:20:29 -0700

Java learning notes annotation and reflection, Class class, Class loader, Java Memory Analysis

annotation Annotation is a technology introduced from JDK 5.0 The role of Annotation: It's not the program itself, it can explain the program (it's no different from comment) Can be read by other programs (such as compilers) Annotation format Annotation exists in "@ annotation name&quot ...

Posted by marowa on Wed, 10 Jun 2020 22:43:44 -0700