Mac下想看隐藏文件夹,没找到地方设置。
然后找到了下面的命令行。
显示/隐藏Mac隐藏文件命令如下(注意其中的空格):
显示Mac隐藏文件的命令:defaults write com.apple.finder AppleShowAllFiles -bool true
隐藏Mac隐藏文件的命令:defaults write com.apple.finder AppleShowA...
分类:
其他好文 时间:
2014-05-15 11:12:51
阅读次数:
195
摘自:http://www.poluoluo.com/jzxy/201204/163035.html在逛codeproject网站的时候,突然看到一篇文章:How
to write plugin in Jquery.如果对E文好的同学 ,可以看上面的连接。现在我把上面网站的及结合自己的想法写这篇文章...
分类:
Web程序 时间:
2014-05-15 10:36:02
阅读次数:
405
直接上代码function test () { } document.write(typeof
test() + "") document.write(typeof new test() +
"")输出结果undefinedundefined好理解,因为test函数没有返回值。那new的时候为什么会...
分类:
编程语言 时间:
2014-05-15 10:00:35
阅读次数:
367
【题目】
A sequence of N positive integers (10 N , each of them less than or equal 10000, and a positive integer S (S <
100 000 000) are given. Write a program to find the minimal length of the subse...
分类:
其他好文 时间:
2014-05-15 07:58:17
阅读次数:
329
Same Tree
Total Accepted: 16072 Total
Submissions: 38790My Submissions
Given two binary trees, write a function to check if they are equal or not.
Two binary trees are considered equal i...
分类:
其他好文 时间:
2014-05-15 04:00:39
阅读次数:
319
Series Determination
题目描述
Boudreaux and Thibodeaux aren't very good at math, so they need you to write a program that can de...
分类:
其他好文 时间:
2014-05-15 01:28:56
阅读次数:
313
#(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
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
出现no write has been done on this connection解决方案...
分类:
数据库 时间:
2014-05-14 19:42:51
阅读次数:
403
//只扩展为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