- Create
docker-compose.yamlandup.shon your computer - Make
up.shexecutable (chmod +x ip.sh) - Run
./up.sh
You can force pre-approval of proposals commenting/uncommenting variables in the section
environment:
- allowTvmTransferTrc10=1
| // Embedded in this article https://medium.com/p/c98e491015b6 | |
| package main | |
| import ( | |
| "context" | |
| "fmt" | |
| "log" | |
| "net/http" | |
| "time" |
| pragma solidity ^0.4.16; | |
| contract Token { | |
| bytes32 public standard; | |
| bytes32 public name; | |
| bytes32 public symbol; | |
| uint256 public totalSupply; | |
| uint8 public decimals; | |
| bool public allowTransactions; | |
| mapping (address => uint256) public balanceOf; |
| var StellarSdk = require('stellar-sdk'); | |
| StellarSdk.Network.useTestNetwork(); | |
| var server = new StellarSdk.Server('https://horizon-testnet.stellar.org'); | |
| var sourceAccountPair = StellarSdk.Keypair.random(); | |
| var destAccountPair = StellarSdk.Keypair.random(); | |
| var astroDollar1 = new StellarSdk.Asset('AstroDollar1', sourceAccountPair.publicKey()); |
Here is a high level overview for what you need to do to get most of an Android environment setup and maintained.
Prerequisites (for Homebrew at a minimum, lots of other tools need these too):
xcode-select --install will prompt up a dialog)Install Homebrew:
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
| require 'net/http' | |
| require 'json' | |
| require 'uri' | |
| @token = '' | |
| def list_files | |
| ts_to = (Time.now - 30 * 24 * 60 * 60).to_i # 30 days ago | |
| params = { | |
| token: @token, |
| var AWS = require('aws-sdk'); | |
| AWS.config.update({ | |
| accessKeyId: '{AWS_KEY}', | |
| secretAccessKey: '{AWS_SECRET}', | |
| region: '{SNS_REGION}' | |
| }); | |
| var sns = new AWS.SNS(); |
| require "open3" | |
| # Helper for calling mongoimport utility | |
| module MongoImport | |
| include KoanHealth::Logging | |
| MONGO_IMPORT_BIN = 'mongoimport' | |
| DEFAULT_OPTIONS = { | |
| format: :json, | |
| header: false, |
| describe('e2e: main', function() { | |
| var ptor; | |
| beforeEach(function() { | |
| browser.get('/'); | |
| ptor = protractor.getInstance(); | |
| }); | |
| it('should load the home page', function() { |