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
    
  
  
    
  | CREATE EXTENSION IF NOT EXISTS btree_gist; | |
| CREATE EXTENSION IF NOT EXISTS pgcrypto; -- optional, if you use SHA-256 hashes | |
| CREATE TABLE instrument_node ( | |
| instrument_id SERIAL PRIMARY KEY, | |
| name TEXT NOT NULL, | |
| type TEXT, | |
| source TEXT, | |
| legal_entity TEXT, | 
  
    
      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
    
  
  
    
  | <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <title>G6 API-Loaded Tree</title> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/antv-g6/4.8.21/g6.min.js"></script> | |
| <style> | |
| body { | |
| margin: 0; | |
| padding: 0; | 
  
    
      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
    
  
  
    
  | import java.util.*; | |
| public class GraphPathChecker { | |
| public static boolean bfs(Map<String, List<String>> graph, String start, Set<String> targets) { | |
| Queue<String> queue = new LinkedList<>(); | |
| Set<String> visited = new HashSet<>(); | |
| Set<String> found = new HashSet<>(); | |
| queue.add(start); | |
| visited.add(start); | 
  
    
      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
    
  
  
    
  | package iotaApi; | |
| import java.util.ArrayList; | |
| import java.util.List; | |
| // jota - 1.0.0-beta1 | |
| import jota.IotaAPI; | |
| import jota.dto.response.GetNewAddressResponse; | |
| import jota.dto.response.GetNodeInfoResponse; | |
| import jota.error.ArgumentException; | 
  
    
      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
    
  
  
    
  | const { composeAPI } = require('@iota/core') //1.0.0-beta.5 | |
| const { asciiToTrytes } = require('@iota/converter') //1.0.0-beta.5 | |
| const iota = composeAPI({ | |
| provider: 'https://nodes.devnet.iota.org:443' | |
| }) | |
| async function makeTx(seed, address) { | |
| const transfers = [{ | |
| address: address, | 
  
    
      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
    
  
  
    
  | pragma solidity ^0.4.0; | |
| import "github.com/oraclize/ethereum-api/oraclizeAPI.sol"; | |
| contract OraclizeAgeOfPresidentProof is usingOraclize { | |
| string public result; | |
| constructor() { | |
| oraclize_setProof(proofType_Android | proofStorage_IPFS); | |
| oraclize_setCustomGasPrice(2 * 1000000000); | |
| } | |
| function update() payable { | 
  
    
      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
    
  
  
    
  | pragma solidity ^0.4.0; | |
| contract ERC20Coin{ | |
| function totalSupply() constant returns (uint256 totalSupply); | |
| function balanceOf(address _owner) constant returns (uint256 balance); | |
| function transfer(address _to, uint256 _value) returns (bool success); | |
| function transferFrom(address _from, address _to, uint256 _value) returns (bool success); | |
| function approve(address _spender, uint256 _value) returns (bool success); | |
| function allowance(address _owner, address _spender) constant returns (uint256 remaining); | 
  
    
      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
    
  
  
    
  | 04cdcdb4ca70c49ad36dd46c770b4183753d9a00b8fa2cef548b8f40375a574a7f05083d0679ddc090012c87227a99f915b56a175dea2e047033bc5a03ab9a03af | 
  
    
      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
    
  
  
    
  | Verifying my Blockstack ID is secured with the address 1AiCWcSHLmsK9Q2yC48Jdhq5sjtvwCZwSo https://explorer.blockstack.org/address/1AiCWcSHLmsK9Q2yC48Jdhq5sjtvwCZwSo | 
  
    
      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
    
  
  
    
  | import nltk | |
| text = """The Buddha, the Godhead, resides quite as comfortably in the circuits of a digital | |
| computer or the gears of a cycle transmission as he does at the top of a mountain | |
| or in the petals of a flower. To think otherwise is to demean the Buddha...which is | |
| to demean oneself.""" | |
| # Used when tokenizing words | |
| sentence_re = r'''(?x) # set flag to allow verbose regexps | |
| ([A-Z])(\.[A-Z])+\.? # abbreviations, e.g. U.S.A. | 
NewerOlder