使用Eclipse构建Maven的SpringMVC项目-northwolf-ChinaUnix博客http://blog.chinaunix.net/uid-20060673-id-3175079.html在pom.xml中添加所需要的jar包,遇到下图中 问题:"Index downloads ...
分类:
编程语言 时间:
2014-11-26 18:10:40
阅读次数:
205
如果碰到了需要在指定的时间运行php脚本的情况,比如定时进行网站的数据统计、自动执行数据库备份任务、定时发送email等等。如果我们不使用Cron来执行php脚本,或许我们会采用phpinclude的方法。比如在index.php中添加代码:<?phpinclude"crontab.php"?>当访客通过浏览器..
分类:
系统相关 时间:
2014-11-26 16:44:54
阅读次数:
254
Set bp=browser("micclass:=browser","index:=0").page("micclass:=page")bp.WebElement("html tag:=BODY","index:=1").Object.insertadjacenttext "beforeend",...
分类:
Web程序 时间:
2014-11-26 15:57:19
阅读次数:
217
微信公众平台开发(2)-消息处理 消息包括文本、图片、语音、视频、音乐、图文,消息格式参考http://mp.weixin.qq.com/wiki/index.php?title=发送被动响应消息 在接入接口时指定了回调URL,在保存时微信会以GET方式调用此URL,并将signature,time...
分类:
微信 时间:
2014-11-26 15:51:51
阅读次数:
439
参考了《微信公众账号开发教程(java).doc》 文档:http://mp.weixin.qq.com/wiki/index.php?title=自定义菜单创建接口 其实就是以POST方式调用 https://api.weixin.qq.com/cgi-bin/menu/create?access...
分类:
微信 时间:
2014-11-26 15:47:40
阅读次数:
567
the science of programming 的三点
0.如何用BNF范式写优先级语法
1.关于一个数组的数学解析:数组就是一个函数,index->value的映射
2.BNF范式与正则表达式是不同的,之前一直搞混乱了。正则表达式是用来描述词法,BNF范式是用来描述语法的。
--------------------------------------------------------------------...
分类:
其他好文 时间:
2014-11-26 14:30:41
阅读次数:
168
Given an index k, return the kth row of the Pascal's triangle.
For example, given k = 3,
Return [1,3,3,1].
Note:
Could you optimize your algorithm to use only O(k) extra space?
这个问题比较简单。
v...
分类:
其他好文 时间:
2014-11-26 14:23:25
阅读次数:
245
转自:http://www.jb51.net/article/28486.htm代码:mainjquery inarray()函数详解:jquery.inarray(value,array)确定第一个参数在数组中的位置(如果没有找到则返回 -1 )。 determine the index of t...
分类:
Web程序 时间:
2014-11-26 14:15:17
阅读次数:
182
var ed = $('#dg').datagrid('getEditor', {index:editIndex,field:'productid'});var productname = $(ed.target).combobox('getText');var value = $(ed.targe...
分类:
其他好文 时间:
2014-11-26 14:14:25
阅读次数:
251
NGUI文档及视频:http://www.tasharen.com/forum/index.php?topic=6754动态更新的解决方案:http://game.ceeger.com/forum/read.php?tid=16483一个3D的例子(跳):https://www.assetstore...
分类:
编程语言 时间:
2014-11-26 13:55:42
阅读次数:
172