通过上篇文章,我们分析了编译android时source build/envsetup.sh和lunch命令,在执行完上述两个命令后, 我们就可以进行编译android了。1. make执行make命令的结果就是去执行当前目录下的Makefile文件,我们来看下它的内容:[html] 1 ### D...
分类:
移动平台 时间:
2014-09-04 16:43:19
收藏:
0 评论:
0 赞:
0 阅读:
369
UNDO三大作用1.一致性读(consistent read)2.事务回滚(Rollback Transaction)3.实例恢复(Instance Recovery)一致性读当会话发出一条SQL查询,将当前时间的SCN号记录下来,当进程扫描到表T的数据块,再与该块头部的ITL槽(事务槽)的SCN号...
分类:
其他 时间:
2014-09-04 16:43:09
收藏:
0 评论:
0 赞:
0 阅读:
310
Both the malloc() and the calloc() functions are used to allocate dynamic memory. Each operates slightly different from the other. Both the malloc() a...
分类:
其他 时间:
2014-09-04 16:42:59
收藏:
0 评论:
0 赞:
0 阅读:
291
个体用户的喜好可能会随着时间有所改变,我们称之为concept drift(观念转移),推荐系统的一大任务就是出去暂时性的喜好的影响,而获取到用户长期喜好的features。concept drift包括新物品或新服务的出现(特定的节假日,季节性周期变化)---这些变化是群体性的变化(即大家都会.....
分类:
其他 时间:
2014-09-04 16:42:49
收藏:
0 评论:
0 赞:
0 阅读:
363
搭建local模式搭建,官网:http://hbase.apache.orgAPI:http://hbase.apache.org/apidocs/index.htmldownload:http://www.apache.org/dyn/closer.cgi/hbase/启动报错,提示javahom...
分类:
其他 时间:
2014-09-04 16:42:39
收藏:
0 评论:
0 赞:
0 阅读:
266
#虚拟网络拓扑的json数据 def topodata #@vnic = Vnic.all #flash.now[:notice] = 'Message sent!' #flash.now[:alert] = 'Message sent!' simple_json = { nodes:...
分类:
Web开发 时间:
2014-09-04 16:42:29
收藏:
0 评论:
0 赞:
0 阅读:
317
SQL
基础—高级
我们怎么存储数据
以前用各种书籍载体在上面按照特定的格式记录信息,就像现在的excel表格,
但是,如果当数据有几千万条的时候,查询就非常慢了
所以我们需要一种高效的解决方案:数据库(其实也是操作一种特殊格式的文件)
数据库不仅仅要存储数据,还要提供方便快捷的查询,修改,删除等功...
分类:
数据库技术 时间:
2014-09-04 16:42:19
收藏:
0 评论:
0 赞:
0 阅读:
316
Redis API与常用数据类型简介
分类:
Windows开发 时间:
2014-09-04 16:42:09
收藏:
0 评论:
0 赞:
0 阅读:
367
Given an unsorted array of integers, find the length of the longest consecutive elements sequence.For example,Given[100, 4, 200, 1, 3, 2],The longest ...
分类:
其他 时间:
2014-09-04 16:41:59
收藏:
0 评论:
0 赞:
0 阅读:
372
搭建的web程序出现如上图所示的错误原因程序使用以下ASP.NET 特性Membership (the SqlMembershipProvider class).Role management (the SqlRoleProvider class).Profile (the SqlProfilePr...
分类:
移动平台 时间:
2014-09-04 16:41:49
收藏:
0 评论:
0 赞:
0 阅读:
264
如有两个外部js文件: jquery-1.8.2.min.js Jqery的系统文件 LYFArray.js 和个人的===============我要将两个js文件导入一个页面的方法:============================= ----------...
分类:
Web开发 时间:
2014-09-04 16:41:39
收藏:
0 评论:
0 赞:
0 阅读:
213
private void BtnOpenInitial_Click(object sender, EventArgs e) { OpenFileDialog file = new OpenFileDialog(); if (f...
分类:
数据库技术 时间:
2014-09-04 16:41:29
收藏:
0 评论:
0 赞:
0 阅读:
278
EditText继承关系:View-->TextView-->EditText EditText的属性很多,这里介绍几个:android:hint="请输入数字!"//设置显示在空间上的提示信息android:numeric="integer"//设置只能输入整数,如果是小数则是:decimala....
分类:
移动平台 时间:
2014-09-04 16:41:09
收藏:
0 评论:
0 赞:
0 阅读:
438
有时候为了登录方便会将用户名和密码保存在sharedpreference里面,可是如果不加以处理密码将以明文保存。在Android中java层提供了工具类:android.util.Base64;用Base64对密码进行编码和解码。 1 // Base64 编码: 2 byte [] encode ...
分类:
移动平台 时间:
2014-09-04 16:40:59
收藏:
0 评论:
0 赞:
0 阅读:
283
1. [代码][C/C++]代码 服务端://// main.m// server//// Created by mac on 13-4-15.// Copyright (c) 2013年 mac. All rights reserved.//#import #import #import #imp...
分类:
编程语言 时间:
2014-09-04 16:40:49
收藏:
0 评论:
0 赞:
0 阅读:
353
1. 解压缩命令.tar.gz,或者.tgz的文件一般是在UNIX下用tar和gunzip压缩的文件,不过样并不会保留源文件Linux下解压缩保留源文件的方法:gunzip –c filename.gz > filenamegunzip *.tgz( 可将.tgz 转为.tar 文件)用解压.tar...
分类:
系统服务 时间:
2014-09-04 16:40:39
收藏:
0 评论:
0 赞:
0 阅读:
314
一搜就是通篇的什么RTLabel,NSAttributeString重写draw方法等,其实就想要个简单的关键字高亮效果而已。其实iOS6已经给出了很简单的解决方法(如果不是同事讨论了一下完全就不知道)如下: NSString *title = titleString; NSMutableAttr....
分类:
其他 时间:
2014-09-04 16:40:29
收藏:
0 评论:
0 赞:
0 阅读:
161
1、先说现象现在有三个activity:FirstActivity、SecondActivity和ThirdActivity,并且FirstActivity为启动入口即FirstActivity在AndroidManifest.xml中配置有 ...
分类:
移动平台 时间:
2014-09-04 16:40:19
收藏:
0 评论:
0 赞:
0 阅读:
1024
1. [代码][C/C++]代码 /** Copyright (c) 2011, Jim Hollinger* All rights reserved.** Redistribution and use in source and binary forms, with or without* mod...
分类:
其他 时间:
2014-09-04 16:40:09
收藏:
0 评论:
0 赞:
0 阅读:
607
我们知道,用C++开发的时候,用来做基类的类的析构函数一般都是虚函数。可是,为什么要这样做呢?下面用一个小例子来说明: 有下面的两个类:classClxBase{public:ClxBase(){};virtual~ClxBase(){};virtualvoidDoSomething(){coutD...
分类:
编程语言 时间:
2014-09-04 16:39:49
收藏:
0 评论:
0 赞:
0 阅读:
219