Realization of data list function of shopping cart in front end

The operation effect on the mobile phone is as follows When two items are selected 1. The select all button is not checked 2. The number of selected products is listed below When select all 1. All products are selected, and the select all button is selected 2. The number of commodities is 3, which is correct 3. When cl ...

Posted by cab on Sat, 30 Nov 2019 02:41:07 -0800

Hadoop MapReduce case - statistics of mobile phone uplink traffic, downlink traffic and total traffic

The format of the log is as follows: required fields, the second column: mobile number (user), the third last column: uplink traffic, the second last column: downlink popular Train of thought: Encapsulate the uplink traffic, downlink traffic and total traffic into an object bean. In the map, context.write (cell phone number ...

Posted by cloudbase on Fri, 29 Nov 2019 09:44:30 -0800

Integrate spring cloud service architecture - commonservice-config configuration service setup

introduce Spring Cloud Config provides server and client support for external configuration in distributed systems.With Config Server, you can manage the external properties of your application in all environments.The concept mappings on the client and server are the same as the abstractions of Spring Environment and ProertySource, so they f ...

Posted by papapax on Wed, 27 Nov 2019 15:12:24 -0800

Two ways of Android calling system api recording (MediaRecorder, AudioRecord)

Crap Authority, authority, authority, must first obtain the recording authority, and other things will be delayed. In addition, the new version of Android 10 system will adjust the recording and introduce the concept of recording focus. That is to say, the microphone can only be used by one APP before it can be used only when it is disconnect ...

Posted by kulin on Tue, 26 Nov 2019 13:24:12 -0800

H5 mobile keyboard occlusion focus element solution

Preface Recently, in webapp, there are many mobile compatibility problems, one of which is that after the input box triggers focus, the keyboard pops up, and then blocks the input box. Then on Android and IOS, the problem is not the same, and the native keyboard is not the same as the third-party keyboard, but the problem is the same: the inpu ...

Posted by Alicia on Tue, 26 Nov 2019 02:12:01 -0800

[dry goods] introduce four practical skills of developing React application

background Hooks has been very popular since it was launched. It has changed the way we write React code and helped us write more concise code. Today's article is not about Hooks. Besides Hooks, there are many practical skills that can help us write concise and clear code. Today, I've sorted out a few skills, some of which are also my practice ...

Posted by steveh62 on Tue, 26 Nov 2019 01:55:37 -0800

Don't understand the principle of thermal repair? After reading this, I'll show you the handwritten code

Analysis of Android hot fix principle The purpose of this article is to let you know what is thermal repair. Please contact me for specific implementation details. After we understand the principle, we can carry the handwritten code smoothly. Please remember one sentence:The paper must be light at last, and we must do it.The code that we need ...

Posted by wilburforce on Mon, 25 Nov 2019 21:21:02 -0800

Flutter develops the Dio interceptor to realize the function of token verification expiration

Preface: Before, I shared the solution of using Retrofit to refresh token invalidation in Android. Now the Flutter project also has the requirement of "token verification is overdue". So I will briefly summarize how to implement the interceptor function of automatically refreshing token and resending request in the Flutter project, h ...

Posted by implications on Mon, 25 Nov 2019 09:23:33 -0800

Integrating spring cloud cloud service architecture - common service project construction process

We will analyze the whole project of common service, record the whole construction process, and let more people to learn. First, before building the common service of spring cloud, we need to prepare the following technologies: Maven (project construction), Spring Boot, Spring Cloud, microservice concept, decentralization idea, distribution, e ...

Posted by Bertholt on Mon, 25 Nov 2019 06:36:01 -0800

Using Alibaba cloud Serverless function calculation to realize HTTP health check + fault SMS notification

Application scenario Regularly request the website / API, judge whether the service is available and whether the website is down according to the request response, and send a SMS to inform the administrator when there is a down time engineering service Operation platform: Alibaba cloud functional computingDevelopment language: Python 3 (small f ...

Posted by fellixombc on Sun, 24 Nov 2019 07:56:44 -0800