上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 33 下一页
摘要: from: https://stackoverflow.com/questions/2115615/assigning-value-to-shell-variable-using-a-function-return-value-from-python shell 输出: “some string” 阅读全文
posted @ 2018-04-27 10:41 Go_Forward 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 使用dis模块 阅读全文
posted @ 2018-04-25 15:22 Go_Forward 阅读(193) 评论(0) 推荐(0) 编辑
摘要: 错误原因: 多个celery worker的任务重名。 阅读全文
posted @ 2018-04-25 11:40 Go_Forward 阅读(364) 评论(0) 推荐(0) 编辑
摘要: supervisor是unix like系统的进程管理工具 安装: 配置文件: 编辑配置文件supervisord.conf,取消include部分注释,修改files配置项指向的路径 创建单独的程序配置文件: 在test.conf写入下面的配置信息,可以在一个文件配置多个程序,也可以将多个程序分在 阅读全文
posted @ 2018-04-24 21:17 Go_Forward 阅读(236) 评论(0) 推荐(0) 编辑
摘要: Kafka的Message存储采用了分区(partition),分段(LogSegment)和稀疏索引这几个手段来达到了高效性 https://www.zybuluo.com/jewes/note/64450 阅读全文
posted @ 2018-04-21 15:48 Go_Forward 阅读(184) 评论(0) 推荐(0) 编辑
摘要: Config parameters that influence the log retention time. log.roll.hours # how long to produce a new log segment. log.retention.hours # delete log file 阅读全文
posted @ 2018-04-21 11:44 Go_Forward 阅读(189) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2018-04-20 11:39 Go_Forward 阅读(26) 评论(0) 推荐(0) 编辑
摘要: cut: 按列操作文本 sort: 排序 uniq: 去重,去除连续重复行 cut -d 'delimiter' -f start-end filename.txt # -d 表示分割符号,delimiter默认tab,-f指定显示那个区域,start-end可以只指定一个 sort filenam 阅读全文
posted @ 2018-04-17 15:31 Go_Forward 阅读(98) 评论(0) 推荐(0) 编辑
摘要: MySQL字符串操作: 阅读全文
posted @ 2018-04-13 15:20 Go_Forward 阅读(147) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/lsbhjshyn/article/details/51443304 阅读全文
posted @ 2018-04-04 11:29 Go_Forward 阅读(132) 评论(0) 推荐(0) 编辑
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 33 下一页