I used Python to make a pork data analysis map for my friend, and the results were *

And find out how much he takes me as a brother The story goes like this:   I went to a pancake shop happily .     ​   Looking up, the two brothers raised their prices again   Sigh, you really can't eat meat burgers anymore   Order two scones and a bowl of wonton   Near the end of the meal, I received a letter from my friend Adong   Adong ...

Added by wrequed on Sun, 05 Jan 2020 07:53:42 +0200

MongoDB 4.2 Kernel Resolution - Change Stream

MongoDB has supported the change stream capability since version 3.6 (many enhancements have been made in versions 4.0 and 4.2) for subscribing to modifications within MongoDB. change stream can be used for incremental data migration, synchronization between MongoDB and for applying MongoDB's incremental subscription to other related systems; f ...

Added by hubbardude on Sun, 05 Jan 2020 05:42:03 +0200

C-encryption and decryption (DES\RSA) learning notes

This note is excerpted from: https://www.cnblogs.com/skylaugh/archive/2011/07/12/2103572.html Record the learning process for future reference. Data encryption technology is the most basic security technology in the network, mainly through the data encryption of the information transmitted in the network to ensure its security, which is an acti ...

Added by EverToDesign on Sat, 04 Jan 2020 20:28:24 +0200

Data filtering details and examples of Rxjava2 Observable

Continue to the previous article: Data filtering details and examples of Rxjava2 Observable (1) 6. Filter Only data items filtered by the function are emitted. Instance code: // filter(Predicate<? super Integer> predicate) // Verify data and decide whether to transmit data Observable.range(1, 10) .filter(new Predicate<Integer&gt ...

Added by sk8erh4x0r on Thu, 02 Jan 2020 23:31:44 +0200

Wechat app draws pictures and sends friends

This kind of image generation effect is very common, and it's not difficult to implement. It's similar to native js. It should be noted that there should not be too many css on the canvas label. The consequence is that the canvas does not display. In addition, the priority of the canvas component is the highest, so all the foll ...

Added by realchamp on Thu, 02 Jan 2020 19:47:05 +0200

5.2.1 dynamic registration and monitoring network change

There are two ways to register for broadcast: Dynamic registration: registering in code Static registration: register in Android manifest.xml Idea: create a new class, let it inherit the BroadcastReceiver, and override the onReceiver() method of the parent class. When a broadcast arrives, the onReceive() method will be execu ...

Added by lapith on Thu, 02 Jan 2020 12:28:55 +0200

linux performance monitoring

Monitoring cpu usage uptime Purpose: print current time, system running time, current login user and cpu load [root@localhost ~]# uptime 20:24:06 up 9:56, 3 users, load average: 0.00, 0.01, 0.05 1 Minutes 5 minutes 10 minutes load Monitor the usage of memory and switch partit ...

Added by ceci on Wed, 01 Jan 2020 23:18:54 +0200

Android notes: Android devices get public IP

Today, I have a friend who wants to get the current ip of Android phone connected to the network and ask me how to do it. I think it's not easy. Tell him to judge the network environment first. If WiFi can be obtained through WiFi manager, if it is traffic (2G, 3G or 4G network), get getHostAddress() through NetworkInterface tr ...

Added by jossejf on Wed, 01 Jan 2020 20:06:40 +0200

Kotlin uses TextView to load Html tags (with Web picture links in the tags)

I have been engaged in Android development for some time. I used to develop in native or mixed mode. Recently, I came across a relatively new development mode, and I used Kotlin for App development. Let's get to know Analysis of advantages and disadvantages of android native application, Web application and hybrid application , ...

Added by LiamOReilly on Wed, 01 Jan 2020 12:12:06 +0200

Building a private warehouse with docker container

1, About registry 2, Set up a registry 1. Download the registry image 2. Start the container 3. Solve the problem of push ssl 4. Upload image 5. View all image information in the Registry 1, About registry The official Dockerhub is a good place to manage the public image. We can find the image we want on it or pu ...

Added by RaheimSG on Tue, 31 Dec 2019 23:37:10 +0200