Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| [ | |
| { | |
| "position": { | |
| "lat": 61.21759217, | |
| "lng": -149.8935557 | |
| }, | |
| "name": "Starbucks - AK - Anchorage 00001", | |
| "address": "601 West Street_601 West 5th Avenue_Anchorage, Alaska 99501", | |
| "phone": "907-277-2477" | |
| }, |
| // To configure new ERC721 assets | |
| async displayBlueprint() { | |
| const cert = new Cert({ | |
| schema: schema88 | |
| }) | |
| const asset = { | |
| description: 'A lighthouse watercolor picture', | |
| image: 'https://upload.wikimedia.org/wikipedia/commons/a/a3/Taran_Lighthouse_Kalinigrad_Oblast_Tatiana_Yagunova_Watercolor_painting.jpg', | |
| name: 'Lighthouse Watercolor' | |
| } |
| <!-- START OF FACEBOOK PLIST ENTRIES HERE --> | |
| <key>FacebookAppID</key> | |
| <string>1234567891234567</string> | |
| <key>FacebookDisplayName</key> | |
| <string>Auth Demo</string> | |
| <key>LSApplicationQueriesSchemes</key> | |
| <array> | |
| <string>fbapi</string> | |
| <string>fb-messenger-share-api</string> | |
| <string>fbauth2</string> |
| import UIKit | |
| import AWSMobileClient | |
| class ViewController: UIViewController { | |
| override func viewDidLoad() { | |
| super.viewDidLoad() | |
| initializeAWSMobileClient() // Initialize the AWSMobileClient | |
| } |
| pragma solidity ^0.4.6; | |
| contract Splitter { | |
| mapping(address => uint) public balances; | |
| function unsafeSplit(address address1, address address2) | |
| public | |
| payable | |
| returns(bool success) |
| #!/bin/bash | |
| # Credit to David Walsh for the original script <https://davidwalsh.name/bitcoin> | |
| # The improved version of David's script doesn't go back to prompt. It keeps refreshing the prices every 5 seconds. | |
| # Prices are in USD, EUR & GBP (in real time) | |
| # curl must be installed in terminal | |
| clear | |
| echo "Coindesk BTC: " | |
| echo " USD EUR GBP " | |
| while [ 1 ] |
| //Most, basic default, standardised Token contract. | |
| //Based on standardised APIs & slightly extended. https://github.com/ethereum/wiki/wiki/Standardized_Contract_APIs | |
| //adds AddressApproval & AddressApprovalOnce events | |
| //approve & approveOnce works on premise that approved always takes precedence. | |
| //adds unapprove to basic coin interface. | |
| contract Coin { | |
| function sendCoin(uint _value, address _to) returns (bool _success) {} | |
| function sendCoinFrom(address _from, uint _value, address _to) returns (bool _success) {} | |
| function coinBalance() constant returns (uint _r) {} |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| image: node:argon | |
| before_script: | |
| - apt-get -qq update | |
| - apt-get -qq install -y python2.7 python2.7-dev build-essential make gcc g++ libicu-dev | |
| - npm -g install npm --silent | |
| - "echo -e \"export default {CLIENT_ID: '$CLIENT_ID'}\" > app/scripts/settings.js" | |
| - npm set progress=false | |
| - npm install --silent |