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
CREATE DATABASE artdb CHARACTER SET utf8 COLLATE utf8_bin; | |
GRANT ALL ON artdb.* TO 'USER_HERE'@'localhost' IDENTIFIED BY 'PASSWORD_HERE'; | |
GRANT ALL ON artdb.* TO 'USER_HERE'@'%' IDENTIFIED BY 'PASSWORD_HERE'; | |
FLUSH PRIVILEGES; |
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
events { | |
worker_connections 768; | |
# multi_accept on; | |
} | |
http { | |
upstream artifactory { | |
ip_hash; | |
server SERVER_IP_HERE:8081; |
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
name: "SameServerEntity Example" | |
location: localhost | |
services: | |
- type: org.apache.brooklyn.entity.software.base.SameServerEntity | |
id: parent | |
name: Parent Entity | |
children.startable.mode: background_late | |
brooklyn.children: | |
- serviceType: org.apache.brooklyn.entity.software.base.VanillaSoftwareProcess |
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
03:57:40.331 [crypto] main -> INFO 001 Log level recognized 'info', set to INFO | |
03:57:40.331 [peer] func1 -> INFO 002 Auto detected peer address: 172.17.0.2:30303 | |
03:57:40.332 [peer] func1 -> INFO 003 Auto detected peer address: 172.17.0.2:30303 | |
03:57:40.332 [peer] func1 -> INFO 004 Auto detected peer address: 172.17.0.2:30303 | |
03:57:40.333 [main] serve -> INFO 005 Security enabled status: false | |
03:57:40.333 [main] serve -> INFO 006 Privacy enabled status: false | |
03:57:40.333 [chaincode] NewChaincodeSupport -> INFO 007 Chaincode support using peerAddress: 172.17.0.2:30303 | |
03:57:40.334 [eventhub_producer] start -> INFO 008 event processor started | |
03:57:40.351 [state] loadConfig -> INFO 009 Loading configurations... | |
03:57:40.351 [state] loadConfig -> INFO 00a Configurations loaded. stateImplName=[buckettree], stateImplConfigs=map[maxGroupingAtEachLevel:%!s(int=5) bucketCacheSize:%!s(int=100) numBuckets:%!s(int=1000003)], deltaHistorySize=[500] |
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
3:58:30.093 [crypto] main -> INFO 001 Log level recognized 'info', set to INFO | |
03:58:30.094 [peer] func1 -> INFO 002 Auto detected peer address: 172.17.0.2:30303 | |
03:58:30.094 [peer] func1 -> INFO 003 Auto detected peer address: 172.17.0.2:30303 | |
03:58:30.094 [peer] func1 -> INFO 004 Auto detected peer address: 172.17.0.2:30303 | |
03:58:30.095 [main] serve -> INFO 005 Security enabled status: false | |
03:58:30.095 [main] serve -> INFO 006 Privacy enabled status: false | |
03:58:30.096 [chaincode] NewChaincodeSupport -> INFO 007 Chaincode support using peerAddress: 172.17.0.2:30303 | |
03:58:30.096 [eventhub_producer] start -> INFO 008 event processor started | |
03:58:30.110 [state] loadConfig -> INFO 009 Loading configurations... | |
03:58:30.110 [state] loadConfig -> INFO 00a Configurations loaded. stateImplName=[buckettree], stateImplConfigs=map[maxGroupingAtEachLevel:%!s(int=5) bucketCacheSize:%!s(int=100) numBuckets:%!s(int=1000003)], deltaHistorySize=[500] |
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
brooklyn.catalog: | |
version: 0.0.1 | |
items: | |
- id: rhel7 | |
itemType: location | |
item: | |
type: byon | |
brooklyn.config: | |
displayName: rhel7 | |
user: vagrant |
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
root@f70e82a29029:/go/src/github.com/hyperledger/fabric/examples/chaincode/go/asset_management/app# ./app | |
2016/06/17 05:05:13 setting Number of procs to -1, was 2 | |
2016/06/17 05:05:13 Log level recognized 'info', set to INFO | |
2016/06/17 05:05:13 Registering client [jim] with name [jim]... | |
2016/06/17 05:05:13 [client.jim] Register crypto engine... | |
2016/06/17 05:05:13 [client.jim] Register crypto engine...done. | |
2016/06/17 05:05:13 Registering client [jim] with name [jim]...done! | |
2016/06/17 05:05:13 Initializing client [jim]... | |
2016/06/17 05:05:14 Initializing client [jim]...done! | |
2016/06/17 05:05:14 Registering client [lukas] with name [lukas]... |
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
git reset --soft HEAD~N | |
git commit -m "Commit message here" | |
git push -f | |
N = the number of commits back (including head) that you will squash |
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
name: "Attribute When Ready Example" | |
location: <add-location-here> | |
services: | |
- type: org.apache.brooklyn.entity.software.base.VanillaSoftwareProcess | |
id: item-A | |
name: A | |
launch.command: | | |
echo $(date) |