1 先找到指定的提交id,比如cc451ef67a301003bbaf5bf616e08f1a3221268e2 到git代码目录中,敲命令制作Patch git format-patchcc451ef67a301003bbaf5bf616e08f1a3221268e3 命令执行完成后,在当前目录....
分类:
其他好文 时间:
2015-05-12 18:45:23
阅读次数:
243
//时间格式化函数Date.prototype.format = function (format) { var o = { "M+": this.getMonth() + 1, //month "d+": this.getDate(), //day ...
分类:
Web程序 时间:
2015-05-12 15:16:49
阅读次数:
154
如题
我们在写可变参数列表函数之前,先来了解一下什么是可变参数列表函数。
我们在c语言编程中有时会遇到 一些参数个数可变的函数,例如printf()函数,其函数原型为:
int printf(const char* format,…);
它除了有一个参数format固定以外,后面跟的参数个数和类型是可变的(用三个点“...”做参数占位符),实际调用时可以有以下的形式:
printf(“%...
分类:
其他好文 时间:
2015-05-12 13:41:27
阅读次数:
160
How many prime numbersTime Limit: 1000msMemory Limit: 32768KBThis problem will be judged onHDU. Original ID:213864-bit integer IO format:%I64d Java cl...
分类:
其他好文 时间:
2015-05-12 13:17:52
阅读次数:
102
今天在使用Android Studio 进行编译时,发现了AAR 的压缩包,里面包含了资源文件及class文件等!之后查询了有关AAR 的说明:1.AAR说明文档地址;http://tools.android.com/tech-docs/new-build-system/aar-formatAAR Format
The 'aar' bundle is the binary distribution...
分类:
移动开发 时间:
2015-05-12 11:21:51
阅读次数:
149
Git没有SVN的导出功能,不能像 svn export url 那样,将某个版本的代码导出为不带版本控制文件的文件夹。Git提供了archive命令,可以把版本的文件流导出。可以将Git的特征值加入到导出的文件名中,例如:git archive --format zip -o site-$(git...
分类:
其他好文 时间:
2015-05-11 23:43:02
阅读次数:
260
mysql日期和字符相互转换方法 date_format(date,'%Y-%m-%d') -------------->oracle中的to_char(); str_to_date(date,'%Y-%m-%d') -------------->oracle中的to_date(); %Y:代表4位...
分类:
数据库 时间:
2015-05-11 21:22:33
阅读次数:
190
environment: already install xp,win7 and win8PE, left 87G space to install Debian, this space not format for any tpye.Download Debian system image, an...
分类:
其他好文 时间:
2015-05-11 17:21:22
阅读次数:
161
String msgStr="my name is {0} and my age is {1};"; String result = MessageFormat.format(msgStr,"tom",20); System.out.println(result); //输出: my nam...
分类:
其他好文 时间:
2015-05-11 12:57:27
阅读次数:
109
参考资料:http://www.delphipages.com/forum/showthread.php?t=103412var dtpDate: TDateTimePicker;begin dtpDate.Format := 'yyyy-MM-dd'; ShowMessage('时间:' + Fo...