主要是版本不太对。在http://wiki.eclipse.org/EGit/FAQ#Where_can_I_find_older_releases_of_EGit.3F 中找到对应的版本,设置就OK了!http://wiki.eclipse.org/EGit/FAQ#Where_can_I_fin...
分类:
系统相关 时间:
2015-11-02 22:35:48
阅读次数:
256
NSBundle介绍:它是一个单例类,用来加载资源bundle是一个目录,其中包含了程序会使用到的资源. 这些资源包含了如图像,声音,编译好的代码,nib文件(用户也会把bundle称为plug-in). 对应bundle,cocoa提供了类NSBundle.我们的程序是一个bundle. 在Fin...
分类:
移动开发 时间:
2015-10-28 01:11:48
阅读次数:
173
1、共同的打开文件方式: fin.open("test.txt",ios::binary) fout.open("test.txt",ios::binary) fboth.open("test.txt",ios::in|ios::out|ios::binary...
分类:
编程语言 时间:
2015-10-27 00:11:40
阅读次数:
395
1. ?访问hadoop官网下载hadoop-2.7.1-src.tar.gz tar?-zxvf?hadoop-2.7.1-src.tar.gz
cd?hadoop-2.7.1-src
vi?BUILDING.txt Requirements:
*?Unix?System
*?JDK?1.7+
*?Maven?3.0?or?later
*?Fin...
分类:
其他好文 时间:
2015-10-26 09:22:11
阅读次数:
618
做题的时候遇到一个问题,TCP关闭的时候到底是三次还是四次握手,如果是三次,少了哪部分?按照 -第五版-谢希仁然而对于TCP关闭,有的地方能找到 FIN-ACK-FIN-ACK 有点地方却说 (ACK, FIN) - ACK - (ACK, FIN) - ACK还有 FIN-...
分类:
其他好文 时间:
2015-10-26 00:15:42
阅读次数:
253
在使用find命令的-exec选项处理匹配到的文件时,find命令将所有匹配到的文件一起传递给exec执行。但有些系统对能够传递给exec的命令长度有限制,这样在find命令运行几分钟之后,就会出现溢出错误。错误信息通常是“参数列太长”或“参数列溢出”。这就是xargs命令的用处所在,特别是与fin...
分类:
系统相关 时间:
2015-10-25 09:33:48
阅读次数:
339
#!/bin/bash echo $1 echo $# if [ ! $# -eq 1 ]; then echo "usage: ./gbk2utf8.sh src" exit 0 fi from=$1 find $from -type d -exec mkdir -p utf8/{} \; fin...
分类:
编程语言 时间:
2015-10-23 16:10:33
阅读次数:
190
net.ipv4.ip_forward=0
net.ipv4.conf.default.rp_filter=1
net.ipv4.conf.default.accept_source_route=0
kernel.sysrq=0
kernel.core_uses_pid=1
net.ipv4.tcp_syncookies=1
net.ipv4.tcp_tw_reuse=1
net.ipv4.tcp_tw_recycle=1
net.ipv4.tcp_fin_timeout=30
net.ipv4.tcp_ma..
分类:
其他好文 时间:
2015-10-20 19:51:01
阅读次数:
259
所谓内核优化,主要是在Linux系统中针对业务服务应用而进行的系统内核参数优化,优化并无特殊的标准,下面以常见生产环境linux的内核优化为例讲解,仅供大家参考:net.ipv4.tcp_fin_timeout=2net.ipv4.tcp_tw_reuse=1net.ipv4.tcp_tw_recycle=1net.ipv4.tcp_syncookies=1net.ip..
分类:
其他好文 时间:
2015-10-14 10:33:56
阅读次数:
337
Design and implement a TwoSum class. It should support the following operations:addandfind.add- Add the number to an internal data structure.find- Fin...
分类:
其他好文 时间:
2015-10-13 10:19:29
阅读次数:
139