索引 理解 GROUP BY 过滤数据 vs. 过滤分组 GROUP BY 与 ORDER BY 之不成文的规定 子查询 vs. 联表查询 相关子查询和不相关子查询. 增量构造复杂查询 Always More Than One Solution As explained earlier in thi ...
分类:
数据库 时间:
2018-03-31 11:00:40
阅读次数:
226
用到的css样式 page break before page break after 使用方法 在相应元素上设置page break before或page break after,值为always。 例如 相关链接 http://www.cnblogs.com/guohu/p/5748955.h ...
分类:
Web程序 时间:
2018-03-30 17:23:15
阅读次数:
172
Given a chemical formula (given as a string), return the count of each atom. An atomic element always starts with an uppercase character, then zero or ...
分类:
其他好文 时间:
2018-03-29 02:05:19
阅读次数:
233
一段式状态机: 两段式状态机: 三段式状态机: 三种写法对比: (1)一段式状态机不利于维护(简单状态机可以用); (2)两段式状态机是常见写法,时序逻辑进行状态切换,时序逻辑实现各个输入、输出以及状态判断,利于维护,不过组合逻辑容易出现毛刺等常见问题; (3)三段式状态机推荐写法,代码易维护,时序 ...
分类:
其他好文 时间:
2018-03-24 23:51:25
阅读次数:
247
异步复位实例: 1 module async_rst ( 2 input din, 3 input clk, 4 input rst_n, 5 6 output reg dout 7 ); 8 9 always @ (posedge clk or negedge rst_n) 10 begin 11 ...
分类:
其他好文 时间:
2018-03-24 20:37:13
阅读次数:
160
In a given integer array nums, there is always exactly one largest element. Find whether the largest element in the array is at least twice as much as ...
分类:
其他好文 时间:
2018-03-20 22:08:52
阅读次数:
197
http://groovy-lang.org/structure.html 3.2. Script class A script is always compiled into a class. The Groovy compiler will compile the class for you, ...
分类:
其他好文 时间:
2018-03-19 23:32:11
阅读次数:
208
Node.js从2009横空出世之后,至今已经7年有余,各种web框架也林林总总,目前大约在npm上有35万左右包,刨去前端和一些无意义的封装,也是有非常可观的优秀的模块的。其中web框架也是特别抢眼的,从早期的express到现在koa,对异步流程控制的改进前仆后继。随着移动端崛起面向api的框架 ...
分类:
Web程序 时间:
2018-03-19 16:58:14
阅读次数:
2297
It is not enough to have a good mind. The main thing is to use it well. 头脑聪明还不够,重要的是好好运用。 From Rene Descartes. My colleagues have always brought me so ...
分类:
其他好文 时间:
2018-03-18 21:37:43
阅读次数:
148
用简单的话来定义tcpdump,就是:dump the traffic on a network,根据使用者的定义对网络上的数据包进行截获的包分析工具。 tcpdump可以将网络中传送的数据包的“头”完全截获下来提供分析。它支持针对网络层、协议、主机、网络或端口的过滤,并提供and、or、not等逻 ...
分类:
系统相关 时间:
2018-03-18 13:08:54
阅读次数:
237