1、安装JDK并设置环境变量 2、上传安装包 3、解压 4、设置环境变量# vi ~/.bash_profile或vi /etc/profile5、进入hive shell# hive shell或# hive 6、常见操作 查看数据库清单hive> show databses; 查看表清单hive...
分类:
其他好文 时间:
2014-07-12 00:27:32
阅读次数:
347
最近从师兄手上接了一个C#的项目,需要用到MDI窗体,可是每当我显示子窗体的时候会有一次“闪烁”,很明显,看起来非常不爽,查找许久,知道是每次在show()子窗体的时候都会调用子窗体构造函数重绘窗体,其中需要将子窗体的尺寸调整到我在程序中设置的大小,无论我这样设置,这个窗口大小变化总会在show()...
show create table stu;//显示建表语句create table t1(t enum('a','b','c'));insert into t1 values('a');create table t2(t set('a','b','c'));insert into t2 value...
分类:
数据库 时间:
2014-07-09 13:19:42
阅读次数:
197
grails2.3.x创建plugin时,默认的Config.groovy只有简单的log设置,这时候,页面添加数据之后,正确的逻辑是show新增的数据,但却变成404,需要在Config.groovy中增加以下代码:grails.mime.types=[//thefirstoneisthedefaultformatall:‘*/*‘,//‘all‘mapsto‘*‘orthefirstavaila..
分类:
其他好文 时间:
2014-07-09 08:38:45
阅读次数:
280
题目链接:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=12811384599010340All in AllAcceptedC++0.0262014-07...
分类:
其他好文 时间:
2014-07-08 21:50:11
阅读次数:
230
show git show in Vim
//show files for a commit in vim tabs
vim -pn $(git show --pretty="format:" --name-only SHAxxxx )...
分类:
其他好文 时间:
2014-07-08 19:54:35
阅读次数:
199
在MySQL中,我们可以将一个值或一个查询结果保存的一个用户自定义的变量中,然后在后面的语句在应用。
本文介绍了SET和DECLARE的定义和声明变量的用法。...
分类:
数据库 时间:
2014-07-08 17:26:55
阅读次数:
249
it is much easier to get the same result through PHP because the PHP language offers some global constant variables and built-in functions....
分类:
Web程序 时间:
2014-07-08 12:48:07
阅读次数:
196
关于 Extjs 的 load mask 的使用,可以参考:
[Ext JS 4] 实战之Load Mask(加载遮罩)的显示与隐藏
一般而言,在如下情况下可能要使用grid 的 reconfigure功能:
1. 改变grid 的显示栏位 (增加或更换, 这和 hide , show 已经有的栏位不同)
2. 切换grid 的View 和 Edit 模式(这里面的内容就比较多了)
这里要讨论的问题是: 在 reconfigure 的时候, grid 是否可以有 load mask 的遮罩效果。...
分类:
Web程序 时间:
2014-07-08 10:35:51
阅读次数:
281
Given an input string, reverse the string word by word.For example,Given s = "the sky is blue",return "blue is sky the".click to show clarification.Cl...
分类:
其他好文 时间:
2014-07-08 10:26:31
阅读次数:
240