这里我们只关注一句话:This is where you should do all of your normal static set up。其中我们只关注normal static,normal:常规的、通常的、一般的 。static:静态的,不变的 onCreate( )方法是androi.....
分类:
移动开发 时间:
2015-03-19 21:45:40
阅读次数:
174
I have created an alert in Performance Monitor (Windows Server 2008 R2) that should be triggered whenever \Processor(_Total)\% Processor Time is Above...
今天在给nginx添加几十个域名后,重启nginx的时候,报错”[emerg]:couldnotbuildtheserver_names_hash,youshouldincreaseeitherserver_names_hash_max_size:512orserver_names_hash_bucket_size:128″在nginx.conf配置文件的http{}把server_names_hash_bucket_size128改为serve..
分类:
其他好文 时间:
2015-03-19 18:40:42
阅读次数:
124
题目描述: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 t...
分类:
其他好文 时间:
2015-03-19 18:13:37
阅读次数:
166
Transferring Data Without Draining the BatteryGET STARTEDDEPENDENCIES AND PREREQUISITESAndroid 2.0 (API Level 5) or higherYOU SHOULD ALSO READOptimizi...
分类:
移动开发 时间:
2015-03-19 16:17:57
阅读次数:
258
Same algorithm with combination. Input as the (1..n), constraint is that the length of each combine should be k. 1 class Solution { 2 public: 3 vo...
分类:
其他好文 时间:
2015-03-19 06:20:58
阅读次数:
152
Android Studio version 1.0.0 ReleasedMuch waited Android studio V1 is out. Well, if you are android dev, and do android as your day job, you should no...
分类:
移动开发 时间:
2015-03-18 20:16:44
阅读次数:
177
Write a function that takes an unsigned integer and returns the number of ’1' bits it has (also known as the Hamming weight).
For example, the 32-bit integer ’11' has binary representation 00000000000000000000000000001011, so the function should return...
分类:
其他好文 时间:
2015-03-18 18:06:47
阅读次数:
92
'?' Matches any single character.'*' Matches any sequence of characters (including the empty sequence).The matching should cover the entire input stri...
分类:
其他好文 时间:
2015-03-18 17:20:10
阅读次数:
112
problem:
Implement regular expression matching with support for '.' and '*'.
'.' Matches any single character.
'*' Matches zero or more of the preceding element.
The matching should cover the entir...
分类:
其他好文 时间:
2015-03-18 12:26:30
阅读次数:
127