Alicloud real person authentication (detailed) RPMin

Alibaba cloud official documents (must read several times)https://help.aliyun.com/document_detail/58646.html?spm=a2c4g.11186623.6.547.7c2b7556jv2l3F If you have a webpage or wechat app, you can use the authentication scheme: RPH5BioOnly and RPMin This time I used RPMin Preparation 1. To set the scene first, follow the steps belo ...

Posted on Fri, 06 Dec 2019 22:28:29 -0500 by ClaytonBellmor

ViewPager switch animation developed by Android

Android started from 3.0, ViewPager also started to have switching animation. ViewPager has a setPageTransformer() method, which is used to set the animation effect when ViewPager switches. Google provides two examples of switching Animation: DepthPageTransformer and ZoomOutPageTransformer. In fact, you can completely achieve your ...

Posted on Fri, 06 Dec 2019 22:11:48 -0500 by SevereSoldier

Summary of six design principles of software engineering, case demonstration

Source code: GitHub point here || GitEE point here I. principle of single responsibility 1. Concept description For a class, a class should be responsible for only one responsibility. If a class is responsible for two responsibilities, there may be a change in responsibility 1, resulting in a change in responsibility 2. Classes can be refin ...

Posted on Fri, 06 Dec 2019 13:34:43 -0500 by atkman

We all know that Python library is very powerful, but we don't know that there is a powerful toolkit, poetry?

Preface Python has a lot of powerful libraries, so it is famous all over the world, but I don't know that there are many toolkits. Today, it's a package management and packaging tool for you, poetry In Python, the packaging system and dependency management are very complex and difficult for beginners. Even for experienced developers, a project ...

Posted on Fri, 06 Dec 2019 13:16:07 -0500 by jdiver

How to add a new vehicle to apollo

Reference resources: https://github.com/ApolloAuto/apollo/blob/master/docs/howto/how_to_add_a_new_vehicle.md The default vehicle supported by apollo is lincoln mkz When adding a new vehicle, if your vehicle needs to be different from the attributes provided by the Apollo control algorithm, consider: 1. Use the appropriate ve ...

Posted on Fri, 06 Dec 2019 12:46:01 -0500 by sharmeen

Battle Flag live broadcast GRPC service based on consumer service registration and discovery

Preface I've been paying attention to consumer for a while. Since 2017, I've learned some of its features, what problems it can help solve, and how to apply it to microservices. As time goes on, the development of microservices is also very fast, which can be said to be changing with each passing day. The functions provided by the consumer tool ...

Posted on Fri, 06 Dec 2019 10:53:20 -0500 by jscnet

Spring framework Foundation (05): transaction management mechanism and Implementation

Source code: GitHub point here || GitEE point here I. Spring affairs management 1. Basic description The essence of Spring transaction management is to encapsulate the operations supported by database for transactions. Using JDBC transaction management mechanism is to use java.sql.Connection object to complete transaction submission and rollbac ...

Posted on Fri, 06 Dec 2019 09:27:18 -0500 by duvys

Data structure -- Golang implementation queue

Please indicate the source of Reprint: Data structure -- Golang implementation queue Golang 1. introduction Queue is a kind of special linear table. The special thing is that it only allows deletion at the front end of the table and insertion at the rear end of the table. Like stack, queue is a kind of linear table with limit ...

Posted on Fri, 06 Dec 2019 07:33:13 -0500 by rklapwijk

Let's redesign the koa router

Preface Koa router is one of the most widely used routing Middleware in KOA. Some time ago, due to the author's lack of energy to maintain it Public sale . Some of our projects also use this library, but at present many features we want are not available, such as generating interface documents. The implementation of the library code itself is ...

Posted on Fri, 06 Dec 2019 05:54:09 -0500 by RyanSmith345

Recommend a nice hexo theme Ayer

introduce Ayer Is a clean and elegant exo theme, with its own responsive, fast loading, all features, and many configurable items. It is ideal for your blog theme, with 6 beautiful HD Wallpapers included.Welcome to Star Support, and if you have any questions or suggestions during use, please contact me! Project Address Effect Preview Chinese ...

Posted on Fri, 06 Dec 2019 01:09:18 -0500 by Majes