一、NFS服务简介 NFS 是Network File
System的缩写,即网络文件系统。一种使用于分散式文件系统的协定,由Sun公司开发,于1984年向外公布。功能是通过网络让不同的机器、不同的操作系统能够彼此分享个别的数据,让应用程序在客户端通过网络访问位于服务器磁盘中的数据,是在类Unix....
分类:
系统相关 时间:
2014-06-09 00:24:52
阅读次数:
372
#include #include #include #include #include using
namespace std;ifstream& open_file(ifstream&,const string&);int
main(int argc, char **argv){ map ...
分类:
编程语言 时间:
2014-06-09 00:04:20
阅读次数:
334
问题重现:
MySql 数据库中,一给列的内容中包括 “.wmv” 需要将 “.” 后的wmv格式 换为“flv”
解决办法
update video_info set file_path=substring(file_path,1,length(file_path)-3);
先执行以上SQL进行删除;
update video_info set file_path =...
分类:
数据库 时间:
2014-06-08 16:38:39
阅读次数:
262
freemarker自定义标签
1、错误描述
freemarker.core.ParseException: Unexpected end of file reached.
at freemarker.core.FMParser.generateParseException(FMParser.java:4702)
at freemarker.core.FMParser.jj_co...
分类:
其他好文 时间:
2014-06-08 10:00:35
阅读次数:
226
1、设置编码为UTF-8
在Windows-
选择右侧框中的Text File encoding,改为utf-8
2、导入 格式化模板
windows-》preference—》java-》code style-》code template
点击import按钮
3、字体大小
Window
- Preferences-》General...
分类:
系统相关 时间:
2014-06-08 09:43:18
阅读次数:
245
通过ls -al命令可以查看到相应档案下的包含的文件及目录,如下;
drwx r-- r--. 1 root root ......
其中第一个字符分为如下几种情况:
1、当为【d】时为目录
2、当为【-】时为档案
3、当为【l】时为连接档(link file)
4、当为【b】时,表示为装置文件里面的可供存储的接口设备(可随机存取装置)
5、当为【c】时,表示为装置文件里面的串行端口...
分类:
其他好文 时间:
2014-06-08 05:53:13
阅读次数:
253
查看帮助命令
bixiaopeng@bixiaopeng ~$ adb shell screencap -v
screencap: invalid option -- v
usage: screencap [-hp] [-d display-id] [FILENAME]
-h: this message
-p: save the file as a png.
-d: speci...
分类:
移动开发 时间:
2014-06-08 05:06:26
阅读次数:
353
在测试sqoop语句的时候,一定要限制记录数量,否则就像我刚才,等了1个多小时,才看到测试结果。????sqoop-import --options-file media_options.txt --table my_table --where "ID = 2" --target-dir /user/jenkins/bigdata/import/20140607 -m 1 --fields-ter...
分类:
其他好文 时间:
2014-06-08 04:57:18
阅读次数:
350
Intent intent = getIntent();
String contentUri = null;
Uri uri =null;
if (intent.getData() != null) {
uri = intent.getData();
contentUri = "file".e...
分类:
移动开发 时间:
2014-06-08 04:37:56
阅读次数:
425
23***文件名带空格的文件把文件名中间的空格加双引号。例:rmmy"空格"file 进入或者执行文件名带空格文件的命令格式也一样 24更改MAC地址00:1a:73:d7:3b:e2sudoifconfigeth2downsudoifconfigeth2hwetherXX:XX:XX:XX:XX:XXsudoifconfigeth2up以上修改重启后会失效,若要永久..
分类:
其他好文 时间:
2014-06-08 02:29:05
阅读次数:
312