1, Standard library
1. regexp package: regular expression
2. sync package: lock and sync
2.1 sync.Mutex mutex
2.2 sync.RWMutex read / write lock
2, Use of packages
1. Custom package
2. reference package
3. Initialization of package
1, Standard library
Built i ...
Posted by unbreakable9 on Fri, 17 Jan 2020 04:15:47 -0800
WeChat public number development (1) WeChat access certification as developer
This article will implement
2, Message reception
Message receiving POST and wechat authentication GET are the same interface (URL filled in by the developer)
Posted by vornn on Fri, 17 Jan 2020 00:21:30 -0800
Several ways for Android to update UI through subthread
In general, the update of UI cannot be without Handler. First, let's understand the Handler mechanism:
Handler message mechanismDefinition
MessageThe data unit for inter thread communication can carry the required data through message to create an object: Message.obtain(what)
Posted by blckspder on Thu, 16 Jan 2020 23:27:08 -0800
If you give me one, I know I've filled one String Of MemoryStream , how can I retrieve a String?
Previous solutions didn't work when it came to coding. It's - a "real life" - like how to do it right
using(var stream = new System.IO.MemoryStream())
var serializer = new D ...
Posted by the DtTvB on Wed, 15 Jan 2020 23:16:09 -0800
Common functions of Numpy
1. Read matrix file
It consists of data items in several rows and columns. The number of items in each row must be equal, the type of data items in each column must be the same, and there is a clear separator between data ...
Posted by chwebdesigns on Wed, 15 Jan 2020 03:25:19 -0800
Since the last two blogs Python genetic and evolutionary algorithm toolbox and its application in constrained single objective function value optimization And genetic algorithm The shortest path of directed graph After that, I learned the official documents of the toolbox and the research of ...
Posted by muthuraj_mr on Wed, 15 Jan 2020 01:24:37 -0800
Record the problems encountered during the completion of the project.
When java reads UTF-8 format file, it finds a very depressing problem: when the UTF-8 format file edited by ue is read, it will read an invisible character from the first line of the file.
The test code is as follows:
Posted by mayanktalwar1988 on Wed, 15 Jan 2020 00:14:46 -0800
Dependency injection in spring
IOC role: reduce the coupling between programs (dependency)
Dependency management: to be maintained by spring (objects of other classes are needed in the current class, provided by spring, we only need to explain in the configuration file)
Dependency maintenance: depende ...
Posted by superstar on Tue, 14 Jan 2020 23:37:15 -0800
Beautiful Soup is a Python library that can extract data from HTML or XML format files by parsing HTML or XML data into Python objects for easy processing through Python code.
Test environment for code in this document
Instructions for using Beautifu Soup
The basic function of Beautiful Soup is to find and e ...
Posted by peter.t on Tue, 14 Jan 2020 09:40:48 -0800
Now the use of QR code is more and more widely, and it can be seen almost everywhere, and almost all of the company's related projects are related to QR code scanning, so summarize your own experience of using QR code, and always feel that something should be done to record your growth, so that your gro ...
Posted by samirk on Tue, 14 Jan 2020 03:08:04 -0800