上一页 1 ··· 72 73 74 75 76 77 78 79 80 ··· 87 下一页

java学习笔记2

摘要: 参考文献:https://www.icourse163.org/learn/CCIT-1001754283?tid=1003294008#/learn/content?type=detail&id=1004633250&cid=1005845377&replay=true java home的值为j 阅读全文
posted @ 2019-02-16 17:07 我和你并没有不同 阅读(160) 评论(0) 推荐(0)

redis 初探

摘要: 防止链接超时:conn = redis.Redis(host=self.settings['REDIS_HOST'], port=self.settings['REDIS_PORT'], health_check_interval=30) 下载地址:https://github.com/Servic 阅读全文
posted @ 2019-02-12 17:05 我和你并没有不同 阅读(247) 评论(0) 推荐(0)

单元测试

摘要: 运行单元测试用例:python -m unittest discover覆盖率:coverage run -m unittest discover coverage report 阅读全文
posted @ 2019-01-24 20:36 我和你并没有不同 阅读(144) 评论(0) 推荐(0)

python gdb

摘要: 参考资料: https://wiki.python.org/moin/DebuggingWithGdb https://blog.csdn.net/Gamish/article/details/81632862 1 安装:sudo apt-get install gdb python2.7-dbg 阅读全文
posted @ 2019-01-05 17:48 我和你并没有不同 阅读(2603) 评论(0) 推荐(0)

圣诞树

摘要: #!/bin/bash trap "tput reset; tput cnorm; exit" 2 clear tput civis lin=2 col=$(($(tput cols) / 2)) c=$((col-1)) est=$((c-2)) color=0 tput setaf 2; tput bold # Tree for ((i=1; i<20; i+=2)) { tput... 阅读全文
posted @ 2018-12-25 19:26 我和你并没有不同 阅读(214) 评论(0) 推荐(0)

网络是怎样连接的 读书笔记

摘要: 一、对路由表的介绍 1、例如, TCP 模块告知的目标 IP 地址为 192.168.1.21, 那么就对应图 2.18 中的第 6 行, 因为它和 192.168.1 的部分相匹配。 如果目标 IP 地址为 10.10.1.166, 那么就和 10.10.1 的部分相匹配, 所以对应第 3 行。 阅读全文
posted @ 2018-12-20 20:19 我和你并没有不同 阅读(378) 评论(0) 推荐(0)

IO密集型 计算密集型

摘要: 参考:https://www.cnblogs.com/zhangyux/p/6195860.html 参考:廖雪峰 协程 gevent IO密集型任务指的是磁盘IO或者网络IO占主要的任务,计算量很小,比如请求网页,读写文件等。 读写文件,socker receive/send 计算密集型任务指的是 阅读全文
posted @ 2018-12-18 19:24 我和你并没有不同 阅读(1532) 评论(0) 推荐(0)

python 编码

摘要: 文本中出现的一些特殊符号超出了gbk的编码范围,可以选择编码范围更广的‘gb18030’去解码。encoding='gb2312'改成encoding='gbk'或encoding='gb18030' Unicode 是「字符集」UTF-8 是「编码规则」Unicode本身只规定了每个字符的数字编号 阅读全文
posted @ 2018-12-08 12:10 我和你并没有不同 阅读(251) 评论(0) 推荐(0)

kafka实战读书笔记

摘要: 1、katka_2.12-l.0.0.tgz 上面两个文件中的 2.11 /2.12 分别表示编译 Kafka 的 Scala 语言版本,后面的 1.0 .0 是 Kafka的版本 。 2、kafka的好多脚本,如kafka-console-producer.sh 如果不加任何参数直接运行它们,则会 阅读全文
posted @ 2018-12-05 21:30 我和你并没有不同 阅读(380) 评论(0) 推荐(0)

mongodb 数组查询

摘要: 转发自:https://blog.csdn.net/leshami/article/details/55049891 一、演示环境及数据> db.version() 3.2.11 > db.users.insertMany( [ { _id: 1, name: "sue", age: 19, typ 阅读全文
posted @ 2018-12-05 21:10 我和你并没有不同 阅读(4860) 评论(3) 推荐(1)
上一页 1 ··· 72 73 74 75 76 77 78 79 80 ··· 87 下一页