tmux里面用鼠标滚轮来卷动窗口内容在 tmux里面,因为每个窗口(tmux
window)的历史内容已经被tmux接管了,所以原来console/terminal提供的Shift+PgUp/PgDn所显示的内容并不是当前窗口的历史内容,所以要用C-b
[进入copy-mode,然后才能用PgUp/...
分类:
其他好文 时间:
2014-05-16 03:48:27
阅读次数:
374
【Multiple build commands for output file】
copy了多个同名文件,就会出现此警告,因为ios机制,所有copy的资源都放置在根目录下。
解决方法中在BuildPhases在CopyBundleResource中,只保留一个资源,或者重命名资源。
分类:
其他好文 时间:
2014-05-16 01:04:22
阅读次数:
251
先看看定义该类的头文件——CCRef.h 1
/**************************************************************************** 2
Copyright (c) 2010-2012 cocos2d-x.org 3 Copy...
分类:
其他好文 时间:
2014-05-15 22:01:38
阅读次数:
446
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 ...
分类:
其他好文 时间:
2014-05-15 21:00:06
阅读次数:
325
NSArray、NSSet、NSDictionary 集合类
可以用来装东西OC数组只能存放OC对象、不能存放非OC对象类型,如int、struct\enu等OC数组不能存放nil值1.NSArray 不可变数组1》.
NSArray *array1 = [NSArray array]; // 由....
分类:
其他好文 时间:
2014-05-15 10:23:07
阅读次数:
253
#(1)ssh-keygen#一直回车#(2)ssh-copy-id-i/root/.ssh/id_rsa.pub"-p2223192.168.0.100"#直接回车输入密码#(3)ssh-p2223192.168.0.100#不需要任何提示即可登录192.168.0.100,此步骤可做测试使用
分类:
其他好文 时间:
2014-05-15 01:04:19
阅读次数:
277
当在oc中调用c++中的方法时,发现说c++中的方法没定义或是找不到Undefined symbols
for architecture i386: "_desTYData", referenced from: -[TuYoo
encryptParametersWithDict:] in...
分类:
编程语言 时间:
2014-05-14 22:21:09
阅读次数:
312
oc ... 电脑上的一些 笔记 有点乱 哈 冒个泡...
分类:
其他好文 时间:
2014-05-14 21:50:10
阅读次数:
250
ReduceTask的运行
Reduce处理程序中需要执行三个类型的处理,
1.copy,从各map中copy数据过来
2.sort,对数据进行排序操作。
3.reduce,执行业务逻辑的处理。
ReduceTask的运行也是通过run方法开始,
通过mapreduce.job.reduce.shuffle.consumer.plugin.class配置shuffle的plugin,
...
分类:
其他好文 时间:
2014-05-14 20:23:57
阅读次数:
519
//只扩展为wstring,不考虑编码
std::wstringString2WString(conststd::string&str)
{
std::wstringwstr(str.length(),L‘‘);
std::copy(str.begin(),str.end(),wstr.begin());
returnwstr;
}
//只拷贝低字节至string中
std::stringWString2String(conststd::wstring&ws..
分类:
其他好文 时间:
2014-05-14 15:58:11
阅读次数:
262