A complete example of wechat web page authorization for wechat development

All relevant contents of wechat development need to refer to official documents.[wechat public platform development document] http://mp.weixin.qq.com/wiki/home/. 1, The basic wechat information of users can be obtained through webpage authorization. 2, There are 5 steps in total: 1: users agree to authorize and obtain code 2: exchange code for ...

Posted on Tue, 31 Mar 2020 15:31:06 -0400 by jase01

Using KubeFATE to rapidly deploy the federal learning experiment development environment

Summary In the previous article, we introduced how to use KubeFATE to deploy a single node fat federated learning cluster. In a real application scenario, federated learning often requires multiple participants to complete tasks together. Based on this, this article will show how to deploy the fat clusters of two participants through KubeFATE ...

Posted on Fri, 27 Mar 2020 05:55:20 -0400 by PHPThorsten

pv/pvc storage of kubernetes

Labels (space separated): kubernetes series 1: PV/PVC storage of kubernetes 1: PV/PVC storage of kubernetes 1.1 pv PersistentVolume (PV) Is the storage set up by the administrator as part of the cluster. Just as a node is a resource in a cluster, PV is also a resource in a cluster. PV is Volume plug-ins, such as volume, but have a l ...

Posted on Wed, 25 Mar 2020 23:41:07 -0400 by Nabster

Talk about Token renewal processing of OAuth 2.0

Token verification logic // CheckTokenEndpoint.checkToken @RequestMapping(value = "/oauth/check_token") @ResponseBody public Map<String, ?> checkToken(@RequestParam("token") String value) { // Query all the information of the token stored in the tokenStore according to the token OAuth2AccessToken token = resourceServerTokenServi ...

Posted on Mon, 23 Mar 2020 03:07:58 -0400 by adamhhh

Keeping alive + haproxy to realize high available load balancing architecture

Keepalived + Haproxy to realize high available load balancing architecture Experimental environment: Host IP Web1 192.168.116.103 Web2 192.168.116.104 Haproxy-Master 192.168.116.105 Haproxy-Backup 192.168.116.106 VIP 192.168.116.110 Experimental steps: 1. Deploy Web server You ...

Posted on Mon, 16 Mar 2020 09:30:52 -0400 by carrotcake1029

Kubernetes storage volume for Kubernetes series

Chapter I, Preface By default, container data is non-persistent, and data is lost after the container dies out, so Docker provides a Volume mechanism to persist the data.Similarly, Kubernetes provides a more powerful Volume mechanism and rich plug-ins that address the persistence of container data and the sharing of data between containers.Unl ...

Posted on Sun, 15 Mar 2020 16:29:54 -0400 by mbh23

How to install Brew automatically in China (domestic address)

Reprint: https://zhuanlan.zhihu.com/p/111014448 How to install Brew automatically in China (domestic address)   1, Automatic script (all domestic addresses) /bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)" perhaps /bin/bash -c "$(curl -fsSL https://gitee. ...

Posted on Sat, 14 Mar 2020 04:57:36 -0400 by slashpine

Chapter 14 application programming interface

1, Testing WEB services with HTTPie In the previous section, we used Postman to test the WEB api. If you like to use command-line testing, you can also use HTTPie. 1. Suppose that the service is running on 127.0.0.1:5000. In another window, you can use the following methods to initiate a get reques ...

Posted on Thu, 12 Mar 2020 03:44:03 -0400 by ss-mike

ELK: ElasticSearch data backup and restore

I received the task of building ElasticSearch cluster a few days ago. As a novice, I can't do without Baidu's support. I started to check the data and change the configuration. I built the cluster in less than one day (please ignore the time problem...) For the first time, not so skilled. After several ...

Posted on Sun, 08 Mar 2020 23:19:10 -0400 by peuge

Zabbix custom parameter monitoring and awk commands

awk command awk is a language for processing text files and is a powerful text analysis tool.How awk handles text and data: Read in the text line by line, find rows that match a particular pattern, and do so. Output file matches specific fields of rows It's powerful, so it's useful.Here I focus on the following scenarios:Read in the text line ...

Posted on Sun, 08 Mar 2020 12:40:13 -0400 by martin_g