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-06-13 20:27:21
阅读次数:
120
查看主从状态 查看主从状态 主服务器 主服务器 mysql> show master status; mysql> show master status; + + + + + + + + + + + + | File ? ? ? ? ? ? | Position ?| Binlog_Do_DB | ...
分类:
数据库 时间:
2019-06-13 12:10:36
阅读次数:
99
Docker从1.13版本之后采用时间线的方式作为版本号,分为社区版CE和企业版EE。 社区版是免费提供给个人开发者和小型团体使用的,企业版会提供额外的收费服务,比如经过官方测试认证过的基础设施、容器、插件等。 社区版按照stable和edge两种方式发布,每个季度更新stable版本,如17.06 ...
分类:
其他好文 时间:
2019-06-13 00:47:12
阅读次数:
135
ALTER TABLE table1 ADD COLUMN column1 VARCHAR(400) DEFAULT NULL; ERROR 1062 (23000): Duplicate entry '82133627' for key 'PRIMARY' select * from table1 ...
分类:
其他好文 时间:
2019-06-12 21:27:04
阅读次数:
188
1. 找出两个链表的交点 2. 链表反转 3. 归并两个有序的链表 4. 从有序链表中删除重复节点 5. 删除链表的倒数第 n 个节点 6. 交换链表中的相邻结点 7. 链表求和 8. 回文链表 9. 分隔链表 10. 链表元素按奇偶聚集 链表是空节点,或者有一个值和一个指向下一个链表的指针,因此很 ...
分类:
其他好文 时间:
2019-06-12 14:02:43
阅读次数:
154
static void recordInsertList(Args _args) { /*The RecordInsertList class allows to insert multiple records in to database. new() - Creates a new object ...
分类:
数据库 时间:
2019-06-09 12:56:17
阅读次数:
127
VSCODE 配置eslint规则和自动修复 vscode安装以下插件 EsLint、vetur、Prettier Code formatter vscode设置了添加配置项,,默认会去查找你项目中的eslint配置文件 项目中创建.eslitrc.js配置 文件,可能比较多 Done 还看,没了, ...
分类:
其他好文 时间:
2019-06-07 19:03:57
阅读次数:
1322
1、DDL操作与Xtrabackup备份冲突 当MySQL使用xrabckup进行备份时,如果执行DDL进行表修改,会导致xrabckup备份失败。 错误类似于: 2、磁盘性能太差导致xtrabckup备份失败 Innodb产生日志的速度远超于Xtrabackup复制的速度,部分Innodb日志被截 ...
分类:
数据库 时间:
2019-06-06 18:58:30
阅读次数:
283
因为我对同一条数据进行插入,所以才会报这个异常,因为id相同 ...
分类:
数据库 时间:
2019-06-04 12:53:11
阅读次数:
89
工作所需写的小脚本。 # !/bin/bash # Author : 蛙鳜鸡鹳狸猿# create_ts : 2017年 01月 03日 星期二 14:48:14 CST# program : Incremental transfer table records between MySQL serv ...
分类:
数据库 时间:
2019-06-04 09:18:43
阅读次数:
247