原文:https://www.jianshu.com/p/b221b790cb1e https://linux-audit.com/blocking-ip-addresses-in-linux-with-iptables/ iptables删除规则 So if you would like to d ...
分类:
系统相关 时间:
2019-01-15 16:58:53
阅读次数:
707
Memcached和Redis比较;安装Memcached;安装python-memcached模块;天生支持集群;基本操作
分类:
编程语言 时间:
2019-01-14 11:46:12
阅读次数:
232
计算球体积 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 223955 Accepted Submission(s): 87495 Proble ...
分类:
其他好文 时间:
2019-01-12 22:57:06
阅读次数:
172
Wow! Such Doge! Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3816 Accepted Submission(s): 2254 ...
分类:
其他好文 时间:
2019-01-12 20:20:59
阅读次数:
118
安装方法:rpm及源码安装:#./configure--prefix=/usr/local/nginx--conf-path=/etc/nginx/nginx.conf--user=nginx--group=nginx--error-log-path=/var/log/nginx/error.log--http-log-path=/var/log/nginx/access.log--pid-pat
分类:
其他好文 时间:
2019-01-08 12:23:48
阅读次数:
159
一、Java 线程池 Java通过Executors提供四种线程池,分别为:1、newCachedThreadPool:创建一个可缓存线程池,如果线程池长度超过处理需要,可灵活回收空闲线程,若无可回收,则新建线程。(线程最大并发数不可控制);线程池为无限大,当执行第二个任务时若第一个任务已经完成,会 ...
分类:
编程语言 时间:
2019-01-07 17:28:52
阅读次数:
511
挑战程序设计竞赛的一道题 最近刚学了三角变换。于是就构造了个矩阵,没想到正是向量旋转的矩阵(不知道具体叫什么qwq 然后网上一半的题解是左闭右开的,另一部分是懒标记的。 于是便自己yy了一个左闭右闭的线段树,方法和挑战程序设计竞赛是一样的。当然代码不是一样的 cpp include include ...
分类:
其他好文 时间:
2019-01-05 22:47:16
阅读次数:
208
1、说明 2、证书过期问题解决办法 对于手动生成的证书 对于kubeadm 3、过期处理 报错信息 日志信息 证书备份 apiserver证书 front proxy client证书 etcd证书 重新生成证书 重新生成配置文件 重启kubelet 4、集群确认 证书过期时间确认 集群状态确认 ` ...
分类:
Web程序 时间:
2019-01-05 12:11:50
阅读次数:
8130
Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string. If the last word ...
分类:
其他好文 时间:
2019-01-03 20:39:51
阅读次数:
143