在《建立apk定时自动打包系统第一篇——Ant多渠道打包并指定打包目录和打包日期》这篇文章中介绍多渠道打包的流程。很多时候我们需要将打包好的apk上传到ftp中,这时候我可以修改custom_rules.xml这个文件就可以实现这个需求了。1、下载 common-net-3.3.jar 并将其放在a...
分类:
Web程序 时间:
2014-10-29 16:51:24
阅读次数:
220
1、需引入的js 2、异步验证 //注意 data传值时使用 userName:$("#userName").val() 后台是获取不到值的!!!!jQuery("#form1").validate({ rules: { "user.userName": { ...
分类:
Web程序 时间:
2014-10-28 19:49:09
阅读次数:
253
1.扩展通过$.extends($.fn.validatebox.defaults.rules,)扩展 $.extend( $.fn.validatebox.defaults.rules, { ...
分类:
Web程序 时间:
2014-10-28 11:57:57
阅读次数:
221
Types of correlation:Logical correlation: Using pre-defined and customized correlation rules.Inventory correlation: Through inventory look ups the sys...
分类:
其他好文 时间:
2014-10-25 21:26:33
阅读次数:
168
Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules.
The Sudoku board could be partially filled, where empty cells are filled with the character '.'.
A partially fille...
分类:
其他好文 时间:
2014-10-25 17:27:30
阅读次数:
172
无论是Hyper-v还是Vmware,克隆出来的CentOSLinux网络无法连接ifconfig无法看到eth0,重启网卡出现如下错误Bringingupinterfaceeth0:Deviceeth0doesnotseemtobepresent,delayinginitialization.[FAILED]解决办法:首先,打开/etc/udev/rules.d/70-persistent-net.rules内容如下..
分类:
其他好文 时间:
2014-10-24 19:10:48
阅读次数:
248
题目大意:给定一张图,和每个点的油价,知道每条路的耗油量,给定一些询问,求从起点到终点用指定油箱容量的车所得到的最小耗费。
解题思路:BFS+优先队列
优先队列介绍:采用stl中的priority_queue实现。priority_queue默认的是最大优先队列,声明时只要priority_queue q就行了。如果是最小堆,麻烦一些
priority_queue,cmp> q。其中cmp函...
分类:
其他好文 时间:
2014-10-24 14:45:31
阅读次数:
205
1.网卡修改序号ip link set eth3 name eth02.解决克隆虚拟机后网卡设备无法识别启动问题的方法******************************/etc/udev/rules.d/70-persistent-net.rules********************...
分类:
系统相关 时间:
2014-10-24 14:22:02
阅读次数:
197
题目:Determine if a Sudoku is valid, according to:Sudoku Puzzles - The Rules.The Sudoku board could be partially filled, where empty cells are filled wi...
分类:
其他好文 时间:
2014-10-24 14:15:06
阅读次数:
174
当优先级队列中存放我们自定义规则时, 编译器不知道该如何排序如: priority_queue 这种代码是无法通过编译的, 需要我们手动写一个比较规则priority_queue 即可代码如下 1 #include 2 #include 3 #include 4 #include 5 #in...
分类:
编程语言 时间:
2014-10-24 01:40:22
阅读次数:
252