In our request network, there are many kinds of network request modes, so two kinds of network request modes, Retrofit and OkHttp, can be used together. Both Retrofit and OkHttp are released by Square company. The bottom layer of Retrofit encapsulates OkHttp. I use MVP mode here to encapsulate a network request~~
Custom tool class
public cla ...
Posted by jbulaswad on Sun, 31 May 2020 19:11:27 +0200
It is not difficult for traditional business to implement Websocket. However, function calculation is basically event driven and does not support long link operation. If the function calculation is combined with the API gateway, can there be a Websocket implementation scheme?
Implementation of Websocket with API gateway trigger
WebSocket pro ...
Posted by markepic on Wed, 27 May 2020 09:47:32 +0200
Is the code inside an AppDelegate messy?
Are there thousands of lines of code in an AppDelegate?
AppDelegate serves as the entry to the program.You should have simple code and a clear style so you can read it yourself and with the developers.
So adding a new category to AppDelegate is the easiest and clearest way to do it
Posted by solon on Tue, 26 May 2020 19:28:06 +0200
In the previous essay, we learned about docker's network related instructions. Please refer to https://www.cnblogs.com/qiuhom-1874/p/12952616.html Today, let's talk about docker's data management instructions;
In the previous blog, we emphasized that the image of docker is built hierarchically. After the image is started as a container, docker ...
Posted by Kinsbane on Mon, 25 May 2020 13:00:27 +0200
ELK-7.3 Local Deployment
Logstash is a data analysis software designed to analyze log logs.The whole set of software can be thought of as an MVC model, with logstash as the controller layer, Elasticsearch as the model layer, and kibana as the view layer.First, the data is passed to logstash, which filters and formats ...
Posted by Willburt on Thu, 21 May 2020 18:51:35 +0200
docker start stop
sudo systemctl start docker.service
sudo systemctl stop docker.service
sudo systemctl restart docker.service
sudo systemctl status docker.service
sudo systemctl enable docker
sudo docker ps -a ## <-- List existing images ##
sudo docker stop 17dd4ab4cda2 ##<-- 17dd4ab4cda2 by container id ##
sudo docker rm 17dd4ab4cda ...
Posted by Scorptique on Thu, 21 May 2020 16:38:11 +0200
The previous articles describe a number of ways to hide processes, hide TCP connections, and hide kernel modules. To sum up, the differences from most articles on the Internet that introduce Rootkit are:
Most articles on the web are hook procfs to hide objects.
My approach is to remove objects directly from data structures such as chains.
Posted by ask9 on Thu, 21 May 2020 03:19:02 +0200
Production environment Oracle RAC cluster test best method (support Oracle 11g/12c/18c/19c RAC installation post test process)
1, Oracle RAC cluster test background
A large and medium-sized manufacturing company has built a set of business system ERP system for new projects. The database environment of this system is Oracle RAC (RHEL Linux7+O ...
Posted by sgtbash on Wed, 20 May 2020 12:29:41 +0200
1. The author may divide the scanner data set into training set and test set and process them into. pickle files.
2. In the process of code running, the author read out the x, y, z coordinates of 1201 scenes in the training set and 312 scenes in the test set from the. pickle file.
3. Consider saving the point to a. txt file and visualizing ...
Posted by PHPHorizons on Sat, 16 May 2020 09:23:59 +0200
leetcode-3. The longest substring without repeating characters.
Given a string, please find out the length of the longest substring that does not contain duplicate characters.
Explanation: because the longest substring without repeating characters is "abc", its length is 3.
Posted by zildjohn01 on Thu, 14 May 2020 16:09:18 +0200