软考过后又进入了紧张的B/S学习阶段,由于自己的进度比较慢,所以更要加进学习。现在就来总结下JQuery的一些基础知识:
JQuery定义
jQuery是一套跨浏览器的JavaScript库,简化HTML与JavaScript之间的操作。其宗旨是——WRITE
LESS,DO MORE,写更少的代码,做更多的事情。
JQuery特点
1、以强大的CSS...
分类:
Web程序 时间:
2014-06-11 00:39:35
阅读次数:
350
先来看一下写文件函数write的执行过程:
ret = write()...
分类:
系统相关 时间:
2014-06-11 00:11:54
阅读次数:
339
transport代表网络上两个节点的连接。它描述了连接的具体细节,如TCP还是UDP。transports实现了ITransport接口,包含以下方法write:以非阻塞的方式向连接写数据。writeSequence:向连接写入字符串列表。(适合面向行的协议)loseConnection:写入所有...
分类:
其他好文 时间:
2014-06-10 09:34:29
阅读次数:
198
戳我去解题Write a function to find the longest
common prefix string amongst an array of strings.class Solution {public: string
longestCommonPrefix(vecto...
分类:
其他好文 时间:
2014-06-10 08:29:55
阅读次数:
189
题目描述:
Write a function to find the longest common prefix string amongst an
array of strings.
很简单的一道题目,但是我写了两个不一样的版本,运行时间确实数倍之差。。贴代码如下:
版本1:
{CSDN:CODE:384511}
这个版本的运行时间为 44 ms...
分类:
其他好文 时间:
2014-06-10 08:18:58
阅读次数:
291
$each 配合 $addToSet :
只将不存于数组 field 中的多值加入到field中,去重
db.COLLECTION.update(
,
{
$addToSet: {
: {
$each: [ , ... ]
}
}
}
)
$each 配合 $push:
将多值压入数组 field 中,不去重
db.COLLE...
分类:
数据库 时间:
2014-06-10 06:32:12
阅读次数:
555
IntroductionThis page is a brief overview of
working with the MongoDB Java Driver.For more information about the Java API,
please refer to theonline A...
分类:
数据库 时间:
2014-06-10 00:56:32
阅读次数:
931
一次总结两道题,两道题目都比较基础Description:Write a function to
find the longest common prefix string amongst an array of strings.分析:
这道题目最重要的知道什么叫prefix前缀, 否则一不小心就做...
分类:
其他好文 时间:
2014-06-09 21:08:16
阅读次数:
224
安装scp mongodb-linux-x86_64-2.6.0.tgz
user@host:/home/user/ssh user@hosttar zxvf mongodb-linux-x86_64-2.6.0.tgzmv
mongodb-linux-x86_64-2.6.0 mongodbcd....
分类:
数据库 时间:
2014-06-09 20:43:24
阅读次数:
226
C:\Windows\System32\mshtml.dll1、VS2010中引用Microsoft.mshtml之后,要修改这个引用的“嵌入互操作类型”为False。2、调用doc.write方法的时候必须通过IHTMLDocument2接口来调用,否则报错“错误的类型”,在google上搜“ty...
分类:
Web程序 时间:
2014-06-09 16:48:46
阅读次数:
247