感觉可能只是适合我自己的部署习惯吧,且只针对CENTOS6及以下版本,以后有时间,可能还是要改进。。1,从VM的模块产生的虚拟机,如何快速搞定网络配置?#!/bin/bash#usage:./init_cdh_sys.sh hostname hostip#generate the host from...
分类:
其他好文 时间:
2015-04-28 08:17:58
阅读次数:
190
如何通过使用Android手机的耳机输出我们希望的波形,代码如何实现,也许你看着这篇源代码你就知道了
分类:
移动开发 时间:
2015-04-27 09:24:01
阅读次数:
202
GivennumRows, generate the firstnumRowsof Pascal's triangle.For example, givennumRows= 5,Return[ [1], [1,1], [1,2,1], [1,3,3,1], [1,4,6,4,1]...
分类:
其他好文 时间:
2015-04-26 18:18:33
阅读次数:
131
坏字符过滤 使用msf generate模块来过滤...
分类:
其他好文 时间:
2015-04-25 18:26:43
阅读次数:
238
Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.For example, given n = 3, a solution set is:"((...
分类:
其他好文 时间:
2015-04-25 11:58:22
阅读次数:
95
Asp.net MVC WebAPI 生成帮助文档时对于API的参数是自定义类型的会遇到本错误。API.Areas.HelpPage.HelpPageConfig 的Register 方法中 可以将以下代码注释去掉以消除该错误。//// Uncomment the following to use ...
分类:
移动开发 时间:
2015-04-24 18:50:20
阅读次数:
254
problem:
Given numRows, generate the first numRows of Pascal's triangle.
For example, given numRows = 5,
Return
[
[1],
[1,1],
[1,2,1],
[1,3,3,1],
[1,4,6,4,1]
]
Hid...
分类:
其他好文 时间:
2015-04-24 10:34:07
阅读次数:
102
题目Given a string containing just the characters ‘(’ and ‘)’, find the length of the longest valid (well-formed) parentheses substring.For “(()”, the longest valid parentheses substring is “()”, which h...
分类:
其他好文 时间:
2015-04-23 21:49:15
阅读次数:
156
Given n, generate all structurally unique BST's (binary search trees) that store values 1...n.
For example,
Given n = 3, your program should return all 5 unique BST's shown below.
1 3 ...
分类:
其他好文 时间:
2015-04-23 17:35:14
阅读次数:
145
网上有一篇文章说的很明白,图文来教你在eclipse下用gradle 来打包Androidhttp://blog.csdn.net/x605940745/article/details/41242687 步骤为: 1. Elipse里面导出,Generate Gradle build files 2...
分类:
其他好文 时间:
2015-04-23 15:07:45
阅读次数:
172