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
| data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfQAAADICAYAAAAeGRPoAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACXBIWXMAAAsPAAALDwGS+QOlAAABWWlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS40LjAiPgogICA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPgogICAgICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgICAgICAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyI+CiAgICAgICAgIDx0aWZmOk9yaWVudGF0aW9uPjE8L3RpZmY6T3JpZW50YXRpb24+CiAgICAgIDwvcmRmOkRlc2NyaXB0aW9uPgogICA8L3JkZjpSREY+CjwveDp4bXBtZXRhPgpMwidZAABAAElEQVR4Ae2dCdxc093HT21Nq0GqRWtJYmmpJUErTZREUKpRS1FthDd2EiXUEmuF0hJL7KVij722KqoiSpV6RWyhiLUvDdLUVku18/6/Z3quO/PMPvfO3Jnn9/985rnzzNx7lu89c8/2X5yTiIAIiIAIiIAIiIAIiIAIiIAIiIAIiIAIiIAIiIAIiIAIiIAIiIAIiIAIiIAIiIAIiIAIiIAIiIAIiIAIiIAIiIAIiIAIiIAIiIAIiIAIiIAIiIAIiIAIiIAIiMAnBD4V3uZMwnsdRUAEREAEREAEOovAAp1VXJVWBERABERABESgFAF16KWo6DMREAEREAER6DAC6tA77IapuCIgAiIgAiJQioA69FJU9J |
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
| data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABi8AAAFGCAYAAAASHgzJAAAgAElEQVR4Xuy9C/x+WVnQ+2QqpuAcvKSiMmFeyNuEWNERnUNZHk2aOEcQtJrI1PA2UWZ1rDh4zKxUIo0MTcROatBxICxRq1FTOxY6gZcjqE0oaWRJoiYpMefznf9+mDXvvJf9vu++rLX2d30+7+f3//9+e6+91vdZ716X5/YbwiIBCUhAAhKQgAQkIAEJSEACEpCABC4n8Nsj4qbh9ldGxH+9vCrvlIAEJCABCUhAAjcI/AZBSEACEpCABCQgAQlIQAISkIAEJCCBEwRQUNwSEb8lIvh3/jx023dFxL+NiJdExHdLVwISkIAEJCABCZxLQOXFucS8XgISkIAEJCABCUhAAhKQgAQk0DcBFBO3DkoKFBX/y053UUb8++HDn1BUZOHaVGyg7KDgiYES47mDQqNvevZOAhKQgAQkIIFJCKi8mASjlUhAAhKQgAQkIAEJSEACEpCABJok8D8NSgoUDSge+PA7ymsHxQQeFCgr8ufYjqLE+EMR8ccGrw3uox4UGS9UkTEWo9dJQAISkIAEtklA5cU25W6vJSABCUhAAhKQgAQkIAEJSGCbBFBM4FXx1Ih49OAlkcoKPCoy3BM/p8xdgQfHnxqUGZkfA2XI10fESwsvjm1KxV5LQAISkIAEJPAgAiovHBQSkIAEJCABCUhAAhKQgAQkIIF+CaCYwKsCD4gyBNR/i4gXF8oKFAlLFNqT3hgoUbJkfgwUGUu1ZYn++gwJSEACEpCABC4koPLiQnDeJgEJSEACEpCABCQgAQlIQAISqJBAelZkCCgUFpRfHBQVeFSkd8XazSesFCGl+NxcNIbQUrTxlYNnxpQeIGv32edLQAISkIAEJDCSgMqLkaC8TAISkIAEJCABCUhAAhKQgAQkUCkBFBS3FTkrspl4MdSkrDiGjz6gxMAro1RkkBuD31skIAEJSEACEtgYAZUXGxO43ZWABC |
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
| if [ -z "$(npm view |grep $(node -p "require('./package.json').version"))" ]; then exit 0; else echo "Version already exist."; exit 1; fi |
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
| declare -A REPOS | |
| GITLAB_URL=${1:-https://gitlab.example.com} | |
| TARGET=${2:-master} | |
| REPOS[admin]=8 | |
| REPOS[api]=9 | |
| REPOS[application]=31 | |
| REPOS[auth]=15 | |
| REPOS[cardstore]=27 |
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
| composer-admin@0.16.2 /app/node_modules/composer-admin | |
| composer-common@0.16.2 /app/node_modules/composer-common | |
| acorn@5.1.2 /app/node_modules/acorn | |
| browserfs@1.1.0 /app/node_modules/browserfs | |
| async@2.6.0 /app/node_modules/browserfs/node_modules/async | |
| lodash@4.17.4 /app/node_modules/lodash | |
| pako@1.0.6 /app/node_modules/pako | |
| commander@2.9.0 /app/node_modules/composer-common/node_modules/commander | |
| graceful-readlink@1.0.1 /app/node_modules/graceful-readlink | |
| comment-parser@0.4.0 /app/node_modules/comment-parser |
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
| 1 ifconfig | |
| 2 sudo apt update | |
| 3 sudo apt install openssh-server | |
| 4 ifconfig | |
| 5 sudo shutdown now | |
| 6 curl -O https://hyperledger.github.io/composer/prereqs-ubuntu.sh | |
| 7 chmod u+x prereqs-ubuntu.sh | |
| 8 ./prereqs-ubuntu.sh | |
| 9 logout | |
| 10 ifconfig |
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
| 2018-02-01 20:35:01.133 UTC [chaincode] getArgsAndEnv -> DEBU 592 Executable is chaincode | |
| 2018-02-01 20:35:01.133 UTC [chaincode] getArgsAndEnv -> DEBU 593 Args [chaincode -peer.address=peer0.org.healthchain.ca:7052] | |
| 2018-02-01 20:35:01.133 UTC [chaincode] launchAndWaitForRegister -> DEBU 594 start container: healthchain-prescription:0.16.2( | |
| networkid:dev,peerid:peer0.org.healthchain.ca) | |
| 2018-02-01 20:35:01.133 UTC [chaincode] launchAndWaitForRegister -> DEBU 595 start container with args: chaincode -peer.addres | |
| s=peer0.org.healthchain.ca:7052 | |
| 2018-02-01 20:35:01.133 UTC [chaincode] launchAndWaitForRegister -> DEBU 596 start container with env: | |
| CORE_CHAINCODE_ID_NAME=healthchain-prescription:0.16.2 | |
| CORE_PEER_TLS_ENABLED=true | |
| CORE_CHAINCODE_LOGGING_LEVEL=DEBUG |
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/bash | |
| apt-get update > /dev/null | |
| apt-get upgrade -y > /dev/null | |
| apt-get autoremove -y | |
| apt-get autoclean -y | |
| apt-get install denyhosts -y | |
| # Configure firewall | |
| ufw default deny incoming |
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
| sqlite3 $(sudo find /private/var/folders -name com.apple.dock.launchpad)/db/db "DELETE FROM apps WHERE title='App Name';" && killall Dock |
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
| <?php | |
| /* | |
| * | |
| * | |
| Write a function in PHP, named printList, that takes 2 parameters (only!): a string, and a nested array. | |
| The function will generate a string with the value of each element on a separate line. | |
| The value will be preceded by the string and also indicate the position and index within the array. | |
| ie. |
NewerOlder