Given an array of integers and an integer k, find out whether there are two distinct indices i and j in the array such that nums[i] = nums[j] and the ...
分类:
其他好文 时间:
2019-08-10 17:01:29
阅读次数:
75
Given a fixed length array arr of integers, duplicate each occurrence of zero, shifting the remaining elements to the right. Note that elements beyond ...
分类:
其他好文 时间:
2019-08-10 10:08:31
阅读次数:
95
本系列主要讲解centos7系统下的k8s集群部署
分类:
其他好文 时间:
2019-08-08 18:53:10
阅读次数:
125
会判断主键或唯一键,存在就更新,不存在就插入 ...
分类:
数据库 时间:
2019-08-03 13:13:34
阅读次数:
110
1.问题描述 MySQL插入数据的时候报错,提示如下: IntegrityError: (1062, "Duplicate entry 'xx' for key 'xxxxx'")2.问题分析 根据错误提示我们可以大致得到以下信息: 1.IntegrityError表示这个字段在MySQL中的类型为 ...
分类:
数据库 时间:
2019-07-29 09:28:36
阅读次数:
152
一、部署环境 1、服务器规划 IP地址 主机名 CPU 内存 10.0.0.100 k8s-master01 2C 2G 10.0.0.101 k8s-node01 2C 2G 10.0.0.102 k8s-node02 2C 2G 2、Kubernetes 1.13包下载 所用到包的版本: 3、K ...
分类:
Web程序 时间:
2019-07-26 01:42:05
阅读次数:
208
目录 1、使用codec的multiline插件收集java日志... 1 2、收集nginx日志... 2 3、收集系统syslog日志... 3 4、使用fliter的grok模块收集mysql日志... 4 1、使用codec的multiline插件收集java日志 对于采用ELK作为应用日志 ...
分类:
编程语言 时间:
2019-07-26 01:33:00
阅读次数:
150
这几天离职在家,正好没事可以疯狂的输出一下,本来想写DUBBO的源码解析的,但是发现写DUBBO源码的太多了,所以找一个写的不那么多的框架,所以就选中SOFARPC这个框架了。 SOFARPC是蚂蚁金服开源的一个RPC框架,相比DUBBO它没有这么多历史的包袱,代码更加简洁,设计思路更加清晰,更加容 ...
分类:
其他好文 时间:
2019-07-22 13:09:43
阅读次数:
83
record_def.s linuxg.s read_record.s write_record.s write_records.s ...
分类:
其他好文 时间:
2019-07-22 11:42:37
阅读次数:
93
1、主键不唯一:ERROR 1062 (23000) :Duplicate entry '1' for key 'PRIMARY' 2、不存在的外键:ERROR 1052 (23000) :Cannot add or update a child row : a foreign key constr ...
分类:
数据库 时间:
2019-07-21 16:44:57
阅读次数:
100