Insights into applets

Insights into applets Counter war What is applet Small program is an application that can be used without downloading and installation. It realizes the dream of "within reach" of the application. Users can scan or search the application to open it. It also embodies the concept of "go ...

Posted by mwd2005 on Sun, 23 Feb 2020 10:29:42 +0100

ZABBIX docking flybook realizes alarm notification with pictures

Flybook provides rich api to realize message notification, including text message, picture message and rich text message. This paper introduces the use of flybook api to send rich text message. The following is the implementation ideaAPI address: https://open.feishu.cn/document/ukTMukTMukTM/uITNz4iM1MjLyUzM Implementation ideas 1. Get the mon ...

Posted by Flames on Fri, 21 Feb 2020 15:33:55 +0100

Android Development - send data between activities

Preface In the process of Activity interaction, data must be transferred between two activities. You can start a new Activity by using the startActivity() or startActivityForResult() method, depending on whether your Activity wants to get the return result from the new Activity that is about to start. ...

Posted by stunna671 on Wed, 19 Feb 2020 05:17:20 +0100

Spring Boot returns XML

In general, RESTful is to return json. Sometimes it may be necessary to return xml. What should we do? Jackson Maven adds jar file import <dependency> <groupId>com.fasterxml.jackson.dataformat</groupId> <artifactId>jackson-dataformat-xml</artifactId> </dependency& ...

Posted by POGRAN on Tue, 18 Feb 2020 04:40:45 +0100

Using fluent as the docker log driver to collect logs

Preface The default log driver for docker is json-file Every container will generate a / var/lib/docker/containers/containerID/containerID-json.log locally. The log driver supports extension. This chapter focuses on the fluent driver collecting docker logs Fluentd is an open source data collector for unified logging layer. It is the sixth CNCF ...

Posted by Mortier on Sun, 16 Feb 2020 03:50:45 +0100

SpringBoot default JSON resolution scheme

1. What is JSON JSON (JavaScript Object Notation) is an open standard data exchange format based on a subset of JavaScript syntax.JSON is text-based, lightweight, and is generally considered easy to read/write. Okay, let's not talk a lot. Here's how to use JSON in SpringBoot. 2. How to use JSON in S ...

Posted by spicey on Sat, 15 Feb 2020 07:16:23 +0100

nodejs crawler -- grabs all articles of a user in CSDN

Recently, I'm learning node.js. It's like playing with something, so this simple reptile is born. Preparation node.js crawler must be installed first node.js Environmental Science Create a folder Open the command line in the folder and execute the npm init initialization project Begin formally Installation dependency express is used to buil ...

Posted by may on Tue, 11 Feb 2020 10:23:02 +0100

kubeernetes binary cluster deployment 1 - etcd component, flannel component

Main points: 1. Environment Package Preparation 2. Deploy etcd storage 3. Deploy flannel network components 1. Environmental preparation: Host Software to be installed master(192.168.109.138) kube-apiserver,kube-controller-manager,kube-scheduler,etcd node02(192.168.109.131) kubelet,kube-proxy,docker ,flannel ,etcd node02(192.168.109.13 ...

Posted by ale1981 on Mon, 10 Feb 2020 17:50:34 +0100

Fetch encapsulation method

What is Fetch? Fetch is a request interface similar to the AJax request function, and only the browser method. On the one hand, fetch is to alleviate the messy implementation of native XMLHTTPRequest. Here is an example: To implement Ajax requests with XHR objects: var xhr = new XMLHttpRequest(); xhr.open('GET', ur ...

Posted by sheephat on Sun, 09 Feb 2020 20:47:49 +0100

ElasticSearch index details

Still using mysql for full-text indexing? Try elastic search! Note: the following documents are based on elasticsearch version 7. X, which is different from the old version 1. Format description The data interaction interface of elasticSearch is based on http protocol, and the basic format is as fol ...

Posted by ErcFrtz on Sun, 09 Feb 2020 11:55:43 +0100