CCID_Receive Procedure byte conflict???According "a text book" for smart card.The terminal first sends the card a five-byte command header consisting ...
分类:
其他好文 时间:
2014-06-28 10:29:15
阅读次数:
241
zepto 的selector模块是对jquery扩充选择器(jquery-selector-extensions)的部分实现。比如这样的选择方法:$('div:first')和el.is(':visible')。下面是原代码,简单的写了一些注释~;(function($){ var zepto ....
分类:
Web程序 时间:
2014-06-25 23:25:06
阅读次数:
529
#include "stdafx.h"#include#include#includeusing namespace std;int _tmain(int argc, _TCHAR* argv[]){ pairoPoint; //必须包含std oPoint.first = 1; ...
分类:
其他好文 时间:
2014-06-25 20:23:53
阅读次数:
202
功能需求是这样的,两个radio:男和女,一个button:重置。启动页面默认选中男,在用户选择女之后又点击重置按钮,需要恢复到默认状态。男女重置我的js代码是这样的:$("#reSet").click(function() { $("input[name='sex']:first").attr(....
分类:
Web程序 时间:
2014-06-25 16:31:06
阅读次数:
173
http://johndyer.name/native-fullscreen-javascript-api-plus-jquery-plugin/HTML5 is great, but when it was first released, one of the big complaints wa....
分类:
编程语言 时间:
2014-06-25 14:49:46
阅读次数:
229
欢迎关注我的新博客地址:http://cuipengfei.me/
Lower bound,不知道这个词的确切中文翻译是怎样的。我们直接看例子吧。
1
2
3
class Pair[T](val first: T, val second: T) {
def replaceFirst[R >: T](newFirst: R): Pair[R] ...
分类:
其他好文 时间:
2014-06-25 00:04:48
阅读次数:
381
在ubuntu下启动firefox报错 Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.
解决:
终端输入 killall firefox...
分类:
其他好文 时间:
2014-06-24 17:08:34
阅读次数:
203
Lua中的函数是一阶类型值(first-class value),定义函数就象创建普通类型值一样(只不过函数类型值的数据主要是一条条指令而已),所以在函数体中仍然可以定义函数。假设函数f2定义在函数f1中,那么就称f2为f1的内嵌(inner)函数,f1为f2的外包(enclosing)函数,外.....
分类:
其他好文 时间:
2014-06-24 11:41:01
阅读次数:
170
#include const char* first = "";//需要验证的字符std::regex rx("^[1-9]\\d{5}[1-9]\\d{3}((0\\d)|(1[0-2]))(([0|1|2]\\d)|3[0-1])\\d{3}([0-9]|X|x)$");//验证的表达式,这个是...
分类:
其他好文 时间:
2014-06-24 11:13:54
阅读次数:
164
(1)输入任意文法,消除左递归和公共左因子;
(2)打印文法的First和Follow集;
(3)判断是否是LL(1)文法,如果是则打印其分析表;
(4)输入一个句子,如果该句子合法则输出与句子对应的语法树;
能够输出分析过程中每一步符号栈的变化情况。
如果该句子非法则进行相应的报错处理。...
分类:
其他好文 时间:
2014-06-22 19:02:34
阅读次数:
199