/*** check Mobile***********************/jQuery.validator.addMethod("isMobile", function(value, element,param) { //var pattern=/(^0{0,1}[13|15|18|1...
分类:
Web程序 时间:
2015-08-06 10:54:14
阅读次数:
144
Given two binary trees, write a function to check if they are equal or not.Two binary trees are considered equal if they are structurally identical an...
分类:
其他好文 时间:
2015-08-06 10:39:15
阅读次数:
100
接上
5、
配置crontab ,这是Linux 自带的定时执行任务 。
输入
crontab -e 开始配置
打开后你会看到很多#
在最后一行
输入
*/60 * * * * sh /home/pi/Desktop/check.sh
保存,退出,此时会显示 installing new crontab
/60的意思是间隔60分钟,也可以/1,就是间隔1分钟
在...
分类:
其他好文 时间:
2015-08-06 00:33:56
阅读次数:
234
注入出现在./client-edit.php中 1 ...... 2 if (isset($_GET['id'])) { 3 $client_id = mysql_real_escape_string($_GET['id']); 4 /** 5 * Check if the...
分类:
数据库 时间:
2015-08-05 22:07:56
阅读次数:
456
【POJ 2151】Check the difficulty of problems...
分类:
其他好文 时间:
2015-08-05 18:30:03
阅读次数:
86
1、全选$("#btn1").click(function(){ $("input[name='checkbox']").attr("checked","true"); }) 2、取消全选(全不选)$("#btn2").click(function(){ $("input[name='check.....
分类:
Web程序 时间:
2015-08-05 14:41:31
阅读次数:
125
一、安装Rubycd/home/redis/software#把软件下载到/home/redis/software目录下,将应用安装到/home/redis目录下。
wget-r-np-nd--accept=gz--no-check-certificatehttps://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.2.tar.gz--http-user=username--http-password=password
ta..
分类:
其他好文 时间:
2015-08-05 13:13:32
阅读次数:
249
当通过Checker检测到update以后,会通知UpdatePrompt中的updateCheckListener。1.UpdateCheckListener.onCheckCompleteonCheckComplete: function UCL_onCheckComplete(reques.....
分类:
其他好文 时间:
2015-08-05 12:40:35
阅读次数:
144
虽然代码分析了很多,但是还没有真正做check的工作,下面就来找到真正的checker。 代码位置:gecko/toolkit/mozapps/update/nsUpdateService.js。参考之前的(FFOS Gecko & Gaia) OTA - 代码模块总览,nsUpdateSer...
分类:
其他好文 时间:
2015-08-05 12:00:10
阅读次数:
172
代码位置:gecko/b2g/components/UpdatePrompt.js SystemApp发出'force-update-check'事件,也就从gaia进入到了gecko层。1. 首先大概介绍一下UpdatePrompt.js。 (a)UpdatePrompt.js里包含了2个...
分类:
其他好文 时间:
2015-08-05 10:18:32
阅读次数:
200