This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# for attribute based access control, insert :ecert options in the attibutes | |
fabric-ca-client register \ | |
--id.name user \ | |
--id.secret password \ | |
--id.type user \ | |
--id.affiliation Org1 \ | |
--id.attrs 'attr=true:ecert, hf.Affiliation=Org1:ecert' | |
# for enrollment.attrs, attributes named gets copied to ecert | |
# opt means the attributes can be optional |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nohup watch -n5 'bash script.sh' & |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//{ 'c/f/l/k': 1, 'c/f/l/d': 2, 'c/f/w': 2, 'c/d': 1, 'c/e': 2 } | |
//mapStringValue({ | |
// c: { | |
// d:1, | |
// e:2, | |
// f: { | |
// w: 2, | |
// l: { | |
// k:1, | |
// d:2 |