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 zmq | |
from time import sleep | |
from random import random | |
from json import loads, dumps | |
HUB_ADDR = 'tcp://127.0.0.1:5555' | |
DEALER_ADDR = 'tcp://127.0.0.1:5566' | |
import sys |
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 zmq | |
from json import loads, dumps | |
HUB_ADDR = 'tcp://*:5555' | |
DEALER_ADDR = 'tcp://*:5566' | |
def main(): | |
num = 1 | |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>{% block title %}{% endblock %}</title> | |
{% block styles %} | |
<link rel="icon" href="{{cdn}}/img/icon/favicon.ico" type="image/x-icon" /> | |
<link rel="Shortcut Icon" href="{{cdn}}/img/icon/favicon.ico" /> | |
<link href="{{cdn}}/css/blueprint.css" media="all" rel="stylesheet" type="text/css" /> | |
<link href="{{cdn}}/css/default.css" media="all" rel="stylesheet" type="text/css" /> | |
{% endblock %} |
NewerOlder