755 vs 644在linux下载了Qt的软件仓库,拷贝了一份到windows下。在 msysgit 下,发现所有的文件都被修改了。用 git diff 查看,发现是:$ git diff util/webkit/mkdist-webkitdiff --git a/util/webkit/mkdi...
分类:
其他好文 时间:
2014-06-29 00:40:32
阅读次数:
678
LIGHTBOX EXAMPLE 可以根据自己要求修改css样式 点击这里打开窗口 asdfasd This is the lightbox content. Close ...
分类:
其他好文 时间:
2014-06-28 23:09:50
阅读次数:
341
Given an input string, reverse the string word by word.For example,Given s = "the sky is blue",return "blue is sky the".此题要注意的几个情况是:(1)输入字符串可能含有前缀0和后缀...
分类:
其他好文 时间:
2014-06-28 22:51:26
阅读次数:
261
Loops are often used in programs that compute numerical results by starting with an approximate answer and iteratively improving it.For example, one w...
分类:
其他好文 时间:
2014-06-28 20:35:11
阅读次数:
252
Examples:// Example: 加载并执行一个 JS 文件。$.ajax({ type: "GET", url: "test.js", dataType: "script" });// Example: 保存数据到服务器,成功时显示信息。$.ajax({ type: "PO...
分类:
Web程序 时间:
2014-06-21 11:04:01
阅读次数:
207
1.建立一个源文件(C, C++, D, Java, Fortran, Yacc, Lex, Qt,SWIG 以及 Tex/Latex)和一个SConstruct文件; Program('myscons, 'helloscons.c')2.编译scons,也可采用scons -Q,-Q参数是减少编译...
分类:
其他好文 时间:
2014-06-21 08:42:19
阅读次数:
177
一、创建表 在官方的wiki里,example是这种:Sql代码 CREATE[EXTERNAL]TABLE[IFNOTEXISTS]table_name[(col_namedata_type[COMMENTcol_comment],...)][COMMENTtable_comment][PARTI...
分类:
数据库 时间:
2014-06-21 08:34:09
阅读次数:
287
Given a sorted linked list, delete all duplicates such that each element appear only once.For example, Given 1->1->2, return 1->2. Given 1->1->2->3->3...
分类:
其他好文 时间:
2014-06-21 07:30:11
阅读次数:
157
[1.1]使用库语言排序算法本文地址: http://blog.csdn.net/caroline_wendy如果不缺少内存, 可以直接使用库的排序算法.使用库语言的排序程序:C语言性能最好的算法是快速排序(quick sort).C++性能最好的是集合(set)的排序算法.C语言代码:/*
* main.cpp
*
* Created on: 2014.6.12
* Auth...
分类:
其他好文 时间:
2014-06-18 00:40:02
阅读次数:
269
Given a set of distinct integers,
S, return all possible subsets.
Note:
Elements in a subset must be in non-descending order.The solution set must not contain duplicate subsets.
For example,
...
分类:
其他好文 时间:
2014-06-18 00:39:26
阅读次数:
301