![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
物联网 之路........
0914_h
The future has arrived. It commences now.
展开
-
Nginx配置文件详细说明,包括基本配置,反向代理配置,expire缓存过期,适合接入CDN的配置
更多DNS地址欢迎访问:http://www.dnsdizhi.com/Nginx服务器nginx.conf的配置文件的详细说明, 包括nginx基本配置,负载均衡、反向代理、正则匹配、location、ReWrite语法、301及302 Redirect重定向配置、防盗链、浏览器缓存过期时间expire(max-age)、nginx相关的全局变量。读本文基本可以完成nginx基本配置,反向代转载 2018-01-09 11:19:31 · 1530 阅读 · 0 评论 -
Python3.6之datatime模块
1、Django DB API 要实现数据库,保存日期“1970-01-01 00:00:00”方法:2、原创 2018-02-28 11:30:08 · 553 阅读 · 0 评论 -
【MQTT】在Windows下搭建MQTT服务器
1、参考:https://blog.csdn.net/yannanxiu/article/details/52703946另外可参考:https://blog.csdn.net/itas109/article/details/78873257https://blog.csdn.net/qq_29350001/article/details/77062310MQTT简介MQ 遥测传输 (MQTT) ...转载 2018-04-10 18:07:42 · 12475 阅读 · 1 评论 -
paho-mqtt 文档翻译
转自:http://blog.51cto.com/olivetree/1621128Getting StartedHere is a very simple example that subscribes to the broker $SYS topic tree and prints out the resulting messages:import paho.mqtt.client as mq...转载 2018-04-10 22:00:38 · 473 阅读 · 0 评论 -
RabbitMQ(part5基于模式接收消息(主题))----Topic exchange
主题交换机:可以订阅基于严重程度的日志,同时也可订阅基于发送来源的日志。Unix 工具 syslog 就是同时基于严重程度 -severity (info/warn/crit...) 和 设备 -facility ( auth / cron / kern ...)来路由日志的。下面我们要实现:既可以监听来源于 “cron” 的严重程度为 “critical errors” 的日志,也可以监听来源于...原创 2018-04-03 20:50:42 · 238 阅读 · 0 评论 -
RabbitMQ(part6请求/回复模式示例)----Remote procedure call (RPC)
需要将一个函数运行在远程计算机上并且等待从那儿获取结果时,该怎么办呢?这种模式通常被称为远程程序调用(Remote Procedure Call)或者RPC。使用RabbitMQ来构建一个RPC系统:包含一个客户端和一个RPC服务器。一、远程过程调用:Putting it all togetherThe code for rpc_server.py:#-*- coding:utf-8 –*-#!...原创 2018-04-03 22:36:11 · 463 阅读 · 0 评论