1.调用show()和hide()方法显示和隐藏元素,toggle切换,之前已经有博文细讲了。
$(selector).hide(speed,[callback]);
$(selector).show(speed,[callback]);
//参数speed设置隐藏或显示时的速度值,可为“slow”、“fast”或毫秒数值,可选项参数callback为隐藏或显示动作执行完成后调用的函数名。
...
分类:
Web程序 时间:
2016-05-12 12:39:37
阅读次数:
212
pt-upgrade作用:查看慢查询中对应的查询SQL在两个服务器上运行的结果示例:#pt-upgrade-uroot-prooth=‘192.168.2.11‘h=‘192.168.2.12‘/data/mysql/node1-slow.log比较2个节点的日志情况如下图:【注意:下图是因为我故意将2个节点的慢查询日志弄改的不一样,正常的话应该全是0..
分类:
其他好文 时间:
2016-05-11 20:13:46
阅读次数:
145
Getting or Setting Pixels The safe (slow) way Suppose you are working on an Image<Bgr, Byte>. You can obtain the pixel on the y-th row and x-th column ...
分类:
其他好文 时间:
2016-05-10 23:42:54
阅读次数:
190
Ah, while I am still downloading LLVM from github(very slow.. and very large in size). I come with my new ideas to write this new blog.. Because learn ...
分类:
系统相关 时间:
2016-05-10 18:35:18
阅读次数:
287
Given a linked list, determine if it has a cycle in it.
Follow up:
Can you solve it without using extra space?
1. 首先解决的问题是 判断单链表 有没有环?
解题思路:
两个指针slow 和 fast,开始都指向 head, slow指针每次走一步,fast 指...
分类:
其他好文 时间:
2016-05-06 15:28:03
阅读次数:
224
animate的使用方法:animate(params,speed,callback); 例子:animate({ right: "-=600px",height:"+=400px" }, "slow", function () { $(this).css("border","5px solid r ...
分类:
其他好文 时间:
2016-05-03 23:29:27
阅读次数:
116
mysql慢查询1、慢查询作用?它能记录下所有执行超过long_query_time时间的sql语句,帮你找到执行慢的sql,方便我们对这些sql语句进行优化。2、如何开启慢查询?首先我们先查看mysql服务器的慢查询状态是否开启。执行如下指令:我们可以看到log_slow_queries状态为ON,说明当前已..
分类:
数据库 时间:
2016-05-03 14:44:42
阅读次数:
301
.animate(params, [duration], [easing], [callback]) params: 结果样式属性 duration: 动画时长 也可以用 slow normal fast easing: 默认jQuery提供"linear" 和 "swing" callback: ...
分类:
其他好文 时间:
2016-05-03 10:33:05
阅读次数:
204
1、show()显示效果 语法:show(speed,callback) Number/String,Function speend为动画执行时间,单位为毫秒。也可以为slow","normal","fast" callback可选,为当动画完成时执行的函数。 show(speed,[easing] ...
分类:
Web程序 时间:
2016-04-29 14:18:41
阅读次数:
167
centos mysql 优化 第四节课 rhel5.3左右的版本用vim打开slow log并wq,mysqld没有停还在读写slow log,导致mysqld无法写数据到slow log:wq 写入后,句柄有没有发生变化/proc文件系统里找句柄数据fd top、free、sar vmstat ...
分类:
数据库 时间:
2016-04-21 21:49:49
阅读次数:
239