资料: (1)jquery为什么这怎么写 var $s = $("...") https://zhidao.baidu.com/question/541299341.html 区别: jq对象是一个js对象数组。 js对象是一个对象。 ...
分类:
Web程序 时间:
2018-08-28 14:18:03
阅读次数:
171
// 加在父级div中垂直居中:align-items:center; display: -webkit-flex;水平居中:justify-content:center; display: -webkit-flex; 引用: https://zhidao.baidu.com/question/15 ...
分类:
其他好文 时间:
2018-08-28 10:30:51
阅读次数:
158
https://zhidao.baidu.com/question/151448005.html 具体步骤:运行-> 输入:“services.msc” ->找到 “SQL Server (SQLEXPRESS)” 服务,双击 -> 在“SQL Server (SQLEXPRESS) 的属性”界面, ...
分类:
数据库 时间:
2018-08-27 21:23:12
阅读次数:
255
1、我在使用Code::Blocks16.01写C++代码的时候,尽管我已经勾选了编译器"-std=c++11"的选项,但在使用stoi()函数时,仍然会报错“error: 'stoi' was not declared in this scope”,查了一下,发现是这个版本编译器本身的问题,详见这 ...
分类:
其他好文 时间:
2018-08-26 13:46:44
阅读次数:
167
增强for循环 :forEach 反编译后可以看到实际使用的仍然是Iterator+while遍历的 forEach的优点是写法简单,缺点是不能使用xxx.remove(e)或者iter.remove(), 如果有删除的需要,还是老老实实用Iterator 对于数组的遍历,使用的是length遍历 ...
分类:
其他好文 时间:
2018-08-25 11:39:47
阅读次数:
178
Given an array of n integers nums and a target, find the number of index triplets i, j, k with 0 <= i < j < k < n that satisfy the condition nums[i] + ...
分类:
其他好文 时间:
2018-08-25 11:33:57
阅读次数:
345
还是先占坑,等理顺了思路再写,学过的东西总是无法系统化,感觉什么都知道一点,但一深入却是一脸懵逼。 这真的是个问题,看似很努力,却无法成为一个master。 参考链接: 1. 编程语言的类型系统为何如此重要? https://www.zhihu.com/question/23434097 2. 程序 ...
分类:
编程语言 时间:
2018-08-25 00:35:56
阅读次数:
176
Question "859. Buddy Strings" Solution 题目大意: 两个字符串,其中一个字符串任意两个字符互换后与另一个字符串相等,只能互换一次 思路: Java实现: ...
分类:
其他好文 时间:
2018-08-24 23:34:21
阅读次数:
246
boosting 是一种将弱分类器转化为强分类器的方法统称,而adaboost是其中的一种,或者说AdaBoost是Boosting算法框架中的一种实现 https://www.zhihu.com/question/37683881 ...
分类:
数据库 时间:
2018-08-24 17:18:01
阅读次数:
240
bash read-special-keys-in-bash xdotool ...
分类:
系统相关 时间:
2018-08-24 13:20:14
阅读次数:
176