一、前言git add命令主要用于把我们要提交的文件的信息添加到索引库中。当我们使用git commit时,git将依据索引库中的内容来进行文件的提交。二、基本git add表示 add to index only files created or modified and not those de...
分类:
其他好文 时间:
2014-07-03 10:22:49
阅读次数:
218
首先C-x C-f然后输入~,找到.emacs文件,根据slime官方文档说明的添加如下代码到文件末尾,重启一下emacs,slime就编译好了,然后这段代码就可以删除.否则每次启动emacs就算不用来编辑lisp代码,也会加载的.(add-to-list 'load-path "D:\\lispb...
分类:
其他好文 时间:
2014-07-02 23:21:19
阅读次数:
219
使用通配符,仅仅只是命名的时候*的位置跟{1}保持一致. 我写的这个action继承dispatchAction,parameter=method 假如里面有add方法和edit方法() 訪问add方法的时候,使用这个地址:/addPerson.do?method=add-->这个时候input.....
分类:
其他好文 时间:
2014-07-02 22:52:31
阅读次数:
321
The principle to create Object Constants is that make variables shouldn't be changed stand out using all caps and add constants as static properties t...
分类:
编程语言 时间:
2014-07-02 20:28:47
阅读次数:
210
http://stackoverflow.com/questions/6625667/jquery-click-get-value-of-attributes-of-a-href/* Add a listner to Group buttons */ $('a.preActNav').clic...
分类:
Web程序 时间:
2014-07-02 20:22:43
阅读次数:
302
通过设置headerView不可见,并且remove页眉的方式,屏幕出现了跳动。刷新数据后设置可见、add页眉,也没有出错,如果只是通过原代码来解释似乎不通。...
分类:
其他好文 时间:
2014-07-02 16:51:40
阅读次数:
229
用mybatis在mysql中保存字段精确到秒需要两个步骤。
1、现在mysql中将时间字段改为datetime 例如:alter table tablename add pay_date
datetime comment '精确到秒的时间'
2、在sql语句中直接用now(). 例如: update tj_record set is_customerHandove...
分类:
数据库 时间:
2014-07-02 15:15:37
阅读次数:
300
在Lua中函数的调用方式和C语言基本相同,如:print("Hello World")和a = add(x, y)。唯一的差别是,如果函数只有一个参数,并且该参数的类型为字符串常量或table的构造器,那么圆括号可以省略,如print "Hello World"和f {x = 20, y = 20}...
分类:
其他好文 时间:
2014-07-02 14:55:27
阅读次数:
217
The Direct I/O (Load/Store) module(即是LSU) serves as the source of all outgoing direct I/O packets(LSU用于配置发起数据读/写的SRIO设备端,发起端发送Direct IO包). With direct I/O, the RapidIO packet contains the specific add...
分类:
其他好文 时间:
2014-07-02 08:48:15
阅读次数:
472
在现有类和结构体的类型基础上,扩展新的功能。 语法:extension SomeType{// new functionality to add to SomeType goes here}An extension can extend an existing type to make itadopt one or more protocols.Where this is the case,the...
分类:
其他好文 时间:
2014-07-02 07:36:22
阅读次数:
244