比如需要生成sqoop import语句,用newlisp脚本:(set 'import-cmd (format "%s/sqoop-import --options-file media_options.txt --table %s --where \"ID = 2\" --target-dir %s -m 1 --fields-terminated-by '%s' --lines-term...
分类:
其他好文 时间:
2014-06-11 07:06:00
阅读次数:
351
给定一个整数序列,求解一个子序列,子序列之和等于给定目标值。子序列满足以下条件:
1)子序列是有序的
2)子序列的元素个数不限,可以是给定元素的重复元素。
3)结果中的子序列是唯一的
原题描述如下:
Given a set of candidate numbers (C) and a target number (T), find all unique combinations ...
分类:
其他好文 时间:
2014-06-11 06:26:03
阅读次数:
302
1.首先使用RMAN做一次备份(必需有次备份)
rman target /
backup database;
or
backup database root;
backup pluggable database pdb;
2.在pdb中创建test用户并授权
sqlplus / as sysdba
alter session set container=pdb;
cr...
分类:
数据库 时间:
2014-06-11 00:37:06
阅读次数:
403
首先,查看SDK版本,一般有两处,第一处是project.properties文件中的target=android-8...
分类:
移动开发 时间:
2014-06-10 14:14:31
阅读次数:
223
目标了解oracle内存管理方式掌握ASMM管理方式掌握AMM管理方式监控内存使用
学习一个知识点时,最好先了解其历史。ORACLE近期的版本都对内存管理做了简化,从9i通过PGA_AGGREGATE_TARGET参数实现PGA的自动管理,10g通过Automatic
Shared Memory ....
分类:
数据库 时间:
2014-06-10 09:55:42
阅读次数:
326
转载:http://blog.csdn.net/li4951/article/details/8693212leetcode上有好几道关于数组中几个数据和为target的题目。恰好正在看剑指offer中“和为s的两个数组这章”,据此思想,leetcode上的三道题目都被我解决了。总结一下。1.two...
分类:
其他好文 时间:
2014-06-10 08:35:50
阅读次数:
253
1、先运行vsftpd服务:
#service vsftpd start
2、通过iptables开放21号端口
(1) 先查看iptables设置:
#iptables -nL
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT al...
分类:
系统相关 时间:
2014-06-10 07:46:14
阅读次数:
392
maven打包:
项目右键Run as-->Maven build...--> 出来下面的界面,注意红色部分的填写,Goals填写package表示打包,下面的Skip Tests表示打包时不执行单元测试。
点击Run 就打包成功了,jar包在空间下/项目名/target下。没有打包配置文件。...
分类:
系统相关 时间:
2014-06-10 06:42:57
阅读次数:
282
原题地址:https://oj.leetcode.com/problems/combination-sum/题意:Given
a set of candidate numbers (C) and a target number (T), find all unique
combinations in...
分类:
编程语言 时间:
2014-06-09 17:50:09
阅读次数:
333
原题地址:https://oj.leetcode.com/problems/combination-sum-ii/题意:Given
a collection of candidate numbers (C) and a target number (T), find all unique
combi...
分类:
编程语言 时间:
2014-06-09 17:41:58
阅读次数:
320