KEEP CODING 代码改变世界 20180909 解析JS Cookie的设置,获取和检索 引用: JavaScript Cookie - by runoob.com Cookie是储存在电脑文本文件中的数据,用于保存访问者的信息,并可以在下次打开页面时引用。 页面在设置/引用访问者信息时,需 ...
分类:
其他好文 时间:
2019-11-24 12:05:55
阅读次数:
92
DataFrame.duplicated(self, subset=None, keep='first') Return boolean Series denoting duplicate rows, optionally only considering certain columns. Para ...
分类:
其他好文 时间:
2019-11-23 00:00:36
阅读次数:
101
Series.duplicated(self, keep='first') Indicate duplicate Series values. Duplicated values are indicated as True values in the resulting Series. Either ...
分类:
其他好文 时间:
2019-11-22 23:42:46
阅读次数:
118
DataFrame.drop_duplicates(self, subset=None, keep='first', inplace=False) Return DataFrame with duplicate rows removed, optionally only considering ce ...
分类:
其他好文 时间:
2019-11-22 22:11:05
阅读次数:
83
注释作用
添加一些代码说明,用于自己或者其他程序员阅读。这些代码不会被编译器编译
注释的方式
很多语言类型C++常用的注释有两种,单行注释和多行注释
单行://注释内容,写在此行代码上面或者末尾
多行:/*注释内容*/ ...
分类:
编程语言 时间:
2019-11-21 13:54:05
阅读次数:
134
1. Install nginx 2. Edit nginx.conf nginx-http-flv-module-1.2.7/test/nginx.conf Reference example: 3. Startup nginx /usr/local/nginx/sbin/nginx -c /us ...
分类:
其他好文 时间:
2019-11-20 14:11:14
阅读次数:
92
1.HTTP协议简介http(超文本传输)协议,是互联网应用最为广泛的一种网络协议,主要用于Web服务,通过计算机处理文本信息,格式为HTML(超文本标记语言)来实现。2.Http协议的版本:0.9版本:仅支持html页面(已被淘汰);1.0版本:(1)引入MIME(多用途互联网邮件扩展)机制,引入这个机制之后就可以发送多媒体信息;(2)引入keep-alive机制,支持持久链接的功能(但这个ke
分类:
Web程序 时间:
2019-11-18 23:26:38
阅读次数:
154
ClusterId read in ZooKeeper is null. Re-running the program after fixing issue 1 will result in the following error in the log file (Oddly logged at I ...
分类:
其他好文 时间:
2019-11-17 01:14:39
阅读次数:
143
场景 在Ubuntu Server中进行安装keepalived ,如果安装过程中出现纰漏,想要重新安装keepalived或者就是想直接卸载keepalived。 我们在安装keepalived时指定过安装路径为 /usr/local/src/keepalived ./configure --pr ...
分类:
系统相关 时间:
2019-11-16 17:29:49
阅读次数:
91
1 nginx配置优化提高并发量 worker_processes 2; 这个按照CPU的核数来决定 2 worker_connections 65535; 这个一般设置65535即可 每个进程允许的最多连接数, 理论上每台nginx 服务器的最大连接数为worker_processes*worke ...
分类:
其他好文 时间:
2019-11-16 14:57:36
阅读次数:
71