上一页 1 ··· 197 198 199 200 201 202 203 204 205 ··· 273 下一页
摘要: 最一般化的groupby 方法是apply. 新生成一列 根据分组选出最高的5个tip_pct值 对smoker分组并应用该函数 阅读全文
posted @ 2017-09-26 14:34 bonelee 阅读(2374) 评论(0) 推荐(0)
摘要: Vim 删除不包含指定字符串的行及统计匹配个数 转载▼ Vim 删除不包含指定字符串的行及统计匹配个数 转载▼ Help :g/pattern/d 是找到pattern, 删之 :v/pattern/d 是找到非pattern, 删之 :%s/xxx//gn,统计xxx个数,n表示只报告匹配的个数而 阅读全文
posted @ 2017-09-25 20:13 bonelee 阅读(2590) 评论(0) 推荐(0)
摘要: 10 Minutes to pandas This is a short introduction to pandas, geared mainly for new users. You can see more complex recipes in the Cookbook Customarily 阅读全文
posted @ 2017-09-25 17:06 bonelee 阅读(1001) 评论(1) 推荐(0)
摘要: 让PIP源使用国内镜像,提升下载速度和安装成功率。 对于Python开发用户来讲,PIP安装软件包是家常便饭。但国外的源下载速度实在太慢,浪费时间。而且经常出现下载后安装出错问题。所以把PIP安装源替换成国内镜像,可以大幅提升下载速度,还可以提高安装成功率。 国内源: 新版ubuntu要求使用htt 阅读全文
posted @ 2017-09-25 15:41 bonelee 阅读(380) 评论(1) 推荐(0)
摘要: DNS Service Discovery is a way of using standard DNS programming interfaces, servers, and packet formats to browse the network for services. If you th 阅读全文
posted @ 2017-09-23 10:37 bonelee 阅读(1319) 评论(0) 推荐(0)
摘要: lines = ''' 1.2.2.3 1.21.29.19.... ''' cnt = {} for line in lines.split(): if line not in cnt: cnt[line] = 0 cnt[line] += 1 print cnt out = cnt.items() out.sort(lambda a,b:-cmp(a[1],b[1])) ... 阅读全文
posted @ 2017-09-22 11:20 bonelee 阅读(435) 评论(0) 推荐(0)
摘要: Vulnerability Note VU#550620 Multicast DNS (mDNS) implementations may respond to unicast queries originating outside the local link Original Release d 阅读全文
posted @ 2017-09-21 12:13 bonelee 阅读(3495) 评论(1) 推荐(0)
摘要: 威胁报告:mDNS 反射式 DDoS 攻击 转自:https://www.akamai.com/cn/zh/about/our-thinking/threat-advisories/akamai-mdns-reflection-ddos-threat-advisory.jsp 作者:Wilber M 阅读全文
posted @ 2017-09-21 12:02 bonelee 阅读(1971) 评论(0) 推荐(0)
摘要: 转自:https://www.us-cert.gov/ncas/alerts/TA14-017A ProtocolBandwidth Amplification Factor DNS 28 to 54 NTP 556.9 SNMPv2 6.3 NetBIOS 3.8 SSDP 30.8 CharGE 阅读全文
posted @ 2017-09-21 10:41 bonelee 阅读(5500) 评论(0) 推荐(0)
摘要: Open mDNS Scanning Project 来自:https://mdns.shadowserver.org/ If you are looking at this page, then more than likely, you noticed a scan coming from th 阅读全文
posted @ 2017-09-21 10:34 bonelee 阅读(1608) 评论(0) 推荐(0)
上一页 1 ··· 197 198 199 200 201 202 203 204 205 ··· 273 下一页