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
#!/Library/Frameworks/Python.framework/Versions/3.6/bin/python3 | |
import argparse | |
import os | |
def _script_path(): | |
return os.path.dirname(os.path.realpath(__file__)) | |
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 urllib2 | |
import re | |
import os | |
import sys | |
import shutil | |
from BeautifulSoup import BeautifulSoup | |
import subprocess as sp | |
SUBLIME_BASE = 'http://www.sublimetext.com/' |
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 tornado.ioloop | |
import tornado.web | |
import pika | |
import logging | |
from pika.adapters.tornado_connection import TornadoConnection | |
TORNADO_PORT = 8889 | |
RMQ_USER = 'user' | |
RMQ_PWD = 'password' |