什么时候使用Service: @、任何与用户界面无关的操作,可移到后台线程,然后由一个Service来控制这个线程。 服务类型: @、First is the one that performs work for the application independent of the user’s i ...
分类:
移动开发 时间:
2016-06-30 18:18:14
阅读次数:
258
Given a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing all ones and return its area. Subscribe to see which companies ...
分类:
其他好文 时间:
2016-06-16 17:34:01
阅读次数:
212
dp(dip): device independent pixels(设备独立像素). 不同设备有不同的显示效果,这个和设备硬件有关,一般我们为了支持WVGA、HVGA和QVGA 推荐使用这个,不依赖像素。dp也就是dip,这个和sp基本类似。如果设置表示长度、高度等属性时可以使用dp 或sp。但如 ...
分类:
移动开发 时间:
2016-06-14 06:18:40
阅读次数:
349
以下内容仅作为本人工作笔记 main.c hello.c 1:gcc -shared -fPIC -o libmyhello.so hello.c 把hello.c生成动态库。 -shared表示共享,用作动态库。 -fPIC position independent code表示位置无关代码,用于 ...
分类:
其他好文 时间:
2016-06-13 06:34:29
阅读次数:
229
简介 RAID是一个我们经常能见到的名词。但却因为很少能在实际环境中体验,所以很难对其原理 能有很清楚的认识和掌握。本文将对RAID技术进行介绍和总结,以期能尽量阐明其概念。 RAID全称为独立磁盘冗余阵列(Redundant Array of Independent Disks),基本思想就是把多 ...
分类:
其他好文 时间:
2016-06-11 10:26:48
阅读次数:
174
一天一道LeetCode
本系列文章已全部上传至我的github,地址:ZeeCoder‘s Github
欢迎大家关注我的新浪微博,我的新浪微博
欢迎转载,转载请注明出处
(一)题目
Given a 2D binary matrix filled with 0’s and 1’s, find the largest rectangle containing all ones a...
分类:
其他好文 时间:
2016-06-09 00:48:53
阅读次数:
119
部署MongoDB的生产服务器,给出如下相关建议: 使用虚拟化环境; 系统配置 1)推荐RAID配置 RAID(Redundant Array of Independent Disk,独立磁盘冗余阵列)是一种可以让我们把多块磁盘当做单独一块磁盘来使用的技术。可使用它来提高磁盘的可靠性或者性能,或二者 ...
分类:
数据库 时间:
2016-06-03 14:36:35
阅读次数:
186
Introduction What's JDBC JDBC stands for Java Database Connectivity, which is a standard Java API for database-independent connectivity between the Ja ...
分类:
数据库 时间:
2016-06-02 13:25:16
阅读次数:
261