Data structure Title reward (a list of topics not done)

(I decided to copy my notes from word first.)Perfect as you work on the back) Tree Array Class 3 Applications TYPE 1  P1908 Reverse Order Pair Binary Index Tree Maintain Number greater than 6 = total - smaller than him   a:19260817   Discrete Sort of original array 01126789   Unique weight removal (algorithm)   Arrange Find Abov ...

Added by jaret on Mon, 22 Jul 2019 02:55:12 +0300

Golang Understanding - Anonymous Functions

Anonymous function Anonymous Function in computer programming refers to a class of functions that need not be defined. identifier (function name) function or subroutine It exists in many programming languages. wikipedia Golang supports anonymous functions, that is, when a function is needed, it is redefined. Anonymous functions have no functio ...

Added by leena on Sun, 21 Jul 2019 16:49:12 +0300

nginx configuration file optimization

nginx configuration file optimization nginx configuration file optimization 1. nginx configuration file simplification 2. Virtual host alias configuration 3. nginx status information configuration 4.0 nginx error log introduction 5.0 User Access Log 6.0 rewrite rewriting url title: nginx configuration file optimization tags: nginx,ac ...

Added by bp90210 on Sun, 21 Jul 2019 09:48:02 +0300

Notes on Extended Use of php-ext-excel-export

Business Background In PHP environment, the export function is optimized and transformed, and the single synchronous export data volume is more than 20,000. PHP 5.6 + PHPExcel. This time PHP 7.2 + php-ext-excel-export was replaced by PHP 5.6 + PHPExcel. Official github address https://github.com/viest/php-ext-excel-export Extended installation ...

Added by Lodius2000 on Sun, 21 Jul 2019 05:06:25 +0300

Review Java Concurrency with Zhu Ye: Atomic

In this section, we will explore the Atomic types in concurrent packages. AtomicXXX and XXXAdder and XXXAccumulator performance tests Start with a performance test that compares AtomicLong (out of 1.5), LongAdder (out of 1.8), and LongAccumulator (out of 1.8) for simple cumulative performance. The logic of the program is simple, you can see tha ...

Added by FFFF on Sun, 21 Jul 2019 04:45:04 +0300

Maven-SSM Profile

  pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.woniu</groupId> <artifactId>bkee ...

Added by chet139 on Sat, 20 Jul 2019 20:43:13 +0300

Linux Notes - Chapter 18 Keepalived High Availability Clusters for Linux Clusters

I. Preface Linux cluster can be divided into two categories: high availability cluster and load balancing cluster. Only high availability clusters are discussed here, and load balancing is explained in the next blog post. High Availability Cluster (HA) consists of two or more servers, usually two servers, one of which works and the other is r ...

Added by xSN1PERxEL1TEx on Sat, 20 Jul 2019 15:49:11 +0300

python function knowledge four iterators and generators

15. Iterators: Tools 1. Iterable objects: Officially, as long as the _iter_ method is an iteratable object list,dict,str,set,tuple -- Iterative objects, flexible to use # Method 1: list.__iter__() dict.__iter__() # Method 2: View source code # Method 3: print(dir(list)) # Officially, as long as the _iter_ method is an iteratable object 2. It ...

Added by wata on Sat, 20 Jul 2019 14:40:54 +0300

Mybatis Initial Notes (10) - Delayed Loading

Questions: In one-to-many, when we have a user, it has 100 accounts. When inquiring the user, the account information under the user is when to use and when to query again. When querying an account, the user information of the account should be queried again as the account is queried. What is lazy loading Delayed loading Queries are initiated o ...

Added by greekhand on Sat, 20 Jul 2019 10:42:50 +0300

Learning Notes Day 17

Today's learning includes packages, logging modules, hashlib modules, openpyxl modules, and concepts of deep and shallow copies. package In learning module, we have known four forms of module, one of which is package. What is a bag? It is a combination of a series of module files, expressed as a folder, which usually has a _int_ py file ins ...

Added by markhard on Sat, 20 Jul 2019 09:58:10 +0300