This file contains hidden or 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
[ | |
{ | |
"name": "underHat", | |
"policy": { | |
"identities": [ | |
{ | |
"role": { | |
"name": "member", | |
"mspId": "Org1MSP" | |
} |
This file contains hidden or 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
{ | |
"frames" : [ | |
{ | |
"text": "fabric-chaincode-java" | |
}, | |
{ | |
"chartData": $reverse([value[name='FailedBuilds'].intValue]) | |
} | |
] | |
} |
This file contains hidden or 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
{ | |
"frames" : [ | |
{ | |
"text": "fabric-chaincode-java" | |
}, | |
{ | |
"chartData": $reverse([value[name='FailedBuilds'].intValue]) | |
} | |
] | |
} |
This file contains hidden or 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
docker create --name nginx nginx | |
docker cp nginx:/etc/nginx/nginx.conf ./nginx.conf | |
docker rm -f nginx |
This file contains hidden or 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
#!/bin/sh | |
# Attempt to start up the lametric cheerlights server on a free Oracle compute VM | |
sudo apt-get -yq update | |
sudo apt-get -yq upgrade | |
sudo apt-get -yq remove docker docker-engine docker.io containerd runc || true | |
sudo apt-get -yq install \ | |
apt-transport-https \ |
This file contains hidden or 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
#cloud-config | |
runcmd: | |
# Note: Don't write files to /tmp from cloud-init use /run/somedir instead. | |
# Early boot environments can race systemd-tmpfiles-clean LP: #1707222. | |
- mkdir /run/cloudftw | |
- echo hello > /run/cloudftw/cloudftw.txt |
This file contains hidden or 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
#!/usr/bin/env sh | |
set -euxo pipefail | |
go install github.com/hyperledger-labs/microfab/cmd/microfab@latest | |
mkdir -p microfab-test | |
pushd microfab-test | |
mkdir -p chaincode |
This file contains hidden or 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
// Some data to graph | |
var data = new Array(16); | |
data.fill(0); | |
// Our custom renderer that draws a graph inside the layout | |
function renderGraph(l) { | |
require("graph").drawBar(g, data, { | |
miny: 0, | |
axes : true, | |
x:l.x, y:l.y, width:l.w, height:l.h |
OlderNewer