1,mount虚拟cdrom # mount /dev/cdrom /mnt/cdrom 2, ls一下,看有没有 # cd /mnt/cdrom # ls –l 3,copy 文件到/tmp目录: 4,到/tmp目录,解压,安装: # tar zxvf VMwareTools-9.6.2-1688...
分类:
其他好文 时间:
2014-07-07 09:18:15
阅读次数:
255
typedef void (^dd)(void);@property (strong) dd a ;@property (copy) dd a ;__weak id b=self; self.a=^{ NSLog(@"%@",self); };编译器都会有警告:循环引用造成的内存泄露---...
分类:
其他好文 时间:
2014-07-07 09:17:36
阅读次数:
221
refer linkThe"*and"+registers are for the system's clipboard (:help registers). Depending on your system, they may do different things. For instance, ...
分类:
其他好文 时间:
2014-07-03 12:10:56
阅读次数:
195
翻译整理自:http://web.mit.edu/~mkgray/project/silk/root/afs/sipb/project/git/git-doc/git-clone.html在使用git来进行版本控制时,为了得一个项目的拷贝(copy),我们需要知道这个项目仓库的地址(Git URL)...
分类:
其他好文 时间:
2014-07-03 10:05:55
阅读次数:
206
来源:剑指offer逆序对定义:a[i]>a[j],其中i= begin && j >= mid + 1) { if(array[i] > array[j]) { copy[pos--] = array[i--]; ...
分类:
编程语言 时间:
2014-07-02 22:02:18
阅读次数:
287
1) Append a slice b to an existing slice a: a = append(a, b...)2) Copy a slice a to a new slice b: b = make([]T, len(a))copy(b, a)3) Delete item at in...
分类:
移动开发 时间:
2014-07-02 18:52:39
阅读次数:
182
ant构建文件时基于xml文件编写的,默认名称为build.xmlbulid.xml示例<?xmlversion="1.0"?><projectname="helloWorld"default="copy"> <targetname="copy"description="copy"> <copytodir="D:\AntTest"> <filesetdir="D:\JavaTest"/> </co..
分类:
其他好文 时间:
2014-07-02 16:18:41
阅读次数:
215
如何禁止C++ 类支持拷贝
C++ 编译器默默地为你做了不少工作
当你写下
class Empty {};
//其实等价于
class Empty {
public:
Empty() { ... } //default constructor
Empty(const Empty &rhs) { ... } //copy constructor
~Empty() { ......
分类:
编程语言 时间:
2014-07-01 08:04:25
阅读次数:
274
题目
A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null.
Return a deep copy of the list.
方法
publi...
分类:
其他好文 时间:
2014-07-01 07:49:33
阅读次数:
186
直接上代码
ZeroClipboard Test
.line {
margin-bottom: 20px;
}
/* 复制提示 */
.copy-tips {
position: fixed;
z-index: 9999;
bottom: 50%;
left: 50%;
margin: 0 0 -20px -80px;
background-color: rgba(0,...
分类:
其他好文 时间:
2014-07-01 07:04:53
阅读次数:
245