源码部分 通过Sizzle.attr匹配出值 然后通过表达式刷选计算 "ATTR": function( name, operator, check ) { return function( elem ) { var result = Sizzle.attr( elem, name ); if ( ...
分类:
其他好文 时间:
2014-07-22 22:51:56
阅读次数:
195
<body> <input type="checkbox" id="ckAll" />check all<br /> <input type="checkbox" name="sub" />1<br /> <input type="checkbox" name="sub"/>2<br /> <input type="checkbox" name="sub"/>3<br /> <input t...
分类:
Web程序 时间:
2014-07-22 09:13:34
阅读次数:
325
值类型值类型被赋予给一个变量,常数或者本身被传递给一个函数的时候,实际上操作的是其的拷贝。在 Swift 中,所有的基本类型:整数(Integer)、浮点数(floating-point)、布尔值(Booleans)、字符串(string)、数组(array)和字典(dictionaries),都是...
分类:
其他好文 时间:
2014-07-21 00:01:41
阅读次数:
255
1:修改uc_client\model\user.phpfunction check_username($username) { $guestexp = '\xA1\xA1|\xAC\xA3|^Guest|^\xD3\xCE\xBF\xCD|\xB9\x43\xAB\xC8'; $len = $th...
分类:
其他好文 时间:
2014-07-20 22:01:28
阅读次数:
214
#include
#include
#include
using namespace std;
struct node
{
int x,y,step;
};
char map[105][105];
int vis[105][105];
int to[4][2]= {1,0,-1,0,0,1,0,-1};
int n,m,sx,sy,ex,ey,ans;
int check(in...
分类:
其他好文 时间:
2014-07-19 23:11:19
阅读次数:
330
Using cron seems
to add another entry point into your application, while Quartz would
integrate into it. So you would be forced to deal with some inter-process communication if you wanted to pass...
分类:
其他好文 时间:
2014-07-19 11:11:44
阅读次数:
373
判断两直线p1p2与q1q2是否相交,用向量叉积来判断如果P x Q >0,则P在Q的顺时针方向;如果P x Q #include #include #include #include typedef struct node{ double x,y;}point;point p1,p2,q1,...
分类:
其他好文 时间:
2014-07-19 09:38:36
阅读次数:
279
在开始类的编写之前我们依然需要回顾整理一下前面所说的内容,(前面虽然是一个自定义数据类型的实现过程,但是内容有点繁杂).
先看一段代码:
/** @file calssStruct.cpp */
/** Member Functions for Class point */
#include // for sqrt and atan
using namespace std;
struc...
分类:
编程语言 时间:
2014-07-19 08:27:54
阅读次数:
413
anchor point 究竟是怎么回事? 之所以造成不容易理解的是因为我们平时看待一个图片是 以图片的中心点 这一个维度来决定图片的位置的。而在cocos2d中决定一个 图片的位置是由两个维度 一个是 position 也就是图片的中心点 另外一个是anchor point。只要我们搞清楚他们的关...
分类:
其他好文 时间:
2014-07-19 00:23:08
阅读次数:
250
Check SMTP Server Availability for ORA-29278 or ORA-29279 errors using UTL_SMTP to Send Email. (文档 ID 604763.1)转到底部修改时间:2014-5-13类型:PROBLEM为此文档评级通过电子邮...
分类:
其他好文 时间:
2014-07-18 17:38:40
阅读次数:
495