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. Kill any lingering Docker processes and background daemons | |
| osascript -e 'quit app "Docker"' 2>/dev/null | |
| killall Docker 2>/dev/null | |
| # 2. Delete the main application | |
| rm -rf /Applications/Docker.app | |
| # 3. Nuke the virtual machine data, networks, caches, and application state | |
| rm -rf ~/Library/Containers/com.docker.docker | |
| rm -rf ~/Library/Containers/com.docker.helper |
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
| // check balance | |
| const blocktrail = require('blocktrail-sdk'); | |
| const client = blocktrail.BlocktrailSDK({ | |
| apiKey: '', | |
| apiSecret: '', | |
| network: 'BCC', | |
| testnet: true | |
| }); |
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
| 0x550a9aabaD84EdBd1661F969849A9BDC720cf34d |
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
| .thumbnail { | |
| margin: 5px, | |
| padding: 5px, | |
| background-color: #91969A, | |
| border-radius: 3px, | |
| min-width: 66px | |
| } | |
| .sponsored { | |
| background-color: #F9BF3B, |
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
| class Post extends React.Component { | |
| onSponsorPost(){ | |
| if(this.props.post.type === 'sponsored'){ | |
| return '#F9BF3B' //gold color | |
| } | |
| } | |
| render(){ | |
| // web |