Group添加联系人时,Contacts默认设计不会过滤已分组的联系人。之前看到小米,oppo都做过过滤,一直懒得改。最近客户要求group添加成员时,不显示已分组的联系人,故记录一下实现过程。public void pickMembers() { Intent intent = ne...
分类:
其他好文 时间:
2015-05-18 18:27:26
阅读次数:
135
一、 从文件系统导入数据源存放路径: /root/datahive> load data local inpath "/root/data" overwrite intotable t1;Loading data to table default.t1Table default.t1 stats: ...
分类:
其他好文 时间:
2015-05-18 18:30:12
阅读次数:
442
https://github.com/zhuqizhi/tlbs1409https://github.com/maxting/IM_Project150126https://github.com/hanhung/Instamour-Androidhttps://github.com/vegastar...
分类:
系统相关 时间:
2015-05-18 18:27:55
阅读次数:
119
王国维古今之成大事业、大学问者,必经过三种之境界:"昨夜西风凋碧树。独上高楼,望尽天涯路。"此第一境也。"衣带渐宽终不悔,为伊消得人憔悴。"此第二境也。"众里寻他千百度,蓦然回首,那人却在灯火阑珊处。"此第三境也。此等语皆非大词人不能道。然遽以此意解释诸词,恐为晏欧诸公所不许也。原本含义: “昨夜西...
分类:
其他好文 时间:
2015-05-18 18:28:44
阅读次数:
156
if object_id('Proc_DropTableWithFK') is not null begindrop proc dbo.Proc_DropTableWithFK endGOcreate proc Proc_DropTableWithFK @PK_tableName nvarcha.....
分类:
数据库 时间:
2015-05-18 18:28:01
阅读次数:
129
http://www.cnblogs.com/ywangzi/archive/2012/09/27/2705894.html两种方法,一是用ADO连接,问题是Excel文件内容要规则,二是用OLE打开,但操作就没有象 操作数据库那么方便了.一、用ADO连接: 设置属性ConnetionString ...
今天有人问到我:memcache存储大数据量,10K,100K,1M的时候,效果怎么样??我回答:不好,效果非常慢。对方问:为什么啊??我回答不上来。。。于是就找了点资料。memcached使用需要注意的知识:1、memcached的基本设置1)启动Memcache的服务器端# /usr/local...
分类:
系统相关 时间:
2015-05-18 18:26:29
阅读次数:
151
1:查看版本SELECT VERSION(); 2:查看当前的日志保存方式mysql> SHOW VARIABLES LIKE '%log_output%';+---------------+-------+| Variable_name | Value |+---------------+---....
分类:
数据库 时间:
2015-05-18 18:28:08
阅读次数:
161
首先我看看 IEnumerable:// 摘要: // 公开枚举器,该枚举器支持在指定类型的集合上进行简单迭代。 // // 类型参数: // T: // 要枚举的对象的类型。 [TypeDependency("System.SZArrayHe...
分类:
编程语言 时间:
2015-05-18 18:28:30
阅读次数:
116
貌似这两个函数是相对应而存在的,indexof是判断某个字符在字符串里是否存在,charat就是某个字符串中某个数字对应的字符是什么。============================if(input_t.indexOf(option_t) < 0){ input_t += option...
分类:
其他好文 时间:
2015-05-18 18:25:58
阅读次数:
100
图的邻接表存储方式,主要由表节点与头结点组成。头结点中主要包含两个域:1)存放顶点信息 2)存放与顶点相连的第一个表节点的指针 表节点中主要包含两个域:1)存放相连的节点的序号 2)指向下一个节点...
分类:
其他好文 时间:
2015-05-18 18:27:58
阅读次数:
97
Problem DescriptionA sequence consisting of one digit, the number 1 is initially written into a computer. At each successive time step, the computer s...
分类:
其他好文 时间:
2015-05-18 18:25:26
阅读次数:
99
原题链接:http://ac.jobdu.com/problem.php?pid=1528小白书上的做法,不过这个还要简单些。。。 1 #include 2 #include 3 #include 4 #include 5 #include 6 using std::max; 7 const int...
分类:
其他好文 时间:
2015-05-18 18:25:37
阅读次数:
154
DescriptionLet's consider one interesting word game. In this game you should transform one word into another through special operations.Let's say we h...
分类:
其他好文 时间:
2015-05-18 18:26:43
阅读次数:
151
该文章转自:http://www.codeceo.com/article/windows-git-server.htmlWindows平台下Git服务器搭建第一步:下载Java,下载地址:http://www.java.com/zh_CN/第二步:安装Java.安装步骤不再详述。第三步:配置Java...
参考:http://www.jb51.net/article/53760.htm 通常来说,在C++中,命名空间(namespace)的目的是为了防止名字冲突。每个命名空间是一个作用域,在所有命名空间之外,还存在一个全局命名空间(global namespace),全局命名空间以隐式的方式声明,它并...
分类:
其他好文 时间:
2015-05-18 18:25:54
阅读次数:
184