Skip to content

Instantly share code, notes, and snippets.

bash-5.0# tail -f wp-debug.log
first_name VARCHAR(35),
last_name VARCHAR(35),
email VARCHAR(40),
ip INT(4) UNSIGNED,
url VARCHAR(255),
timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
UNIQUE KEY (timestamp, user_id)
) ENGINE=InnoDB;
2020-04-11 17:58:33 | site_counter\init_site_counter |
$ sudo yum install docker
Loaded plugins: langpacks, product-id, search-disabled-repos
Resolving Dependencies
--> Running transaction check
---> Package docker.x86_64 2:1.13.1-161.git64e9980.el7_8 will be installed
--> Processing Dependency: docker-common = 2:1.13.1-161.git64e9980.el7_8 for package: 2:docker-1.13.1-161.git64e9980.el7_8.x86_64
--> Processing Dependency: docker-client = 2:1.13.1-161.git64e9980.el7_8 for package: 2:docker-1.13.1-161.git64e9980.el7_8.x86_64
--> Processing Dependency: libseccomp.so.2()(64bit) for package: 2:docker-1.13.1-161.git64e9980.el7_8.x86_64
--> Running transaction check
---> Package docker-client.x86_64 2:1.13.1-161.git64e9980.el7_8 will be installed
$ npm test
> [email protected] pretest /Users/sjain68/phf/code/boilerplate-contract
> npm run lint
> [email protected] lint /Users/sjain68/phf/code/boilerplate-contract
> tslint -c tslint.json 'src/**/*.ts'
WITSC02X6385JGH:server sjain68$ FABRIC_LOGGING_SPEC=debug FABRIC_CA_SERVER_HOME=$PWD fabric-ca-server start
2020/03/27 09:54:17 [INFO] Configuration file location: /Users/sjain68/fabric-ca-test/server/fabric-ca-server-config.yaml
2020/03/27 09:54:17 [INFO] Starting server in home directory: /Users/sjain68/fabric-ca-test/server
2020/03/27 09:54:17 [INFO] Server Version: 1.4.5
2020/03/27 09:54:17 [INFO] Server Levels: &{Identity:2 Affiliation:1 Certificate:1 Credential:1 RAInfo:1 Nonce:1}
2020-03-27 09:54:17.516 PDT [bccsp_sw] openKeyStore -> DEBU 001 KeyStore opened at [/Users/sjain68/fabric-ca-test/server/msp/keystore]...done
2020-03-27 09:54:17.517 PDT [bccsp] initBCCSP -> DEBU 002 Initialize BCCSP [SW]
2020-03-27 09:54:17.517 PDT [bccsp_sw] openKeyStore -> DEBU 003 KeyStore opened at [/Users/sjain68/fabric-ca-test/server/msp/keystore]...done
2020-03-27 09:54:17.518 PDT [bccsp_sw] loadPrivateKey -> DEBU 004 Loading private key [89aa6faab665fa9d2020595db8aa6b88767378a23b1d666cd8fa10a16fa5f785] at [/Users/sjai
WITSC02X6385JGH:manuscript sjain68$ git push origin master
Enumerating objects: 93, done.
Counting objects: 100% (92/92), done.
Delta compression using up to 12 threads
Compressing objects: 100% (60/60), done.
Writing objects: 100% (60/60), 553.53 KiB | 11.07 MiB/s, done.
Total 60 (delta 33), reused 0 (delta 0)
To https://bitbucket.org/siddjain/phf.git
88dd8d8..1899458 master -> master
WITSC02X6385JGH:manuscript sjain68$ git branch
trying to get this to work
https://en.support.wordpress.com/wordpress-editor/blocks/syntax-highlighter-code-block/2/
[code lang="java"]
import java.util.Map;
import java.util.Properties;
/**
$ npm start -- --peer.address localhost:7052 --chaincode-id-name mycc:1.0
> [email protected] start /Users/sjain68/phf/code/three-org-network/mycc
> fabric-chaincode-node start "--peer.address" "localhost:7052" "--chaincode-id-name" "mycc:1.0"
Configuring yargs through package.json is deprecated and will be removed in the next major release, please use the JS API instead.
Configuring yargs through package.json is deprecated and will be removed in the next major release, please use the JS API instead.
Configuring yargs through package.json is deprecated and will be removed in the next major release, please use the JS API instead.
2020-03-04T00:06:00.587Z info [c-api:./lib/annotations/object.js] @Object args: Target -> %s "Function"
2020-03-04T00:06:00.589Z info [c-api:./lib/annotations/transaction.js] @Returns args: ", Property Key -> assetExists, Return Type -> boolean,","Target ->","AssetContract"
2020-03-02 16:04:50.251 PST [couchdb] CreateDatabaseIfNotExist -> INFO 030 Created state database tracktrace_lscc
2020-03-02 16:04:50.302 PST [couchdb] CreateDatabaseIfNotExist -> INFO 031 Created state database tracktrace__lifecycle$$p_implicit_org_$biotor$m$s$p
2020-03-02 16:04:50.359 PST [couchdb] CreateDatabaseIfNotExist -> INFO 032 Created state database tracktrace__lifecycle$$h_implicit_org_$biotor$m$s$p
2020-03-02 16:04:50.368 PST [lifecycle] ApproveChaincodeDefinitionForOrg -> INFO 033 Successfully endorsed chaincode approval with name 'mycc', package ID 'mycc_1.0:ce4e81ee8835ad0a01f7629b4646f52535b91378311f11cee703b3011d7adfdf', on channel 'tracktrace' with definition {sequence: 1, endorsement info: (version: '1.0', plugin: 'escc', init required: false), validation info: (plugin: 'vscc', policy: '0a481210120e08031202080012020801120208021a0f120d0a0942696f746f724d535010031a0d120b0a07584d65644d535010031a1412120a0e4b6579506861726d6163794d53501003'), collections: ()}
2020-03-02 16:04:50.368 PST [endorser]
$ ./approve-for-biotor.sh
2020-03-02 16:04:50.153 PST [bccsp] GetDefault -> DEBU 001 Before using BCCSP, please call InitFactories(). Falling back to bootBCCSP.
2020-03-02 16:04:50.163 PST [bccsp] GetDefault -> DEBU 002 Before using BCCSP, please call InitFactories(). Falling back to bootBCCSP.
2020-03-02 16:04:50.166 PST [bccsp_sw] openKeyStore -> DEBU 003 KeyStore opened at [/Users/sjain68/phf/code/three-org-network/crypto-config/peerOrganizations/Biotor.com/users/[email protected]/msp/keystore]...done
2020-03-02 16:04:50.166 PST [bccsp] initBCCSP -> DEBU 004 Initialize BCCSP [SW]
2020-03-02 16:04:50.166 PST [msp] getPemMaterialFromDir -> DEBU 005 Reading directory /Users/sjain68/phf/code/three-org-network/crypto-config/peerOrganizations/Biotor.com/users/[email protected]/msp/signcerts
2020-03-02 16:04:50.166 PST [msp] getPemMaterialFromDir -> DEBU 006 Inspecting file /Users/sjain68/phf/code/three-org-network/crypto-config/peerOrganizations/Biotor.com/users/[email protected]/msp/signcerts/[email protected]
$ ./install-biotor.sh
2020-03-02 15:41:46.840 PST [bccsp] GetDefault -> DEBU 001 Before using BCCSP, please call InitFactories(). Falling back to bootBCCSP.
2020-03-02 15:41:46.850 PST [bccsp] GetDefault -> DEBU 002 Before using BCCSP, please call InitFactories(). Falling back to bootBCCSP.
2020-03-02 15:41:46.854 PST [bccsp_sw] openKeyStore -> DEBU 003 KeyStore opened at [/Users/sjain68/phf/code/three-org-network/crypto-config/peerOrganizations/Biotor.com/users/[email protected]/msp/keystore]...done
2020-03-02 15:41:46.854 PST [bccsp] initBCCSP -> DEBU 004 Initialize BCCSP [SW]
2020-03-02 15:41:46.854 PST [msp] getPemMaterialFromDir -> DEBU 005 Reading directory /Users/sjain68/phf/code/three-org-network/crypto-config/peerOrganizations/Biotor.com/users/[email protected]/msp/signcerts
2020-03-02 15:41:46.854 PST [msp] getPemMaterialFromDir -> DEBU 006 Inspecting file /Users/sjain68/phf/code/three-org-network/crypto-config/peerOrganizations/Biotor.com/users/[email protected]/msp/signcerts/[email protected]