/* * Object factory */function
objectFactory(jsonObj){ function objectEntity(){ } if(typeof jsonObj ==
"object"){ for(var index in jsonObj){ objectEnt...
分类:
Web程序 时间:
2014-05-19 22:39:02
阅读次数:
472
parameter 属性赋值例如要检索用户表中状态为 1 (status=1) 并且电子包含 163
的用户,当提交表单时(注意表单是 GET 方式提交),形成的 URL
地址大致如下:http://www.5idev.com/index.php/Index/search/status/1/emai...
分类:
Web程序 时间:
2014-05-19 10:59:04
阅读次数:
307
Given an array of non-negative integers, you
are initially positioned at the first index of the array.Each element in the
array represents your maximu...
分类:
其他好文 时间:
2014-05-19 08:23:07
阅读次数:
223
Given an array of non-negative integers, you
are initially positioned at the first index of the array.Each element in the
array represents your maximu...
分类:
其他好文 时间:
2014-05-19 08:07:26
阅读次数:
288
Android
打包流程:官网地址:http://developer.android.com/tools/building/index.html具体的打包步骤如下:1:生成R.java类文件:Eclipse中会自动生成R.java,ant和命令行使用androidSDK提供的aapt.exe程序生成...
分类:
移动开发 时间:
2014-05-19 08:00:37
阅读次数:
486
小说 《射雕英雄传》 《长生剑》
相对index.html所有的目录而言:“../”表示上一级目录开始 “./”表示当前同级目录开始 “/”表示根目录开始。
分类:
其他好文 时间:
2014-05-17 20:29:22
阅读次数:
273
当我们使用index更新document的时候,首先读取原始的document,作出修改,然后一下在把新的document
index到ES中。最后一次的操作因该是成功的,也就是说最近的一次index执行的document应该更新到ES,如果同时也有其他人在执行这个操作,那么他们的修改将会是丢失的。...
分类:
其他好文 时间:
2014-05-17 15:25:55
阅读次数:
308
也许一些使用alarmmanager做定时任务的同学遇到过这样的问题:设定alarm后,进入设置-->应用程序管理-->强行停止app后,定时任务就失效了。简单的讲就是:force
stop会导致alarm失效。最典型的例子就是我碰到过的一个bug,使用android手机的时钟app设置一个闹钟,然...
分类:
移动开发 时间:
2014-05-15 22:41:52
阅读次数:
471
server{if(!-e$request_filename){rewrite^(.*)$/index.phplast;}}如果if没有放在location时,在做memc缓存时,在错误日志里会提示以下信息2014/05/1210:45:51[error]11520#0:*325726srcache_fetch:cachesenttruncatedresponsebodywhilesendingtoclient,client:192.168.3.124,..
分类:
其他好文 时间:
2014-05-15 19:02:44
阅读次数:
350
jquery对select下拉框的操作总结。。。1、通过索引值去设置select中的option的value和textvarindex=1;varval="该改为的值";$("#selectIdoption:eq("+index+")").attr("selected",true);$("#selectIdoption:selected").val(val);$("#selectIdoption:selected").text(val);
分类:
Web程序 时间:
2014-05-15 19:00:51
阅读次数:
314