Super Ledger Fabric Chain Code Endorsement Strategy and ACL Configuration Tutorial
In this tutorial, you'll learn how to configure and dynamically update the access control list (ACL) of the Hyperledger Fabric block chain.The tutorial is divided into two parts: 1. Understanding and configuring the access control list for Hyperledger Fabric 2. Dynamically updating the access control list in the channel configuration.We will in ...
Posted by ruiner17 on Sat, 28 Dec 2019 20:05:26 -0800
Be elegant!Load large and long pictures like this in Android
When developing, we will inevitably encounter the situation of loading pictures. When the size of pictures is smaller than the size of ImageView, we can certainly happy to load the display directly.
But if we load a picture that is much larger than the size of the ImageView, displaying it directly with the ImageView will have a bad visual effe ...
Posted by elgordo1960 on Sat, 28 Dec 2019 15:16:15 -0800
PHP mail sending class library PHPMailer extension using demo
Installation and use of PHPMailer class library
Download PHPMailer class library and use demo:
Address: https://download.csdn.net/download/fenqing666/10681461
Preconditions:
First: remove the following two semicolons from php.ini ;extension=php_sockets.dll ;extension=php_openssl.dll
And restar ...
Posted by reddymade on Sat, 28 Dec 2019 10:54:47 -0800
Basic concepts of Netty
Boot
BossGroup and WorkerGroup: the former is responsible for receiving client connections, and the latter is responsible for network reading and writing. All types are NioEventLoopGroup
NioEventLoopGroup is equivalent to an event loop group, which contains multiple event loops. Each event loop is NioEventLoop
NioEventLoop refers to a thr ...
Posted by jaco on Fri, 27 Dec 2019 11:43:42 -0800
Download and display pictures from the network
Get the network pictures through get request -- mainly for future reference and making a note
Task requirements:
1. Create a new layout file, and add two controls: Button and ImageView to the layout file
2. Create a new GetPictThread to implement the Runnable interface
(1) define a handler to transfer data to the main threa ...
Posted by zenag on Fri, 27 Dec 2019 11:06:50 -0800
Spring Cloud Eureka
Eureka is responsible for service discovery in Spring Cloud. Service discovery needs to solve the problem of how to find the location of service provider in the network.
Server side
In the file menu of the Spring Tool Suite, click new Spring Starter Project.
Then add the @ EnableEurekaServer tag to the entry method.
import org.springframework.b ...
Posted by atstein on Fri, 27 Dec 2019 10:44:10 -0800
Fabric blockchain operation and maintenance monitoring based on Prometheus and StatsD
Hyperledger Fabric is a blockchain that emphasizes operation and maintenance. Since version 1.4, Fabric has included features for operation and maintenance of peer and orderer nodes. This tutorial will introduce how to configure the operation and maintenance management service of Fabric network nodes, and how to use Prometheus and statsD/Graphi ...
Posted by phpparty on Fri, 27 Dec 2019 04:58:12 -0800
k8s Install sonarqube
1. Overview
The SonarQube platform consists of four components:
A SonarQube Server starts three main processes:
Web server for developers and administrators to browse high-quality snapshots and configure SonarQube instances
Search Server based on Elasticsearch searches backwards from the UI
Compute Engine server, responsible for processing c ...
Posted by ljCharlie on Thu, 26 Dec 2019 16:21:17 -0800
Base64 Chinese code scrambling solution
1. What is base64 encoding
Due to the limitations of some network communication protocols, you must use the window.btoa() method to encode the original data before sending. The receiver uses the method equivalent to window.atob() to decode the received base64 data and get the original data. For example, some data containing co ...
Posted by nigaki on Thu, 26 Dec 2019 14:40:32 -0800
Important subdirectories of Linux system
More catalog knowledge http://blog.51cto.com/yangrong/1288072
/etc/fstab
Machine automatically mounts partition / disk, specifies which partition / device and where to mount
1 [root@oldboy ~]# cat /etc/fstab
2
3 #
4 # /etc/fstab
5 # Created by anaconda on Sun Aug 12 17:26:53 2018
6 #
7 # Accessible filesystems, by reference, are m ...
Posted by Ben Phelps on Thu, 26 Dec 2019 10:51:27 -0800