/** * Schedule a countdown until a time in the
future, with regular notifications on intervals along the way. * * Example of
showing a 30 second count...
分类:
其他好文 时间:
2014-05-16 04:21:02
阅读次数:
311
Given an unsorted integer array, find the first
missing positive integer.For example,Given [1,2,0] return 3,and [3,4,-1,1]
return 2.Your algorithm sho...
分类:
其他好文 时间:
2014-05-16 02:58:54
阅读次数:
249
问题:当你的导航在TabActivity中 而子页面的一个按钮需要切换到其中的某一个导航页面
转载请注明出处:http://blog.csdn.net/x605940745
demo下载地址:http://download.csdn.net/detail/x605940745/7353695
package com.example.shows;
import android.app....
分类:
其他好文 时间:
2014-05-16 01:32:08
阅读次数:
299
Given a string, find the length of the longest
substring without repeating characters. For example, the longest substring
without repeating letters fo...
分类:
其他好文 时间:
2014-05-15 17:50:38
阅读次数:
298
Given two binary strings, return their sum
(also a binary string).For example, a = "11" b = "1" Return "100".string
的操作,短string补位。两个“0”会输出一个“00”,要特殊处理...
分类:
其他好文 时间:
2014-05-15 17:47:57
阅读次数:
283
send($data)`. The sent data will then* be the
result of the `yield` expression. Thus it can be received using a code like*
`$data = yield;`.*/ /* What...
分类:
其他好文 时间:
2014-05-15 17:46:37
阅读次数:
311
setCharacterEncoding
void setCharacterEncoding(java.lang.String charset)
Sets the character encoding (MIME charset) of the response being sent to the client, for example, to UTF-8. If the character...
分类:
其他好文 时间:
2014-05-15 01:36:58
阅读次数:
233
Description
Businesses like to have memorable telephone numbers. One way to make a telephone number memorable is to have it spell a memorable word or phrase. For example, you can call the Universit...
分类:
其他好文 时间:
2014-05-15 00:20:39
阅读次数:
332
Binary Tree Preorder Traversal
Total Accepted: 18022 Total
Submissions: 51784My Submissions
Given a binary tree, return the preorder traversal of its nodes' values.
For example:
Given b...
分类:
其他好文 时间:
2014-05-14 20:43:22
阅读次数:
242
首先 将该代码挂在NGUI的UIroot上
using UnityEngine;
using System.Collections;
public class example : MonoBehaviour {
public void Awake() {
Screen.SetResolution(1024, 768, true);//自己想要的分辨率,比如1024*768,true表示全...
分类:
其他好文 时间:
2014-05-14 19:24:25
阅读次数:
404