Tcp warp and ISCSI services
Service startup process:
Tcp warp:
1.Tcp warp is managed by xinetd 2. support libwarp.so module service: we can use ldd to view
ldd `which sshd`
vim /etc/hosts.deny
ALL:ALL ###Everyone refused to connect
vim /etc/hosts.al ...
Posted by eddy666 on Fri, 03 Apr 2020 15:21:54 +0200
LeetCode 912. Sort array
My LeetCode: https://leetcode-cn.com/u/ituring/
My LeetCode source code [GitHub]: https://github.com/izhoujie/Algorithmcii
LeetCode 912. Sort array
subject
Give you an array of integers, nums, in ascending order.
Example 1:
Input: nums = [5,2,3,1]
Output: [1,2,3,5]
Example 2:
Input: nums = [5,1,1,2,0,0]
Output: [0,0,1,1,2,5]
Tips:
1 <= ...
Posted by ted_chou12 on Fri, 03 Apr 2020 15:07:07 +0200
Retrofit+SwipeRefreshlayout+RecyclerView to implement pull-up refresh and paging load
Preface:
In the process of project development, we usually have the demand of "paging load". Paging load is to display data in the form of list. On the premise of having a network, we can manually obtain more data through pull-down refresh. When there is no more data, we will be reminded that we do not have more data. & ...
Posted by jakeklem on Fri, 03 Apr 2020 03:29:53 +0200
OSPF multi area basic configuration
Catalog
Experimental topology
Experiment steps and configuration
ip configuration
Configure ospf and loopback address
experimental result
Experimental topology
Experiment steps and configuration
ip configuration
RA
#
sysname RA
#
interface GigabitEthernet0/0/0
ip address 10.1.1.1 255.255.255. ...
Posted by engelsol on Thu, 02 Apr 2020 17:04:58 +0200
TCP realizes network communication between two computers in different LAN (Python Implementation)
Before, I have done the communication under the LAN. I found that I couldn't use the two computers on different LAN. I always want to realize something that can communicate in Wan! So there's this little project!
Implementation ideas:
Technology concept
Usage method
test result
Code
Implementation ideas:
...
Posted by plimpton on Thu, 02 Apr 2020 16:24:44 +0200
At a glance: steps to build Retrofit2+RxJava2+ButterKnife framework
Step introduction:
Code resolution:
Step introduction:
Add dependencies for Retrofit2 and RxJava2 libraries:
Create a class that accepts the data returned by the server (the class used to process the data)
Create an interface to describe network requests and configure network request parameters
Create Retrofit inst ...
Posted by mobilekid on Thu, 02 Apr 2020 16:10:36 +0200
Volley source code analysis framework
Analysis of Volley framework
Recently, I am learning the Volley framework and recording my income. On the one hand, it is convenient for me to communicate with you, and on the other hand, it is convenient for me to review in the future. If there is something wrong, please correct it. In the future, we will update and i ...
Posted by desolator on Thu, 02 Apr 2020 06:29:48 +0200
iOS - about GCD semaphores
Talk about it casually
In fact, GCD has been contacted by all of us, and we are not explaining what GCD is. Why do we suddenly want to talk about the semaphore problem? In recent interviews, when I asked the interviewers how to deal with a series of operations after multiple requests are completed, some said to create a temporary variable to do ...
Posted by Cazrin on Thu, 02 Apr 2020 05:24:51 +0200
bzoj4657 tower [network flow]
Description:
There is a map of n × mn × m. every position on the map can be air ground, turret or enemy. You need to manipulate the turret to eliminate the enemy. For each turret, there is a direction it can aim at. You need to determine its attack position in its aim direction, and if it can not attack, on ...
Posted by blogfisher on Wed, 01 Apr 2020 19:18:05 +0200
crs of RAC cannot be started due to abnormal power failure
Problem phenomenon
Business level
The power of the computer room is cut off abnormally, and the access of the business system is slow after the database is restored.
Database level
Check the instance and find that only one instance is open and the other instance is not started.
RAC cluster level
View CR ...
Posted by bseven on Tue, 31 Mar 2020 11:32:51 +0200