Preloading images is a great way to improve the user experience. When images are preloaded in the browser, the visitor can surf around your site and e...
分类:
编程语言 时间:
2014-08-18 15:56:32
阅读次数:
362
Hadoop的各个组件是通过XML配置的。
2.0以后,配置文件的位置发生了小变化,我安装的Hadoop 2.4.1,配置文件的位置在$HADOOP_INSTALL/etc/hadoop/
在初期运行MapReduce DEMO时,我们只需关注三个基本配置就好:
core-site.xml
hdfs-site.xml
yarn-site.xml(2.0后的版本,MapReduce运行在y...
分类:
其他好文 时间:
2014-08-18 14:33:26
阅读次数:
272
运行ansbile时候报错:[root@localhostpyhook-2014-06-09-17:47:17-2454]#ansibleTraceback(mostrecentcalllast):File"/usr/bin/ansible",line25,in<module>fromansible.runnerimportRunnerFile"/usr/lib/python2.6/site-packages/ansible/runner/__init__.py",line37,in..
分类:
其他好文 时间:
2014-08-15 14:53:19
阅读次数:
203
#!/usr/bin/perl -w
use strict;
use Net::SMTP;
my $to = ‘toMail‘;
my $from = ‘fromMail‘;
my $site = ‘mail.126.com‘;
my $smtp_host = ‘smtp.126.com‘;
my $pop_host = ‘pop3.126.com‘;
my $username =...
分类:
Web程序 时间:
2014-08-15 13:04:18
阅读次数:
236
本文讲解MyEclipse(MyEclipse10)的三种方法,以SVN为例 Eclipse update site URL:http://subclipse.tigris.org/update_1.8.x 下载地址:http://subclipse.tigris.org/files/docum.....
分类:
系统相关 时间:
2014-08-15 05:03:57
阅读次数:
255
301.Which command is used to configure RMAN to perform a compressed backup for every backupexecuted?A. BACKUP AS COMPRESSED BACKUPSET DATABASEB. BACKU...
分类:
其他好文 时间:
2014-08-14 23:22:36
阅读次数:
393
文件监控DIMstrDateDIMstrDatestringOldDIMstrPath01,strPath02,strPath03DIMfsDIMTextbodystrDate=DatestrDatestringOld=Year(strDate)&Right("0"&Month(strDate),2)&Right("0"&Day(strDate),2)&".rar"strPath="D:\backup\10.65.14.61\"&strDatestrin..
在SharePoint的开发中,经常会有客户提到网站操作上的栏目过多,其实,我们除了可以通过Feature的方式添加,还可以通过服务器端对象模型的方式添加;下面,让我用简单的例子,给大家介绍一下;
1、操作SiteAction,添加“Add by Linyu”,隐藏“Site Settings”,效果如下图:
2、我是通过webpart的方式,修改当前页面的菜单,代码截图:
...
分类:
Web程序 时间:
2014-08-14 14:04:38
阅读次数:
238
1 2 3 24 25 26 hbase.rootdir 27 file:///tmp/hbase-${user.name}/hbase 28 The directory shared by region servers and into 29 ...
分类:
其他好文 时间:
2014-08-14 10:32:28
阅读次数:
279
在10g中,可以使用以下几种方法创建备库控制文件
RMAN> backup current controlfile for standby format 'c:\ctl_%U';
RMAN> backup full database format 'c:\backup\full_%U' include current controlfile for standby;
RMAN> co...
分类:
数据库 时间:
2014-08-13 13:04:16
阅读次数:
249