Implement interface encryption
1. Reasons for demand
As shown in the figure, if the address is exposed, anyone who gets the address can directly send the request, but the front-end sending request must be realized through http. Therefore, the address will be exposed and interested people will get the address. Therefore, it is necessary to add a sign signature. The way to gen ...
Posted by vipes on Sun, 31 Oct 2021 05:41:00 -0700
Design pattern の Service Locator Pattern
Service Locator Pattern
geeksforgeeks , I translated it understandably and added some of my own understanding.
Encapsulate the process of obtaining services with an abstraction layer.
Using a central registry called service locator, the service locator returns the information required to perform specific tasks upon request.
When a ...
Posted by omelin on Sun, 31 Oct 2021 05:25:15 -0700
java implementation of binary search tree and its related operations
java implementation of binary search tree and its related operations
The basic operations of Binary Search Tree include search, maximum, minimum, precursor, successor, insertion and deletion.
The time spent on the basic operation of the binary search tree is proportional to the height of the tree. For example, for a complete binary tree with ...
Posted by alwaysme on Sun, 31 Oct 2021 05:13:56 -0700
The third practice of data acquisition
Third operation
1, Job content
Operation ①:
Requirements: specify a website and crawl all the pictures in the website, such as China Meteorological Network( http://www.weather.com.cn ). Single thread and multi thread crawling are used respectively. (the number of crawling pictures is limited to the last 3 digits of the student number)
Ou ...
Posted by arn_php on Sun, 31 Oct 2021 05:09:34 -0700
How to implement the customized iterator
Implement your own iterator IIImplement a tree structure container, and then implement an STL style iterator instance for it.This article is for the last article How to implement user defined iterator Provide supplementary cases.tree_ Implementation of TI intend to implement a simple but not simple tree container and make it a standard contain ...
Posted by crochk on Sun, 31 Oct 2021 05:05:17 -0700
redisson solves oversold cases
1. Import dependent packages of Redisson and StringRedisTemplate
<!--redisson rely on-->
<dependency>
<groupId>org.redisson</groupId>
<artifactId>redisson</artifactId>
<version>2.2.13</version>
</dependency>
<!--StringRedisTemplate rely on-->
<dependency>
...
Posted by frobak on Sun, 31 Oct 2021 04:35:48 -0700
Unix/Linux System Programming Chapter 4 learning notes
Unix/Linux System Programming Chapter 4 learning notes
Author: 20191322wyl
catalogueSummary of knowledge pointsIntroduction to parallel computingSequential algorithm and parallel algorithmParallelism and concurrencythread Principle of threadAdvantages and disadvantages of threadsThread operationThread management functionpracticeTitle:Process:re ...
Posted by davidkierz on Sun, 31 Oct 2021 04:32:48 -0700
Artificial intelligence and machine learning -- decision tree algorithm
1, Introduction
Decision tree is a classification algorithm based on tree structure. We hope to learn a model (i.e. decision tree) from a given training data set and use the model to classify new samples. The decision tree can intuitively show the classification process and results. Once the model is built successfully, the classification effic ...
Posted by designtoday on Sun, 31 Oct 2021 04:31:39 -0700
Python installation guide anaconda, python, Jupiter
1, Anaconda installation
setup script
Download installer
https://www.anaconda.com/products/individual
After downloading, click anaconda3-2019.07-windbos-x86_ 64.exe to install, select the path, check the add environment variable (you don't need to configure it yourself), and wait for the installation to complete
Verify that the install ...
Posted by mrjonnytou on Sun, 31 Oct 2021 04:16:18 -0700
Understanding the principle and use of Buffer in basic Java learning
Streams and buffers
Buffer is a container containing a certain amount of data. Some people think that a stream is a buffer, but it's not. A stream is a data sequence generated over time, and the buffer, as its name implies, plays a buffer role. The essence of buffer is queuing, and the essence of stream is data. The buffer can be understood as ...
Posted by roustabout on Sun, 31 Oct 2021 04:12:35 -0700