This file contains 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
'AgAAAMoKAAAGAAUAAAAAAD3bM4vVLuMUsB8eTh6E6KrwaJhRLRrLX4Wsx605xqG6AgL/////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAAAAAAAAAHAAAAAAAAALf/n7t67HS3D0tCVcfALzD48K1EtX7EY9UJIs2WWBbxAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACD1xnnferKFHD2uvYqTXdDA8iZ22kCD5xw7h38CMfOngAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAxMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExqAIAADhhTXkcvT0vrGDp19rY1/khZlBLIxE444xgHp4PjiNNasS8PZjHmIYzOEKUZVBbmQDK0zY6SLy8+CogJByLucs8pC+sxfy4g4xegRngKX0Z2GKo1mFHkIjyr2+yg2K2v5aAdpKR1Yk96IZrIt4BOR9gILAetL5MZsXunhLQD5K7fK3EMiZaNvu7U5GCFd+xQZw3D5L9pQCcK08j5vn3b38IpvUi4AXX43+/nTA/Km5raEGXxoKz2r6iGGFwC5vZm+pAvDt23AVXKgZkmw1VNkXKRYZIzu05sd2iTOPkbqb4j3+DZB679Rg/Rl2C42SGd3uVn0ENM42hyNJ94K0nvSubHX5NWWQlm+CMAoM9m7jc7Q1U6RAmQVyB6kOPuuzpDOq7q+aUKzimd8LLwGgBAAD8zumTeS/hpnBfj7aS4W/imW1Tz5LWoIfNsaz |
This file contains 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
//#include <string.h> | |
//#include <assert.h> | |
// | |
//#include <unistd.h> | |
//#include <pwd.h> | |
//#include <libgen.h> | |
//#include <stdlib.h> | |
// | |
//# define MAX_PATH FILENAME_MAX | |
// |
This file contains 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
var _tokenAddress = /* var of type address here */ ; | |
// the ABI inserted into contract() function | |
var recoverablemarketplaceContract = web3.eth.contract([{"constant":true,"inputs":[{"name":"_dataSourceName","type":"bytes32"}],"name":"isActiveDataSource","outputs":[{"name":"isActive","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"mBegin","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_index","type":"uint256"}],"name":"getNameAt","outputs":[{"name":"_dataSourceName","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_dataSourceName","type":"bytes32"},{"name":"_index","type":"uint256"}],"name":"refundSubscriberAt","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"FIXED_SUBSCRIPTION_PERIOD","outputs" |
This file contains 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
var _tokenAddress = /* var of type address here */ ; | |
// the ABI injected into contract() function | |
var marketplaceContract = web3.eth.contract([{"constant":true,"inputs":[{"name":"_dataSourceName","type":"bytes32"}],"name":"isActiveDataSource","outputs":[{"name":"isActive","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"mBegin","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"FIXED_SUBSCRIPTION_PERIOD","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_dataSourceName","type":"bytes32"},{"name":"_isPunished","type":"bool"}],"name":"setPunishProvider","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_dataSourceName","type":"bytes32"}],"name":"getDataProviderInfo","outputs":[{"na |
This file contains 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
#https://medium.com/@o.kroeger/tensorflow-mnist-and-your-own-handwritten-digits-4d1cd32bbab4 | |
import numpy as np | |
import glob | |
import os | |
import cv2 | |
import math | |
from scipy import ndimage | |
class ImageHandler(object): | |
def _init_(self): |
This file contains 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
var _tokenAddress = /* var of type address here */ ; | |
var recoverablemarketplaceContract = web3.eth.contract([{"constant":true,"inputs":[{"name":"_dataSourceName","type":"bytes32"}],"name":"isActiveDataSource","outputs":[{"name":"isActive","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"mBegin","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_index","type":"uint256"}],"name":"getNameAt","outputs":[{"name":"_dataSourceName","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_dataSourceName","type":"bytes32"},{"name":"_index","type":"uint256"}],"name":"refundSubscriberAt","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"FIXED_SUBSCRIPTION_PERIOD","outputs":[{"name":"","type":"uint256"}],"payable":fal |
This file contains 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;//please import oraclizeAPI_pre0.4.sol when solidity < 0.4.0 | |
contract OraclizeI { | |
address public cbAddress; | |
function query(uint _timestamp, string _datasource, string _arg) payable returns (bytes32 _id); | |
function query_withGasLimit(uint _timestamp, string _datasource, string _arg, uint _gaslimit) payable returns (bytes32 _id); | |
function query2(uint _timestamp, string _datasource, string _arg1, string _arg2) payable returns (bytes32 _id); | |
function query2_withGasLimit(uint _timestamp, string _datasource, string _arg1, string _arg2, uint _gaslimit) payable returns (bytes32 _id); | |
function getPrice(string _datasource) returns (uint _dsprice); | |
function getPrice(string _datasource, uint gaslimit) returns (uint _dsprice); |
This file contains 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
[ | |
{ | |
"id": 1, | |
"group": 6, | |
"address": "0xfbb1b73c4f0bda4f67dca266ce6ef42f520fbb98", | |
"ether": "743582.7228472139", | |
"type": "exchange", | |
"outTX": 4716169 | |
}, | |
{ |
This file contains 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
{ | |
"nodes":[ | |
{ | |
"name":"0xfbb1b73c4f0bda4f67dca266ce6ef42f520fbb98", | |
"group":6 | |
}, | |
{ | |
"name":"0x32be343b94f860124dc4fee278fdcbd38c102d88", | |
"group":6 | |
}, |
This file contains 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
{"nodes":[{"address":"0x32be343b94f860124dc4fee278fdcbd38c102d88","type":"exchange","ether":"31200.395874066955","outTX":1142008,"is_valid_address":true},{"address":"0xfbb1b73c4f0bda4f67dca266ce6ef42 | |
f520fbb98","type":"exchange","ether":"741231.2171651638","outTX":4707609,"is_valid_address":true},{"address":"0x0607B0c8cF73D916b3EF1463bb6fB9f19e9D5D98","type":"user","ether":"1.3511024323593201","outTX":6,"i | |
s_valid_address":true}],"edges":[{"from":"0x32be343b94f860124dc4fee278fdcbd38c102d88","to":"0xfbb1b73c4f0bda4f67dca266ce6ef42f520fbb98","value":"0.0000000000000000049900000000000004","time":"Invalid date"},{"f | |
rom":"0x32be343b94f860124dc4fee278fdcbd38c102d88","to":"0xfbb1b73c4f0bda4f67dca266ce6ef42f520fbb98","value":"0.00000000000000007582800001000001","time":"Invalid date"},{"from":"0xfbb1b73c4f0bda4f67dca266ce6ef4 | |
2f520fbb98","to":"0x4fdaebe9eac15eb5bc0170f6a36f19eaed75d8ef","value":"0.000000000000000069","time":"Invalid date"},{"from":"0x32be343b94f860124dc4fee278fdcbd38c102d88","to":"0xfbb1b73c4f0bda4f6 |