Recently applied for a virtual host, just the company to do nail-nail micro-application needs a test of the outside network, casually wrote a demo put up, and then found an error.Asked a lot of people, there is no solution, what version of the problem Ah, file name changes, namespace inconsistencies, the program leaked AH, all think of, in the local IIS test there is no problem, a upload to the server on the wrong, I see this mistake is missing the assembly, and later found not this reason, beca
Android.os.Bundle;Import Android.widget.TextView;public class Helloworldactivity extends Activity {Private TextView Txtview;/** called when the activity is first created. */@Overridepublic void OnCreate (Bundle savedinstancestate) {Super.oncreate (savedinstancestate);Setcontentview (R.layout.main);This.txtview = (TextView) Findviewbyid (R.id.txtview);if (this.txtview!=null) {This.txtView.setText ("Hello World");}}}Execute it.android4.0 API documentation, emulator and other download linksed2k://
Proxy: An HTTP intermediate entity located between the client and the serverCache: A repository of HTTP so that copies of frequently used pages can be saved closer to the clientGateway: A special WEB server that connects other applicationsTunneling: A special agent for blind forwarding of HTTP communication messagesAgent agent: A semi-intelligent web client that initiates automatic HTTP requests, such as Web bots, network spidersWEB Fabric Components
This is a HTML5 Canvas application demo that mimics the effect of a ripped cloth, with realistic results. You'll see that with Canvas 's powerful drawing and animation capabilities, you can take your breath away with minimal code. Tips: For the best results, browse through modern browsers such as ie10+, Chrome, Firefox, and Safari.SOURCE Download Effect DemoRelated articles that may be of interest to you
Web development in a very practical 10 effects "source Download"
Carefully selected
The main introduction through the use of replacement filter text and wrinkled silk fabric background perfect combination, suitable for novice friends to learn, hope friends like.
The replacement of Ytterbium in PS (displace) seems to be less noticeable, some people may not know its role. Now let's explore its potential and analyze how it works, and see how this filter, combined with layer blending, combines text with a wrinkled silk background that wo
Hyperledger source code Analysis of Fabric
Deliver means that the client obtains data from the ordering service via the Grpc interface (for example, data from a specified block).
The Orderer node receives the request message, which is first given to the Deliver of the server structure in the Orderer.common.server package (SRV ab. Atomicbroadcast_deliverserver) Error method processing. This method further invokes the Handle of the deliverserver structu
Certificate requirements:
1. The format of the digital certificate follows the X.509 standard
2. Version V3
3. Signature Algorithm SHA256ECDSA
CA used in FABRIC-JAVA-SDK:
./e2e-2orgs/channel/crypto-config/peerorganizations/org1.example.com/users/admin@org1.example.com/msp/signcerts
./e2e-2orgs/channel/crypto-config/peerorganizations/org1.example.com/users/admin@org1.example.com/msp/keystore
Docker-compose.yaml the CA used in the conf
Hyperledger source code Analysis of Fabric
Broadcast means that the client sends the request message (for example, after the endorsement transaction is completed) to the ordering service via the Grpc interface.
These request messages are given to the broadcast (SRV ab) of the server structure in the Orderer.common.server package. Atomicbroadcast_broadcastserver) Error method processing. This method will mainly call the Handle (SRV ab) of the HANDLERIM
General use of fabric, mostly with the remote interaction, and in the interaction, in addition to the logic of simple code, time is also accompanied by the transmission of files, and there may be a lot of files in the file.
Whether we can make a judgment, if the file exists, then we do not upload, look at the code
# for a test
@task
@roles ("Mgmt")
def Test ():
if Int (run ("[E '/etc/passwd1 '] echo 11 | | echo ") = = one:
print" Yes, f
complete, unzip to the/usr/local directory:sudo tar -c/usr/local-xzf go1.10.1.linux-amd64.tar.gz To configure the GO locale variable:Enter the. BASHRC Configuration environment variable:$ sudo vim ~/. BASHRC or: $ sudo vim/etc/profileAdd the following code to the last side:Export gopath=/usr/local/goexport path= $GOPATH/bin: $PATH Save, exit.To make an environment variable effective:$ source ~/. BASHRC or: $ source/etc/profile After viewing the version number no problem, the configuration
-8-*-Each time you specify the password is also more troublesome, wrote a shell script, each time only need to specify the source IP, destination IP, port number, library name can bemysqlha_sync2test.sh#!/bin/bashS_host=$1D_host=$2Port=$3Db=$4Mysql_path= "/usr/local/mysql-5.6.24"Sync_time= ' date + '%h%m%s 'Sync_date= ' date + '%y%m%d 'S_user= ' Db_read_user 'S_pwd= ' 123456 'D_user= ' Root 'D_pwd= ' 123456 'Schemasync--tag= "${sync_time}"--output-dir= "/data/mysql_schemasync"--sync-comments mys
Fabric-sdk-java build and compile (this article is based on 1.0.1 version)
1, install jdk1.8 and above version
2, download Fabric-sdk-java GitHub address: Https://github.com/hyperledger/fabric-sdk-java
3. Import into Eclipse tools
4, switch to the project directory under the Command Window mode of execution: MVN compile-dskiptests,
Refresh the project after
Note: This article was first published on 2017-09-22.
Hyperledger source code Analysis of Fabric introduction
The Chaincode is the user chaincode,ucc, which is important for application developers, and it provides state processing logic based on the blockchain distributed ledger, which can be used to develop a variety of complex applications.
Hyperledger Fabric, Chaincode runs in the Docker container by d
Fabric is a Python (2.5-2.7) library and command-line tool used to streamline SSH execution to deploy application or system administration tasks.Installation:Install FabricLet's start with a general Demo,hello world.Files: hello_world.py# Coding:utf-8 def Hello (): Print ' Hello world! 'Operation Result:The default is to find the current directory fabfile.py file, if the file name is not fabfile.py, you need to specify the file with-F.$ fab-F hell
The entities involved in Hyperledger Fabric 1.0 include the following:
FABRIC-CA: Mainly responsible for the maintenance of the certificate of the entity in the network;
Peer: mainly responsible for the implementation of intelligent contracts, record books;
Order: mainly responsible for the accounting content of the consensus.
1.0 architecture can be based on the actual needs of the network through the
bringing up a kafka-based ordering Service
The sorting service needs to handle all transaction messages in the FABIRC network, which is the key to the whole network. Fabric currently (2018/01) supports two types of sorting: Solo and Kafka. In the generation environment, the Orderer node needs to be sorted by the Kafka cluster to improve its reliability. This article describes how to configure the sorting node based on Kafka.
The topology of the netwo
The company Testing Services update more frequently, in order to simplify the process, to achieve the following simple automatic deployment
The deployment process is probably the following figure
after many twists and pains finally found the fabric under the tips of colleagues, but not familiar with Python, after some toss finally realized the above function, the general steps are as follows: install Python, I use the Ubuntu environment, this step o
Swift, the global Security financial Information service provider, has formally chosen to use the Super Ledger fabric database in its most prominent blockchain project.
The project was designed to streamline bank reconciliations to facilitate international transactions, including BNP, New York Mellon and Wells Fargo, and three other global financial institutions.
As one of the founding members of the Linux Foundation's Super Ledger project, Swift's d
The previous analysis program looked at the details of the analysis, so without the concept of framework, took two days to analyze the Hyperledger fabric architecture design, analysis of the program does not reference any information, such as error welcome correction, common progress.
The author has the following questions before the detailed analysis procedure:
1) How the CLI (command line) client sends a command to a peer node
2) How the peer node
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.