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
import time | |
import feedparser | |
import requests | |
import telegram | |
API_KEY = 'aaaaaaaaa:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb' | |
bot = telegram.Bot(token = API_KEY) #bot을 선언합니다. | |
def get_news_article(url): |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
{ | |
"contractEtherDelta": "smart_contract/etherdelta.sol", | |
"contractToken": "smart_contract/token.sol", | |
"contractReserveToken": "smart_contract/reservetoken.sol", | |
"contractEtherDeltaAddrs": [ | |
{ "addr": "0xa6c3a3d5a0f7fc379a0800279970db68d6e9c4e6", "info": "Deployed 21/11/2018 -- THE ONTHER TEST DELTA" } | |
], | |
"ethTestnet": false, | |
"ethChainId": 35360, | |
"ethProvider": "http://112.169.69.30:58555", |
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.24; | |
/** | |
* @title SafeMath | |
* @dev Math operations with safety checks that throw on error | |
*/ | |
library SafeMath { | |
/** | |
* @dev Multiplies two numbers, throws on overflow. |
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
{"config":{"chainId":16,"homesteadBlock":0,"eip150Block":0,"eip150Hash":"0x0000000000000000000000000000000000000000000000000000000000000000","eip155Block":0,"eip158Block":0,"byzantiumBlock":0,"ethash":{}},"nonce":"0x0","timestamp":"0x0","extraData":"0x9A684a15a9e634Dabe7a1f68B6074d95AaB62298","gasLimit":"0x5f5e100","difficulty":"0x1","mixHash":"0x0000000000000000000000000000000000000000000000000000000000000000","coinbase":"0x0000000000000000000000000000000000000000","alloc":{"0000000000000000000000000000000000000001":{"balance":"0x1"},"0000000000000000000000000000000000000002":{"balance":"0x1"},"0000000000000000000000000000000000000003":{"balance":"0x1"},"0000000000000000000000000000000000000004":{"balance":"0x1"},"0000000000000000000000000000000000000005":{"balance":"0x1"},"0000000000000000000000000000000000000006":{"balance":"0x1"},"0000000000000000000000000000000000000007":{"balance":"0x1"},"0000000000000000000000000000000000000008":{"balance":"0x1"},"000000000000000000000000000000000000dead":{"code":"0x60 |
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.23; | |
contract DSMath { | |
function add(uint x, uint y) internal pure returns (uint z) { | |
require((z = x + y) >= x, "ds-math-add-overflow"); | |
} | |
function sub(uint x, uint y) internal pure returns (uint z) { | |
require((z = x - y) <= x, "ds-math-sub-underflow"); | |
} | |
function mul(uint x, uint y) internal pure returns (uint z) { |
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
// File: contracts/ERC721/ERC721Basic.sol | |
pragma solidity ^0.4.18; | |
/** | |
* @title ERC721 Non-Fungible Token Standard basic interface | |
* @dev see https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md | |
*/ | |
contract ERC721Basic { |
OlderNewer