postgre

摘要: 删除数据库:dropdb -h 172.31.3.79 -p 5432 -U postgres zcy_test while read line; do echo $line cmd="SELECT pg_terminate_backend($line);" psql -h 172.31.3.79 阅读全文
posted @ 2018-03-23 13:08 我和你并没有不同 阅读(574) 评论(0) 推荐(0)

彻底卸载tv

摘要: 1、卸载 2、C:\Program Files (x86),找到teamviewer选项,右击删除 3、开始--输入regedit,打开注册表,找到如下路径:HKEY_LOCAL_MACHINE\SOFEWARE\Wow6432Node\TeamViewer,右击删除 4、运行,输入输入%appda 阅读全文
posted @ 2018-03-17 08:37 我和你并没有不同 阅读(668) 评论(0) 推荐(0)

airflow 实战

摘要: def print_hello(*a,**b): print a print " " print b print 'Hello world!' raise ValueError("pre_paths or find_svr is null") return {"hello":"Hello world 阅读全文
posted @ 2018-03-08 20:18 我和你并没有不同 阅读(1051) 评论(0) 推荐(0)

python 常见异常

摘要: 上面是查看异常的类型 ,知道了异常的类型,才知道怎么捕获这种异常 AttributeError 不存在属性 IoError 输入或输出异常 ImportError 无法引入模块或包。(一般是路径问题或模块名称有误) IndentationError 语法错误(SyntaxError子类),一般是代码 阅读全文
posted @ 2018-03-04 21:19 我和你并没有不同 阅读(156) 评论(0) 推荐(0)

oplog

摘要: 参考资料:https://www.cnblogs.com/ruizhang3/p/6539730.html http://www.jb51.net/article/113432.htm :insert Raw data {u'h': 0L, u'ts': Timestamp(1519780847, 阅读全文
posted @ 2018-02-28 10:38 我和你并没有不同 阅读(242) 评论(0) 推荐(0)

airflow笔记

摘要: 官网:http://airflow.incubator.apache.org/project.html Here we pass a string that defines the dag_id, which serves as a unique identifier for your DAG. T 阅读全文
posted @ 2018-02-27 17:29 我和你并没有不同 阅读(656) 评论(0) 推荐(0)

airflow

摘要: 教程:https://airflow.apache.org/docs/stable/index.html 官网: http://airflow.incubator.apache.org/index.html airflow源码:https://github.com/apache/incubator- 阅读全文
posted @ 2018-02-07 16:05 我和你并没有不同 阅读(9264) 评论(0) 推荐(1)

grpc protobuf

摘要: rpc和http的比较: http://www.ccutu.com/244407.html http通信时带报文头,增加了传输成本 RPC主要是基于TCP/IP协议的,而HTTP服务主要是基于HTTP协议的【HTTP是应用层协议,而TCP是传输层协议,HTTP协议是在传输层协议TCP之上的,所以效率 阅读全文
posted @ 2018-02-01 13:42 我和你并没有不同 阅读(301) 评论(0) 推荐(0)

modbus

摘要: 《MODBUS通讯协议中文版.pdf》 RS485是一个物理接口,简单的说是硬件。 MODBUS是一种国际标准的通讯协议,用于不同厂商之间的设备交换数据(一般是工业用途);所谓协议,也可以理解为上面有人说的“语言”吧,简单的说是软件。 MODBUS协议又分MODBUS RTU,MODBUS ASCI 阅读全文
posted @ 2017-12-31 17:58 我和你并没有不同 阅读(3138) 评论(0) 推荐(0)

Kafka无法外网访问问题

该文被密码保护。 阅读全文
posted @ 2017-12-17 10:04 我和你并没有不同 阅读(5) 评论(0) 推荐(0)