jquery代码:
$(function(){
$("#a").click(function( e ){
e.preventDefault();
if ($("#test").is(":hidden") ){
$("#test").show("normal");
}else{
$("#test").hide("slow");
}
});
}...
分类:
Web程序 时间:
2014-12-16 13:38:36
阅读次数:
192
In this tutorial, we show simple implementations of barriers and producer-consumer queues using ZooKeeper. We call the respective classes Barrier and ...
分类:
其他好文 时间:
2014-12-14 14:24:59
阅读次数:
385
1. 选择项目,右键,export,选择Java目录下的Runnable JAR file , next2. Lanch configuration 中选择启动类3. Export destination 中选择导出的地方4. Library handling 引用库的处理: 1). Extract...
分类:
编程语言 时间:
2014-12-13 17:52:19
阅读次数:
303
mysqlsla是hackmysql.com推出的一款MySQL的日志分析工具,功能非常强大.数据报表,非常有利于分析慢查询的原因,包括执行频率,数据量,查询消耗等。一、使用1#mysqlsla-ltslowmysql-slow.log或者1#mysqlsla-ltslowmysql-slow.log-sf“+SELECT”-dbdbName-top10-sortt_sum参数说明..
分类:
数据库 时间:
2014-12-12 19:24:59
阅读次数:
391
[ 查看系统关于慢查询的设置 ]mysql> show variables like '%slow%';+---------------------------+--------------------------------+| Variable_name | Value ...
分类:
数据库 时间:
2014-12-12 18:17:17
阅读次数:
256
笔者的项目一直在Unity 4.3下开发,最近,在升级到xcode6以后,在iOS8设备上测试发现一个有趣的现象:原本运行正常的横屏游戏,到了iOS8设备上,变成了竖屏运行,并且仍然是横屏的内容,那UI是一个惨不忍睹。Unity和xcode里的Device Orientation设置一直为“Lans...
分类:
移动开发 时间:
2014-12-10 12:11:14
阅读次数:
196
提高ormlite的批处理速度http://stackoverflow.com/quegoogstions/11761472/ormlites-createorupdate-seems-slow-what-is-normal-speedThis may be the "expected" speed...
分类:
其他好文 时间:
2014-12-08 12:22:18
阅读次数:
246
最近使用Theano写了MLP和CNN的程序,由于训练样本大,单靠CPU运算速度so slow;于是乎找到了一台有NAIVID显卡的电脑进行了GPU的配置使用,期间遇到很多问题,记录如下:
平台说明:
系统:WindowsXP
Python:2.7, 建议直接使用 Python(x,y),包含了Theano需要的Numpy等库,省去自己配置
Theano: 0.6
CUDA:3....
分类:
其他好文 时间:
2014-12-06 15:25:07
阅读次数:
228
This tutorial shows you how to use MySQL handler to handle exceptions or errors encountered in stored procedures.When an error occurs inside a stored ...
分类:
数据库 时间:
2014-12-05 19:05:28
阅读次数:
373