Hyperledger Fabric 1.4 Kafka Cluster Deployment Tutorial

Hyperledger Fabric block chain network building has been notoriously cumbersome.This tutorial describes how to deploy a hyperledger fabric block chain cluster network with multiple sorting and peer nodes distributed on four hosts, providing both source and configuration file downloads. Recommendations for related tutorials: Hyperledger Fabric ...

Posted on Sun, 08 Dec 2019 23:03:51 -0500 by Ola

jdk source code shallow reading - HashSet

Through reading the source code, we find that the implementation source code of the bottom layer of the HashSet is actually implemented by calling the method of the HashMap, so if you have read the HashMap or are familiar with the HashMap, reading the HashSet is very easy and easy to understand. I also wrote an article about reading the source ...

Posted on Sun, 08 Dec 2019 22:01:13 -0500 by Twister1004

Java Serial 58 - Static Internal Class, Member Internal Class Details

1. Classification of internal classes: (1) Static internal classes (2) Member internal classes (3) Local internal classes (4) Anonymous internal classes 2. Static Internal Class 1. Static internal classes can be equated to static variables Important role of internal classes: access to private data in external classes 2. Static internal classes ...

Posted on Sun, 08 Dec 2019 21:38:10 -0500 by Navarr

How does Android Developer for shuttle layout? Where is the XML layout file? And add or remove components from the layout

If you are from Android, please go from the following Android Developer for shuttle (1) Start to see, it will help your study How to layout? Where is the XML layout file? In Android, you write layouts in XML, but in Flutter, you can use widget trees to write layouts. Here is an example of how to display a simple Widget on the sc ...

Posted on Sun, 08 Dec 2019 21:31:09 -0500 by Japher

Using canvas to save web pages as pdf files supports cross domain

Preface The previous essay said that Canvas screenshots are pictures. Next new requirement is to save the screenshots as PDF files for users to download. The screenshot page of Canvas in the previous article is picture: https://www.cnblogs.com/bubububu/p/9951185.html text Requirements: users click download to save the page as a PDF file and dow ...

Posted on Sun, 08 Dec 2019 19:37:39 -0500 by sigmon

Native JavaScript for sliding drag validation

Usually, to prevent users from maliciously submitting forms, we allow users to complete sliding-drag validation before submitting, which can sometimes be a bit of a backcrawl. Of course, there is more than one way to implement sliding validation, and here we use native JavaScript directly. Now you can Here See the full source code. Native impl ...

Posted on Sun, 08 Dec 2019 17:56:08 -0500 by kamy99

Copying the real traffic manometry ES cluster using gor

In production environments, we generally use esrally for benchmarking of es.However, it may be different from the real production request scenario.( Therefore, it is necessary to consider using real traffic to measure ES clusters. Common traffic replication tools are tcpcopy and so on. Here we introduce a simpler and easier-to-use tool, gor. ...

Posted on Sun, 08 Dec 2019 15:44:34 -0500 by riddlejk

Cross domain AJAX for IE8 and IE9

1. There is a code like this, ajax $.ajax({ url: "http://127.0.0.1:9001", type: "POST", data: JSON.stringify({"reqMsg":"12345"}), dataType: 'json', timeout: 1000 * 30, success: function (response) { if(response.n=='6'){ dosomething(); init(); ...

Posted on Sun, 08 Dec 2019 08:14:00 -0500 by dharprog

mongodb monitoring tool Mongo monitor installation and deployment

mongo monitor installation and deployment During the debugging of mongodb cluster, a small artifact was found. You dare not enjoy it alone! The related introduction is as follows:Mongo monitor cli is a simple and simple tool to check MongoDB services. During cluster debugging and upgrading, when troubleshooting, adding nodes, adjusting fragmen ...

Posted on Sun, 08 Dec 2019 06:45:23 -0500 by Daleeburg

Implementation of Web watermark SDK

In web browsing, web watermark is often needed to prevent users from tracking the source of users after exposing sensitive information in screenshots or video recordings. For example, our common pin software, chat background will have your name. So how to achieve the watermark effect? Web watermark SDK, implementation ideas 1. It can get more c ...

Posted on Sun, 08 Dec 2019 03:36:37 -0500 by Leveecius