requirejs是一个简单的javascript框架,支持模块化编码和模块的异步加载。在requireJS中模块可以分为:匿名模块和命名模块这2种。jquery从1.7版本开始支持AMD(Asynchronous Module Definition),并且是一个命名模块,模块名就是jquery。如果是命名模块,那么使用require加载该模块的时候,模块名一定要正确,不能随意修改。匿名模块具有更大的灵活性,加载匿名模块的时候,名称可以随意指定。...
分类:
Web程序 时间:
2014-10-18 18:24:17
阅读次数:
231
DDL(data definition language)数据定义语言:CREATE ALTER DROP 对象 TRUNCATE TABLE 表名;DML(data manipulation language)数据操纵语言:INSERT UPDATE DELETE SELECT常见oracle数据...
分类:
数据库 时间:
2014-10-18 15:30:39
阅读次数:
184
Given a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?Solution:快慢指针。 1 /** 2 * Definition for s....
分类:
其他好文 时间:
2014-10-17 15:16:48
阅读次数:
179
.net中Web应用程序和web网站的区别ScenarioWeb Application ProjectWeb Site ProjectProject definition跟 Visual Studio .NET 2003 类似,由于项目文件的存在,只有被项目文件所引用的文件才会在Solution ...
分类:
Web程序 时间:
2014-10-17 11:31:17
阅读次数:
262
Given a list, rotate the list to the right by k places, where k is non-negative.
For example:
Given 1->2->3->4->5->NULL and k = 2,
return 4->5->1->2->3->NULL.
/**
* Definition for singly-linked...
分类:
其他好文 时间:
2014-10-16 16:28:32
阅读次数:
130
1.什么是aidl:aidl是 Android Interface definition language的缩写,一看就明白,它是一种android内部进程通信接口的描述语言,通过它我们可以定义进程间的通信接口
icp:interprocess communication :内部进程通信
2.既然aidl可以定义并实现进程通信,那么我们怎么使用它呢?文档/android-sdk/...
分类:
系统相关 时间:
2014-10-16 13:02:42
阅读次数:
263
# Definition for a binary tree node# class TreeNode:# def __init__(self, x):# self.val = x# self.left = None# self.right ...
分类:
其他好文 时间:
2014-10-16 03:27:21
阅读次数:
162
Given a list, rotate the list to the right by k places, where k is non-negative.
For example:
Given 1->2->3->4->5->NULL and k = 2,
return 4->5->1->2->3->NULL.
/**
* Definition for singly-link...
分类:
其他好文 时间:
2014-10-15 16:29:21
阅读次数:
119
Given a collection of intervals, merge all overlapping intervals.
For example,
Given [1,3],[2,6],[8,10],[15,18],
return [1,6],[8,10],[15,18].
参照insert intervals
/**
* Definition for an interva...
分类:
其他好文 时间:
2014-10-14 22:48:09
阅读次数:
125
sqwswwEEEeUntitled Document 复习提纲 stereographic projection (definition and the way to find a projecting point) calculate square root for a given complex number triangle inequality differentiatio...
分类:
其他好文 时间:
2014-10-14 14:01:29
阅读次数:
412