Given an integer array with all positive numbers and no duplicates, find the number of possible combinations that add up to a positive integer target. ...
分类:
其他好文 时间:
2019-02-18 01:20:29
阅读次数:
163
ALTER TABLE 和FLUSH TABLE导致的间接等待 场景:1、会话A执行耗时较长的操作;2、会话B执行ALTER TABLE 或FLUSH TABLES等操作时,会向其他会话(线程)发送表变更通知,要求其他会话关闭再重新打开相关表;3、会话A执行过程中收到会话B的变更通知,在会话A执行结 ...
分类:
数据库 时间:
2019-02-17 12:27:28
阅读次数:
176
题目是这样的,Linux中一个文件10行内容,如何输出5-8内容到屏幕首先我们模拟一下这样的环境: 我们的任务是取5-8行输出: 第一种方法: 第二种方法: 第三种方法: 第四种方法: 其本质就是用grep,awk,sed这Linux三剑客来实现,更想说的是这三个命令可以说是Linux基础命令的核心 ...
分类:
系统相关 时间:
2019-02-13 22:52:27
阅读次数:
325
1. VAE 1. lecture link: https://docs.google.com/presentation/d/1VSNlkGcR b39tMcuREjzZdhYOPvoZudpcbuNlf5hOIM/edit slide=id.g334db163d4_0_41 2. todo, 我打 ...
分类:
其他好文 时间:
2019-02-13 18:17:14
阅读次数:
178
select c.questionid from (select a.questionid, b.clientQuestion from similarquestion a inner join kfrobotaidlog b on a.question=b.question where b.que ...
分类:
其他好文 时间:
2019-02-13 15:38:45
阅读次数:
146
https://www.zhihu.com/question/50907897 https://segmentfault.com/a/1190000010801357#articleHeader0 ...
分类:
微信 时间:
2019-02-12 13:04:42
阅读次数:
210
字符串转换为数字 parseInt(string) 、parseFloat()、Number() 参考博客:https://zhidao.baidu.com/question/629898532158572524.html $(element).empty() 清空内容 $(element).rem ...
分类:
Web程序 时间:
2019-02-12 00:31:57
阅读次数:
207
使用示例:sort -k1,1nr xxxfile 需要指定起始列和结束列,否则可能排序错误 sort命令应用于中文时需要在sort前设置环境变量(以兼容C语言的标准): LC_COLLATE=C 否则sort将忽略文本中的标点符号,将仅有标点符号差异的key看做相同。 使用tab做分隔符: sor ...
分类:
其他好文 时间:
2019-02-11 21:22:36
阅读次数:
244
nodejs 里面的next()这个函数调用的作用是什么呢? 参考: https://stackoverflow.com/questions/5384526/javascript-node-js-next ...
分类:
其他好文 时间:
2019-02-11 18:34:30
阅读次数:
248
报错1: 参考: https://github.com/dogecoin/dogecoin/issues/529 报错2: 参考 https://superuser.com/questions/565988/autoconf-libtool-and-an-undefined-ac-prog-libt ...
分类:
系统相关 时间:
2019-02-11 13:00:13
阅读次数:
195