前提你得安装有Hadoop 我的版本hadoop2.3-cdh5.1.01、下载maven包2、配置M2_HOME环境变量,配置maven 的bin目录到path路径3、export MAVEN_OPTS="-Xmx2g -XX:MaxPermSize=512M -XX:ReservedCodeCa...
分类:
其他好文 时间:
2014-08-27 18:37:18
阅读次数:
252
ALTER proc [dbo].[usp_EmailLongRunningSQL]
as
begin
declare@LongRunningQueries AS TABLE
(
lrqId int IDENTITY(1,1) PRIMARY KEY,
spid int NULL,
batch_duration bigintNULL,
program_namenvarchar(50...
分类:
数据库 时间:
2014-08-27 12:58:07
阅读次数:
295
Ubuntu 版本:Ubuntu 12.04.5 LTS配置环境变量$ cat /etc/environment PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"export http_pro...
分类:
其他好文 时间:
2014-08-27 12:22:17
阅读次数:
201
ModelBatch的通常用法:Batch batch = new ModelBatch();batch.begin(camera);batch.render(renderable);batch.end();先来看ModelBatch.begin()函数:public void begin (fin...
分类:
其他好文 时间:
2014-08-27 01:36:46
阅读次数:
344
public function test(){ header("Content-type:application/vnd.ms-excel"); header("Content-Disposition:attachment;filename=export_dat...
分类:
Web程序 时间:
2014-08-26 17:10:26
阅读次数:
700
http://onebyonedesign.com/flash/particleeditor/这个原来是为flash starling设计的粒子系统编辑器,但实际上,还是能兼容cocos2d的。只需要选中Export按钮下方的“include .plist file”。在Cocos2d中使用更简单,...
分类:
Web程序 时间:
2014-08-25 22:24:34
阅读次数:
308
set 用来显示本地变量env 用来显示环境变量export 用来显示和设置环境变量set 显示当前shell的变量,包括当前用户的变量env 显示当前用户的变量export 显示当前导出成用户变量的shell变量每个shell有自己特有的变量(set)显示的变量,这个和用户变量是不同的,当前用户变...
分类:
系统相关 时间:
2014-08-24 19:20:32
阅读次数:
262
DownLoad:
http://edelivery.oracle.com
Prepare(Source And Target DB):
Add Environment Varible
vi /home/oracle/.bash_profile
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/li...
分类:
数据库 时间:
2014-08-24 11:43:32
阅读次数:
392
@RequestMapping(value="ddd.do")publicvoidddd(HttpServletResponseresponse){try{List<AsWp>list=asWpService.findAll();HSSFWorkbookwb=export(list);response.setContentType("application/vnd.ms-excel");response.setHeader("Content-disposition","p_w_upload;fil..
分类:
编程语言 时间:
2014-08-24 10:22:22
阅读次数:
213
1、~/.bash_profile文件添加一下内容并执行source ~/.bash_profile export NLS_LANG=AMERICAN_AMERICA.ZHS16GBK2、/etc/sysconfig/i18n文件修改为以下内容并执行source /etc/sysconfig/i1....
分类:
系统相关 时间:
2014-08-23 22:53:31
阅读次数:
212