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 imggen | |
| import praw | |
| from datetime import datetime | |
| from userpw import * | |
| try: | |
| tickerimg = imggen.imggen() | |
| with open('pyticker.log', 'a') as f: | |
| f.write("{} - successfully created ticker image\n".format(str(datetime.now()))) | |
| except: |
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 sopel.module | |
| import time | |
| nicklist = {} | |
| paylist = {} | |
| @sopel.module.event('JOIN') | |
| @sopel.module.rule('.*') | |
| def greeting(bot, trigger): | |
| if trigger.sender == '#monero-pools' and trigger.nick != bot.nick: |
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 bitcoin.rpc | |
| import sys | |
| import binascii | |
| import bitcoin.core | |
| # import matplotlib.pyplot as plt | |
| import datetime | |
| # Setup proxy for communicating with daemon | |
| rpc = bitcoin.rpc.Proxy(btc_conf_file="PATH_TO_VERTCOIN.CONF_FILE_GOES_HERE") |
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 bitcoin.rpc | |
| import sys | |
| import binascii | |
| import bitcoin.core | |
| import matplotlib.pyplot as plt | |
| import datetime | |
| # Setup proxy for communicating with daemon | |
| rpc = bitcoin.rpc.Proxy(btc_conf_file="PATH_TO_YOUR_CONF_FILE") |
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 bitcoin.rpc | |
| import sys | |
| import binascii | |
| import bitcoin.core | |
| import matplotlib.pyplot as plt | |
| import datetime | |
| # Setup proxy for communicating with daemon | |
| rpc = bitcoin.rpc.Proxy(btc_conf_file="YOUR_CONF_FILE_LOCATION_HERE") |
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 requests as req | |
| # URL of the first page of target BTCtalk thread | |
| targetURL = "https://bitcointalk.org/index.php?topic=788916.0" | |
| # List variables used for collecting information | |
| masterList = [] | |
| tempList = [] | |
| oldTempList = [] |
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
| #!/usr/bin/env python | |
| import requests | |
| import json | |
| import re | |
| import datetime | |
| import sys | |
| import matplotlib as mpl | |
| mpl.use('Agg') | |
| import matplotlib.pyplot as plt | |
| from math import cos, sin, pi |
NewerOlder