摘要: 网络可以使用flannel,或者openvswitch[universal system visibility tool with native support for containers][1][CoreOS Fest 系列之第二篇: Systemd、Go、Calico、Sysdig][2][监控微服务的五原则][3][Spring-cloud项目实践][4][Spring Cloud集成相关... 阅读全文
posted @ 2017-04-23 22:17 白云辉 阅读(1709) 评论(0) 推荐(0) 编辑
摘要: >你知道什么是中缀语法吗?你知道python中的中缀操作是什么吗?那你知道操作python也是可以像unix的管道符一样方便吗?那么,废话不说了,直接上代码。```pythonclass Pipe(object): def __init__(self, function): self.function = function def __ror__(self, other): ... 阅读全文
posted @ 2017-04-23 22:13 白云辉 阅读(237) 评论(0) 推荐(0) 编辑
摘要: ## ROC 1. ROC(Receiver Operating Characteristic Curve):接受者操作特征曲线。2. ROC曲线及AUC系数主要用来检验模型对客户进行正确排序的能力。3. ROC曲线描述了在一定累计好客户比例下的累计坏客户的比例,模型的分别能力越强,ROC曲线越往左上角靠近。4. AUC系数表示ROC曲线下方的面积。5. AUC系数越高,模型的风险区分能力越强。6... 阅读全文
posted @ 2017-04-23 22:07 白云辉 阅读(4066) 评论(0) 推荐(0) 编辑
摘要: ## server```# -*- coding: utf-8 -*-import loggingimport sslimport msgpackimport nsqfrom tornado.ioloop import IOLooplog = logging.getLogger(__name__)import redisclass RPCServer(object): def __init_... 阅读全文
posted @ 2017-04-20 15:44 白云辉 阅读(858) 评论(0) 推荐(0) 编辑
摘要: ## mail1. [yagmail makes sending emails very easy by doing all the magic for you ](https://github.com/kootenpv/yagmail#no-more-password-and-username)## Cms1. [A Blog Cms backed by Tornado-web in Pytho... 阅读全文
posted @ 2017-03-31 15:58 白云辉 阅读(346) 评论(0) 推荐(0) 编辑
摘要: 标签(空格分隔): python leveldb 阅读全文
posted @ 2017-03-16 00:53 白云辉 阅读(5365) 评论(0) 推荐(0) 编辑
摘要: firefox 插件 NetVideoHunter AutoPager Add to reading list Noosfeer DownThemAll Firebug Flagfox FoxyProxy Standard FoxySpider Xmarks OneTab UnMHT Read Ha 阅读全文
posted @ 2017-03-16 00:52 白云辉 阅读(299) 评论(0) 推荐(0) 编辑
摘要: # Markdown syntax guide and writing on MWeb| eee | hhh | hh || :-: | :-: | :-: || hhh | hh | hh |1. dddd2. dddd3. `dddd`4. ## Philosophy> Markdown is intended to be as easy-to-read and easy-to-write a... 阅读全文
posted @ 2017-02-13 23:01 白云辉 阅读(311) 评论(0) 推荐(0) 编辑
摘要: 类注释模板: :: class AnotherClass: """ 类注释 """ def method(self, arg1, arg2, ...): """ 方法简要说明 Args: arg1: 对参数1的说明 arg2: 对参数2的说明 Time: 方法的算法时间复杂度 Returns: 返回 阅读全文
posted @ 2016-06-25 21:36 白云辉 阅读(264) 评论(0) 推荐(0) 编辑
摘要: UNICODE,GBK,UTF 8区别 简单来说,unicode,gbk和大五码就是编码的值,而utf 8,uft 16之类就是这个值的表现形式.而前面那三种编码是一兼容的,同一个汉字,那三个码值是完全不一样的.如"汉"的uncode值与gbk就是不一样的,假设uncode为a040,gbk为b03 阅读全文
posted @ 2016-04-11 23:06 白云辉 阅读(335) 评论(0) 推荐(0) 编辑