Android Dynamic Request Permissions
AndPermission
This open source library is called AndPermission: https://github.com/yanzhenjie/AndPermission After my practice, I have completely solved the above problems, recommend you to use, interested friends can go to star.
AndroidStudio usage, gradle one sentence remote dependency
compile 'com.yanzhenjie:permission:1.0.8'
Or Maven: ...
Posted by andymike07 on Tue, 11 Jun 2019 19:51:16 +0200
7. Cache Thread Workflow for volley Source Parsing
Summary of the article
1. volley Cache Thread Running Process
2. volley implementation decomposition steps
Attachment: Get Volley source code
Demos case source code: https://github.com/HailouWang/DemosForApi
I. CacheDispatcher threads
1. There are three threads in Volley, among which Cache Dispatcher is the cache thread.
2. CacheDispatcher ...
Posted by alivec on Sun, 09 Jun 2019 23:29:42 +0200
6. Overview of Workflow of volley Source Parsing
Summary of the article
1. Work threads in volley
2. volley working steps
3. RequestQueue initialization and initialization logic
Attachment: Get Volley source code
Demos case source code: https://github.com/HailouWang/DemosForApi
Perception:
Volley's source code is really worth reading, which contains many very good processing logic, such as ...
Posted by abitlikehomer on Sun, 09 Jun 2019 23:28:52 +0200
Hawk's source code parsing, a storage framework based on Shared Preferences
For reprinting, please mark: http://blog.csdn.net/friendlychen/article/details/76218033
I. Concept
Shared Preferences should be very familiar to you. This is a lightweight storage mechanism for simple configuration information, which stores data in the form of key-value. This article introduces a storage framework based on Shared Preferences ...
Posted by xenooreo on Sun, 09 Jun 2019 23:15:12 +0200
Realization of Naive Bayesian Classification and Decision Tree ID3 Classification by javascript
This year's graduation project is about big data and machine learning. Because that time has entered the front-end industry naturally choose to use JavaScript to implement the specific algorithm. Although JavaScript is not the best language for big data processing and has no advantage over other languages, it improves our understanding of js an ...
Posted by McMaster on Sun, 09 Jun 2019 22:11:55 +0200
iOS Inertial Sliding Effect
Recently, SDK has developed a new gesture sliding map, which should have the function of inertial sliding effect. Android made it first, and then showed it to me. Because I had already experienced a bird map, a bird map also had this effect, and Android did a really good job. I was still busy studying OpenGL, so I had to put down my hands and w ...
Posted by John_wilson on Sun, 09 Jun 2019 21:01:58 +0200
[Original] Intranet SSH password explosion tool sshcrack (with Cscan batch weak password detection)
0x000 Preface
sshcrack is a command line SSH password explosion tool for SSH password detection in infiltration
Of course, it can also be used for SSH password explosion on external network, supporting Windows/Linux, other systems are not tested.Tip1
0x001 directory
1.sshcrack usage
2.Cscan Batch Scan
3. Connect SSH to execute commands
4 ...
Posted by include_me on Sun, 09 Jun 2019 19:46:48 +0200
Vertical text control
Source: https://github.com/lybeat/PlumbTextView
PlumbTextView
PlumbTextView is a vertically arranged text control. You can easily use it to define a variety of vertical text styles.
Feature
Arrange the text vertically.
Column and word spacing of text can be set.
You can add a regular expression to split the text. Pl ...
Posted by whansen02 on Sun, 09 Jun 2019 00:29:35 +0200
The clearest explanation of red and black trees in history (I)
The github address of this article
This paper takes Java TreeMap as an example to illustrate the insertion, deletion and adjustment process of Red-Black tree from the source code level with detailed illustrations.
Overall introduction
Java TreeMap implements the SortedMap interface, which means that elements in the Map are sorted acc ...
Posted by shah on Sat, 08 Jun 2019 23:17:04 +0200
Day13 - Effect of sliding pictures in and out as the screen scrolls
Day13 - Effect of sliding pictures in and out as the screen scrolls
Author: liyuechun Introduction: JavaScript30 yes Wes Bos A 30-day challenge to launch.The project provides free 30 video tutorials, starting documentation for 30 challenges, and source code for 30 challenge solutions.The goal is to help people write with pure JavaScript, witho ...
Posted by ilikephp on Sat, 08 Jun 2019 19:56:12 +0200