iOS7中加入了后台获取(Background
Fetch)的特性,这个特性使得用户在打开应用之前应用就可以执行部分代码,比如准备数据,刷新UI等等。这个时常一般最大是30秒。以下是设置Background
Fetch的基本步骤,记录一下。1. 点击Target下的Capabilities ->>B...
分类:
移动开发 时间:
2014-05-16 00:44:52
阅读次数:
418
1.准备工作Win_S801:系统:WindowsServer2008主机名:mail07.laohe912.comip:192.168.153.203其他:域控制器,DNS服务器步骤1-4都有相关帮助,此处不做提示安装exchange,必须安装IIS进入“服务管理器”,添加角色,选择安装如下功能组件最后确认安装IIS正式安装Exchange根据各..
ApplyingGPOPacksisoneofthemanynewfeaturesinMDT2012Beta2MDT2012测试版2的新功能之一是应用组策略包 当我们使用MDT2012去部署win7SP1的时候默认会应用templates文件下的对应的组策略,当然你也可以使用自定义组策略 如果不想应用这些默认的组策略,那么我们可以在..
分类:
其他好文 时间:
2014-05-15 12:44:00
阅读次数:
359
1.环境VMware10.0两台虚拟机Win_S801:系统:WindowsServer2008主机名:mail07.laohe912.comip:192.168.153.203其他:域控制器,DNS服务器 Win_S802:系统:WindowsServer2008主机名:mail10ip:192.168.153.204其他:普通服务器 2.将Win_S802加入到域laohe912.comWin_S8..
先决条件,设置为固定IP 1.打开“服务管理器”:右键“计算机”-“管理”2.角色-添加角色4.安装完成以后开始-运行-“dcpromo.exe”或者点击如图位置此处我们以laohe912.com为FQDN为例林功能级别此处选择“WindowsServer2008”假如还有其他域控制器要加入到该林中,则这些..
css tab 选项卡据说有2中实现方式1. target css32。 描点2的
核心原理是利用描点显示问题(描点父级 overflow)。 美食 娱乐 购物 住宿 11111111111111111 222222222...
分类:
Web程序 时间:
2014-05-15 11:47:10
阅读次数:
350
Two SumGiven an array of integers, find two
numbers such that they add up to a specific target number.The function twoSum
should return indices of the...
分类:
其他好文 时间:
2014-05-15 10:48:59
阅读次数:
322
class Solution {public: bool search(int A[],
int n, int target) { if (n A[mid]) { right = mid; sep = A[mid]; ...
分类:
其他好文 时间:
2014-05-15 09:29:52
阅读次数:
177
题意:给定一组数和另一个数,在这组数中找两个数,使它们的和等于给定的数
思路1: --> 错,因为题目要求返回下标。
1.排序
2.两个下标,一个指向头,一个指向尾
3.如果下标指向的两个元素相加大于给定的数,尾下标减一
如果小于,头下标加一
思路2: hash
1.用hash存储每个数的下标
2.数组,看hash[target-num[i]]是否存在
复杂度:时间O(n), 空间O(n)...
分类:
其他好文 时间:
2014-05-15 01:28:13
阅读次数:
297
[ 问题: ]
Given an array of integers, find two numbers such that they add up to a specific target number.
The function twoSum should return indices of the two numbers such that they add up to the ta...
分类:
其他好文 时间:
2014-05-15 00:04:39
阅读次数:
377