大纲: 1-for循环补充 1-1-for循环实战---类C格式应用 2-break、continue循环控制符 2-1实战:帮助理解break、continue作用 3-函数详解 3-1、脚本文件中定义函数并引用,如上图 3-2、返回值的应用 3-3、向函数传递参数(使用位置参数) 3-4、全局变... ...
分类:
其他好文 时间:
2016-09-04 01:41:38
阅读次数:
254
个人认为这是一道比较诡异的题,首先分享题目 如下: 描述 如果一棵树的所有非叶节点都恰好有n个儿子,那么我们称它为严格n元树。如果该树中最底层的节点深度为d(根的深度为0),那么我们称它为一棵深度为d的严格n元树。例如,深度为2的严格2元树有三个,如下图: 给出n, d,编程数出深度为d的n元树数目 ...
分类:
其他好文 时间:
2016-09-04 01:42:41
阅读次数:
288
High Performance MySQL, Third Editionby Baron Schwartz, Peter Zaitsev, and Vadim Tkachenko Settings for client/server communication When the server an ...
分类:
其他好文 时间:
2016-09-04 01:41:20
阅读次数:
190
zlog源码包下载地址https://github.com/HardySimpson/zlog zlog使用手册http://blog.csdn.net/yangzhenzhen/article/details/8439459 ...
分类:
其他好文 时间:
2016-09-04 01:40:32
阅读次数:
136
Given an integer n, return the number of trailing zeroes in n!. Note: Your solution should be in logarithmic time complexity. 思路: 首先末尾0的个数取决于素因数中2和5个数 ...
分类:
其他好文 时间:
2016-09-04 01:40:43
阅读次数:
187
10892 LCM CardinalityA pair of numbers has a unique LCM but a single number can be the LCM of more than one possiblepairs. For example 12 is the LCM o ...
分类:
其他好文 时间:
2016-09-04 01:40:54
阅读次数:
182
Given an unsorted array, find the maximum difference between the successive elements in its sorted form. Return 0 if the array contains less than 2 el ...
分类:
其他好文 时间:
2016-09-04 01:40:47
阅读次数:
203
现在做的项目代码是原来其他公司做的,要在原来基础上业务进行适当调整加上一些CR,其中有一个需要调整的需求如下: 原来使用apex:selectCheckboxes封装了一个checkbox列表,因为数据太多导致显示起来比较丑,用户希望改进一下UI。 apex:selectCheckboxes作用原理 ...
分类:
其他好文 时间:
2016-09-04 01:39:31
阅读次数:
464
奇数分频思路:(结合图示进行理解) 第一步:在时钟的上升沿和下降沿分别产生一个计数器。cnt_up 在时钟上升沿计数,cnt_down 在时钟下降沿计数(例:如果是 N 分频,就从0计数到 N-1) 第二步:根据这两个计数器产生两个控制信号 clk_up , clk_down。 注意:clk_up ...
分类:
其他好文 时间:
2016-09-04 01:39:21
阅读次数:
278
微软在2003年收购了推出了Virtual PC软件的Connectix公司,并在其后推出了Virtual Server服务器虚拟化软件 Hyper-V跟微软自家的Virtual PC、Virtual Server等产品相比,有着很显著的区别。Hyper-V的本质是一个VMM(虚拟化管理程序),和微 ...
分类:
其他好文 时间:
2016-09-04 01:37:23
阅读次数:
115
这个问题会出现在所有浏览器当中,原因是css2.1盒子模型中规定, 解决办法 ...
分类:
其他好文 时间:
2016-09-04 01:38:53
阅读次数:
172
High Performance MySQL, Third Edition by Baron Schwartz, Peter Zaitsev, and Vadim Tkachenko There are two kinds of numbers: whole numbers and real num ...
分类:
其他好文 时间:
2016-09-04 01:37:32
阅读次数:
80
首先,我们从Jenkins官方网站https://jenkins.io/下载最新的war包。虽然Jenkins提供了Windows、Linux、OS X等各种安装程序,但是,这些安装程序都没有war包好使。我从未见过Jenkins这样把Java包做得如此简单的项目。只需要运行命令: Jenkins就 ...
分类:
其他好文 时间:
2016-09-04 01:38:13
阅读次数:
193
这个系列的文章主要是为了能够让自己了解MySQL5.7的一些系统表,统一做一下备注和使用,也希望分享出来让大家能够有一点点的受益。 1:KEY_COLUMN_USAGE 按照官方的解释,这个表描述的是关于有约束的列。也就是没有约束的列都不会显示出来,按照整库查了一下,我里面有五张表,结果这个库记录的 ...
分类:
其他好文 时间:
2016-09-04 01:37:43
阅读次数:
195
今天整理下思绪,定下要掌握LVS原理和使用方法。于是,看了部分关于LVS的概述和文章。 章博士在2002年写的LVS的几篇文章,在我看来,今天都值得一看。http://www.linuxvirtualserver.org/zh/lvs1.html LVS的英文官网,http://www.linux- ...
分类:
其他好文 时间:
2016-09-04 01:38:14
阅读次数:
186
Transition:(过渡转变)让瞬间改变到目标值的事情,按照我们规定的过渡方式改变到目标值。 第一点:transition适合用于哪些属性? 适合所有的元素,包括::before和::after伪元素。 Ps(::before和::after伪元素是在不改变html结构的情况下,适用于样式改变, ...
分类:
其他好文 时间:
2016-09-04 01:35:28
阅读次数:
217
Give an integer array,find the longest increasing continuous subsequence in this array. An increasing continuous subsequence: Can be from right to lef ...
分类:
其他好文 时间:
2016-09-04 01:35:48
阅读次数:
128