Android Countdown Custom Control (for Shop Secondary Kill)

(1) Preface Android actually provides a countdown control called CountDownTimer, which is easy to use, but it's cumbersome to follow the desired countdown style. For example, we want the countdown to show HH:MM:SS or HH-MM-SS in the style we want, or we want to show it as follows: The work to be done is tedious, not impossible, but expensive, ...

Posted by markduce on Sat, 12 Feb 2022 03:03:48 +0100

A detailed explanation of Kafka API

Absrtact: Kafka's APIs include Producer API, Consumer API, user-defined Interceptor (user-defined Interceptor), Streams API for processing streams and Kafka Connect API for building connectors. This article is shared from Huawei cloud community< [Kafka notes] Kafka API analyzes the Java version in detail (Producer API, Consumer API, inter ...

Posted by Sianide on Fri, 11 Feb 2022 17:21:16 +0100

How to develop PyFlink API jobs from 0 to 1

Introduction: taking Flink 1.12 as an example, this paper introduces how to use Python language to develop Flink jobs through PyFlink API. As the most popular stream batch unified computing engine, Apache Flink is widely used in real-time ETL, event processing, data analysis, CEP, real-time machine learning and other fields. Starting from Fl ...

Posted by LoganK on Thu, 10 Feb 2022 17:55:11 +0100

[Linux] software package management super detailed notes

Introduction to software package management Software package classification Source package The source package needs to be compiled into binary package before installation, so the installation is slow. There is also a special package called script installation package in the source package. This package does not need to be installed manua ...

Posted by direwolf on Thu, 10 Feb 2022 13:04:36 +0100

[study manual] Apache pulsar operation manual

1. Apache pulsar installation and deployment 1.1 preliminary preparation zookeeper 3.4.5pulsar installation package 2.8.1Cluster security free environment 1.2 deployment steps 1.2.1 upload the installation package to the linux server Download address: https://pulsar.apache.org/zh-CN/download/ 1.2.2. Unzip the file to the data directory ...

Posted by exploo on Wed, 09 Feb 2022 12:35:32 +0100

[Flink] FlinkSQL metadata verification

1. General Reprint: FlinkSQL metadata validation Flink1. After 9, the CatalogManager was introduced to manage the Catalog and CatalogBaseTable. When executing DDL statements, the table information was encapsulated as CatalogBaseTable and stored in the CatalogManager. At the same time, the Schema interface of calculate is extended, so that c ...

Posted by sticks464 on Thu, 03 Feb 2022 07:29:54 +0100

Nginx website service

1, Overview Nginx is a high-performance, lightweight Web service software. advantage (1) High stability (2) Low system resource consumption (3) High processing capacity for HTTP concurrent connections (4) A single physical server can support 30000 ~ 50000 concurrent requests 2, Steps and practice of configuring Nginx (1) Turn off the f ...

Posted by redsox8185 on Wed, 02 Feb 2022 03:08:14 +0100

Android multithreaded breakpoint Download

QDownload QDownload is a download framework based on Android platform. API is simple and easy to use. It only takes 5 minutes to realize the function of multi task, multi thread and breakpoint download The supported functions are as follows: Support multiple downloading tasks at the same timeA single task supports multiple threads to downloa ...

Posted by ShawnK on Sun, 30 Jan 2022 12:33:16 +0100

[daily practice of Android spring moves] sword finger 4 questions + Android Foundation

overview Sword finger offer: the arrangement of strings, numbers that appear more than half in the array, the minimum number of k, and the median in the data stream Android Foundation: Android message mechanism, Android event distribution mechanism Sword finger offer 1.37 arrangement of strings Enter a string and print out all the arran ...

Posted by bstruss on Wed, 26 Jan 2022 04:56:25 +0100

Android lesson 5: content provider

I What is a content provider Content provider is one of the four components, but we don't often use it in general development. The content provider is the ContentProvider, which provides a unified interface for data sharing between different software. It exposes data in a way similar to a data table. If you describe it with images, it's roughl ...

Posted by matthijs on Tue, 25 Jan 2022 02:05:02 +0100