openlayers6 map switching display (with source code download)

preface I have written a map switching effect of openlayers4 version before, but because it is written by encapsulating a layer of js code, many beginners seem to have a bit of difficulty, so this article rewrites a map switching effect, which is directly based on the latest version of openlayers6, in the form of pure html + js + css, witho ...

Posted by programmingjeff on Tue, 30 Jun 2020 07:19:43 +0200

Read Chrome Bookmark File

Use C#to read the Chrome browser's local bookmark file, the current file is Bookmarks under the User Folder \AppData\Local\Google\Chrome\User Data\Default\ Open this file and we find a json text file { "checksum": "e723a57c9d9cbcae27ce0e1f8a5b7e71", "roots": { "bookmark_bar": { "children": [ { "date_added": "13 ...

Posted by djopie on Wed, 24 Jun 2020 18:26:33 +0200

Data collection of provinces in 2020

preface: Reference article: https://www.cnblogs.com/yangzhilong/p/3530700.html https://www.cnblogs.com/liushaofeng89/p/4873086.html Recently, due to the user's feedback that the provincial data form is partially missing, baidu decided to pull it by itself after a circle of duniang. The provincial ...

Posted by Xeon on Tue, 23 Jun 2020 12:58:13 +0200

Istio 1.6.3 release - new features and quick installation

Istio 1.6.3 released. Istio is an open source project jointly developed by Google, IBM and Lyft, aiming to provide a unified way of microservice connection, security, management and monitoring. Specifically, istio is an open source services grid platform, which ensures that microservices are interconnected in a specified way when they handle ...

Posted by Sephirangel on Tue, 23 Jun 2020 10:15:27 +0200

The lowest coupling way to add title block in history

preface Most pages have a title block, which usually encapsulates the initialization code of the general title block in the base class, and then only needs to include a title block layout in the layout code, so it is very convenient to set the title block in the Activity. This may be the current more ...

Posted by zkoneffko on Mon, 22 Jun 2020 10:36:33 +0200

Android interprocess communication -- understand Binder through AIDL and write Binder service

Series of articlesAndroid interprocess communication (I) - Android multiprocess modeAndroid interprocess communication (2) - understanding Binder's mechanismAndroid interprocess communication (3) - understand Binder through AIDL and write Binder service In the previous chapter, I have learned the comm ...

Posted by lovely on Mon, 22 Jun 2020 06:28:49 +0200

List built in method

list.append(obj)) Add a new object at the end of the list list.count(obj) Count the number of times an element appears in the list list.extend(list1) Append multiple values in another sequence at the end of the list (extend the original list with a new list) list.index(obj) Find the index position of th ...

Posted by wannasub on Mon, 15 Jun 2020 10:49:49 +0200

It's not clear how to object-oriented yet?

This paper mainly introduces the basic idea and three characteristics of object-oriented. The article was first published under the public slogan Pedestrian View. 1. Introducing Examples Create a Dog puppy /** * Puppies */ public class Dog { String name; Integer age; Integer legs; public void say(String name) { Sys ...

Posted by ruach on Sat, 13 Jun 2020 20:23:52 +0200

Android uses Kotlin to connect to MQTT

MQTT It is a lightweight and flexible Internet of things message exchange and data transfer protocol, which is dedicated to achieving the balance between flexibility and hardware / network resources for IoT developers. Kotlin Kotlin is a programming language developed by JetBrains company. Kotlin is based on JVM, so developers can easily use it ...

Posted by RossC0 on Tue, 09 Jun 2020 08:30:15 +0200

[design mode] observer mode: can a registration function also use design mode?

Life in the world is like living among thorns, the heart does not move, people do not move, do not hurt, if the heart is moving, people move, hurt their body, hurt their bones, so we can experience all kinds of pain in the world catalog My fighting dream Sad Xiao Ming What is the observer model? Re ...

Posted by mariolopes on Sun, 07 Jun 2020 09:45:53 +0200