C ා queue learning notes: RabbitMQ delay queue

I. Introduction In daily life, many apps have the shadow of delay queue. For example, on mobile Taobao, we often encounter the limited time consumption red packet distributed by APP, which usually lasts for several hours or 24 hours. If the red packet is not consumed in the countdown process, the red packet will automatically fail. If the above ...

Posted on Sat, 11 Apr 2020 07:09:58 -0700 by frao_0

Python3 Standard Library: urllib.parse decomposition URL

1. urllib.parse decomposition URL The urllib.parse module provides functions to manage URLs and their components, including breaking URLs into components and making URLs out of components. 1.1 parsing The return value of the urlparse() function is a ParseResult object, which is equivalent to a tuple containing six elements. from urllib.parse i ...

Posted on Tue, 07 Apr 2020 19:14:11 -0700 by jjbarnone

Streaming media server and Hikvision Dahua camera realize video monitoring and live broadcasting solutions

With the acceleration of Internet plus Internet of things, the application of video surveillance has become more and more extensive. Among them, Hikvision Dahua and other brand cameras are frequently seen in the field of vision. Because last year also realized the video monitoring scheme on the smart site project, and the current live broadcast ...

Posted on Tue, 07 Apr 2020 03:43:13 -0700 by FramezArt

python crawler combat + data analysis + data visualization

1. Summary After learning the python crawls (requests,bs4) and the numpy, pandas, matplotlib libraries, you want to try a small project grinder.Previously, it was only used unilaterally, such as crawling data about a website or analyzing data already given to it.This project strings these parts together.Those who have studied these ...

Posted on Mon, 06 Apr 2020 19:54:31 -0700 by DJ Judas

A Url encoded pit encountered in the use of Retrofit network framework

Retrofit is a type safe network request framework for Android and Java platforms. The network module of the project is encapsulated by retrofit framework; In the development process, the third-party sdk is used, and the data output by the third party should be uploaded to the server, but the + output from the sdk is transmitted to the ...

Posted on Mon, 06 Apr 2020 01:39:32 -0700 by markstrange

Android share control

Nowadays, many applications provide the function of sharing information to the outside world. When sharing, the user usually pops up a list of all applications with sharing function from the bottom of the screen, and then selects them Now I'm going to simulate this effect, not only to make the sharing control pop up from the ...

Posted on Mon, 06 Apr 2020 00:35:39 -0700 by robvan75

Analysis of httpserver source code in jdk

Before I wrote this blog, I checked it for a long time and found that there was no one on the whole network who wrote httpserver source code analysis So today, I will analyze the source code of http server for you. (here I will remove the source code of https part and only talk about http part. Readers interested in the implementation of https ...

Posted on Sun, 05 Apr 2020 04:37:45 -0700 by Avendium

kubernetes - add basic auth authentication for Ingress

Requirement Kubernetes1.8.5 Ingress Controller: 0.9.0 Note: only versions above 0.9.0-beta.12 are supported 1. Create user password First of all, we need to install the htpasswd binary file to generate an "auth" file through htpasswd; it is used to access the user we created and the encrypted password. htp ...

Posted on Sat, 04 Apr 2020 22:16:00 -0700 by sgt.wolfgang

Customize Dialog pop-up window, such as Taobao, tmall, Jingdong, etc

Dialog has become a common practice for Android developers. It is often used as a reminder function, but it can also be extended to ad pop-up effect. Let's define an ad dialog. Here are the renderings to be realized today 1, Implementation of custom Dialog layout The layout of Dialog is very simple. In fact, it's a p ...

Posted on Sat, 04 Apr 2020 19:12:02 -0700 by edraynham

Practice of Android MVVM+DataBinding framework mode

Recently, I simply learned the MVVM framework and recorded it. Results demonstration:     Analyze the composition of its functions under different frameworks: Frameless     It can be clearly felt that in the absence of framework, although a single Activity can achieve the function, it is overburdened and the code review is tedious. Once it ...

Posted on Sat, 04 Apr 2020 17:54:03 -0700 by rowantrimmer