android webview点击返回键返回上一个activity1 @Override2 public boolean onKeyDown(int keyCode, KeyEvent event) {3 // TODO Auto-generated method stub4...
分类:
移动开发 时间:
2014-08-18 23:30:03
阅读次数:
476
全透明代码:{background:transparent} 半透明代码:{filter:alpha(opacity=80);-moz-opacity:0.8;width:auto !important;width:100%}
分类:
Web程序 时间:
2014-08-18 12:26:04
阅读次数:
256
public class Test {
public static void main(String[] args) {
// TODO Auto-generated method stub
ClassLoader cl = Test.class.getClassLoader();
while(cl!=null) {
System.out.println(cl.getClas...
分类:
其他好文 时间:
2014-08-18 09:16:23
阅读次数:
214
添加表字段alter table table1 add transactor varchar(10) not Null;alter table table1 add id int unsigned not Null auto_increment primary key修改某个表的字段类型及指定为空....
分类:
数据库 时间:
2014-08-17 12:56:52
阅读次数:
356
求变量的数据类型,通过函数typeid(变量名).name();获得变量的数据类型。
案例如下:
#include
#include
void
main()
{
double
db = 10.9;
double *pdb
= &db;
auto
num =
pdb;
//...
分类:
编程语言 时间:
2014-08-17 02:36:51
阅读次数:
402
MFC中换行实现在mfc中编辑框允许输入多行时,换行符被表示为即“\r\n”,用ascii码表示为13 10如果为编辑框中想要输入换行,就请将编辑框的属性:Auto HScroll 设置为 FalseMultiLine 设置为 TrueWant Return 设置为 Truetxt文本框中的换行实现...
分类:
其他好文 时间:
2014-08-15 22:25:39
阅读次数:
187
通知栏 设置提醒标志符Flags功能:提醒标志符,向通知添加声音、闪灯和振动效果等设置达到通知提醒效果,可以组合多个属性使用方法(其一):Notification notify = mBuilder.build();notify.flags = Notification.FLAG_AUTO_CANC...
分类:
移动开发 时间:
2014-08-15 19:13:19
阅读次数:
2231
一、 Hive join优化
1. 尽量将小表放在join的左边,我们这边使用的hive-0.12.0,所以是自动转化的,既把小表自动装入内存,执行map side join(性能好), 这是由参数hive.auto.convert.join=true 和hive.smalltable.filesize=25000000L)参数控制(默认是25M),如果表文件大小在25M左右,可...
分类:
其他好文 时间:
2014-08-15 17:50:39
阅读次数:
272
a storage class can only be specified for objects and functionsextern修饰一个struct报错,错误原因如上,C++中存储类修饰符有auto、register、extern、static,这几种修饰符只能修饰对象或者函数,这里用ex...
分类:
系统相关 时间:
2014-08-15 17:27:59
阅读次数:
230
【以下经验】
怎么使用启动U盘给电脑ghost系统呢?安装ghost系统的步骤方法复杂吗?有些不懂安装系统的朋友会认为安装ghost系统非常复杂,一直都学不好。下面就看看小编为大家分享的ghost系统操作方法吧!
方法/步骤
第一步:准备启动U盘。
第二步:然后下载一个镜像文件,将ghost文件copy到U盘GHO目录,把文件名修改成"auto.gho"。然后拔出U盘,重启电脑。
第三...
分类:
数据库 时间:
2014-08-15 16:12:08
阅读次数:
242