python+appium automation
1. Download Android SDK( https://www.androiddevtools.cn/ )If you want to try Android development, you can download Android studio. If you want to be concise, you can download SDK tools. Download the Windows version of the official installer_r24.4.1-windows.exe. After installation, there will be two startup items: AVD manager and SDK manager. 2. ...
Added by renno on Sun, 20 Feb 2022 07:03:21 +0200
C + + learning notes
catalogue
I C + + header file and namespace
1. Naming method of header file and source file
2. Inclusion method
(1) When including self defined header files
(2) When a standard library is included
3. Introduction of namespace
(1) Create namespace
(2) Role of namespace
(3) Namespace access
II Basic output input
1. Output
2. Input
3. ...
Added by LordTyphon on Sun, 20 Feb 2022 06:58:35 +0200
leetcode—24. Heap Title leetcode summary
A center
The center of heap is dynamic extremum, which is indispensable.
1046. Weight of the last stone
There is a pile of stones, and the weight of each stone is a positive integer. Each round, choose the two heaviest stones and crush them together. Suppose the weight of the stone is x and Y respectively, and x < = y. Then ...
Added by liamloveslearning on Sun, 20 Feb 2022 06:55:04 +0200
De duplication of generics, ArrayList, LinkedList and LinkedList
catalogue
generic paradigm
Generic mechanism
Characteristics of generics
Generic class
generic interface
ArrayList
ArrayList stores strings and iterates through them
ArrayList stores custom objects and traverses them
Unique functions of Vector
Implementation of the unique function of Vector
Unique features of LinkedList
Implement ...
Added by stenk on Sun, 20 Feb 2022 06:48:47 +0200
Installation and configuration of zookeeper cluster
As long as more than half of the nodes in the zookeeper cluster are normal, the whole cluster is available to the outside world. Based on this feature, it is more appropriate to set the number of nodes of ZK cluster to an odd number (2n+1: such as 3, 5 and 7 nodes).
Server 1: 192.168.1.81 port: 2181, 2881, 3881 Server 2: 192.168.1.82 port: 218 ...
Added by lookielookies on Sun, 20 Feb 2022 06:46:03 +0200
Detailed explanation of coordinate tracking of tf2 practical operation in ROS (example + code)
catalogue
The file structure in the project is as follows:
1. Start the turnle1 node and the keyboard operation node of turnle1, subscribe to the pose information of turnle1, and publish the coordinate information of turnle1 (getturnle1pose. CPP):
2. Start the turtle 2 node, subscribe to the pose information of the turtle 2, and publish the ...
Added by realtek on Sun, 20 Feb 2022 06:46:46 +0200
Group B of JAVA University in the first game of the 12th Blue Bridge Cup 2021
Tip: This article has 6000 words, rough reading takes about 5 minutes and intensive reading takes about 30 minutes
viewpoint
This year's provincial tournament is a little different from the past. It pays more attention to mathematics, algorithms and ideas, and is a little closer to ACM. I believe this is a trend, and the future Blue Bri ...
Added by sella2009 on Sun, 20 Feb 2022 06:43:35 +0200
Android development art exploration Chapter 11 - Android threads and thread pools
1. Preface
This paper mainly summarizes the threads and thread pools of Android.
2. Text
2.1 main thread and sub thread
2.1.1 what classes can play the role of thread in Android?
Thread, AsyncTask, HandlerThread and IntentService. In Jetpack, a new WorkManager is added.
classdescribepurposeAysncTaskEncapsulates the thread pool and H ...
Added by prbrowne on Sun, 20 Feb 2022 06:40:05 +0200
k-nearest neighbor method -- python code implementation and kd tree construction search
Algorithm Introduction
k-nearest neighbor method belongs to supervised learning and does not need training model (lazy learning). Algorithm flow: for the test samples, find k training samples from the given training set according to some distance measurement (Minkowski distance, Euclidean distance, Manhattan distance, Chebyshev distance, e ...
Added by R4000 on Sun, 20 Feb 2022 06:39:08 +0200
GoAccess lightweight nginx log analysis tool
What is GoAccess
GoAccess is an open source, real-time Web log analysis tool running under the command line terminal.
The tool provides fast and diverse HTTP status statistics.
The analysis results can be viewed through client tools such as XShell, and Html reports can be generated.
GitHub address: https://github.com/allinurl/goaccess
Offi ...
Added by Nomaad on Sun, 20 Feb 2022 06:37:29 +0200