很多事情不需要考虑如何开始,真正回想起来的时候发现自己已经在路上了. 记得若干年前,似乎也不是太远.一个连触摸板都不好使的笔记本,没有散热垫几乎无法持续工作.依然坚持不懈的玩命似的配合我工作. 那时候一个微小的按钮图片, 都要筛选上好几天. 任何角度都想完全透露出产品的良苦用心. 任何情况都要...
分类:
其他好文 时间:
2014-09-03 00:11:15
阅读次数:
272
问题描述
Given a binary tree, return the postorder traversal of its nodes' values.
For example:
Given binary tree {1,#,2,3},
1
2
/
3
return [3,2,1].
Note: Recur...
分类:
其他好文 时间:
2014-09-02 21:23:55
阅读次数:
317
self.context=[[NSManagedObjectContext alloc] initWithConcurrencyType:NSPrivateQueueConcurrencyType];
[self.context setPersistentStoreCoordinator:dm.PSC];
[[NSNotificationCenter defaultCenter] ...
分类:
其他好文 时间:
2014-09-02 19:59:45
阅读次数:
495
self.navigationController.interactivePopGestureRecognizer.delegate = nil;
分类:
其他好文 时间:
2014-09-02 19:35:05
阅读次数:
144
问题描述:这个问题非常常见,就是平时我们做一个按钮(我们假设这个页面是RootVC),按钮加一个事件,点击这个事件的时候会push出一个新的控制器A,当我们连续快速(时间间隔在0.5S内,也就是PUSH前一个事件的PUSH动画还没结束之前)点击两次这个按钮的时候,就会导致这个按钮连续响应了两次事件,...
分类:
其他好文 时间:
2014-09-02 19:27:35
阅读次数:
274
问题描述
Given a binary tree, return the preorder traversal of its nodes' values.
For example:
Given binary tree {1,#,2,3},
1
2
/
3
return [1,2,3].
Note: Recurs...
分类:
其他好文 时间:
2014-09-02 17:50:45
阅读次数:
136
首先我们了解一下:window.location.href、location.href、self.location.href、parent.location.href、top.location.href他们的区别与联系,简单的说:几种location.href的区别 js实现网页被iframe框架功...
分类:
其他好文 时间:
2014-09-02 15:46:14
阅读次数:
189
首先取得命令行參數:
用法如下:
root@centos:~/code/go/self$ ./sum 1 2 4
package main
import "fmt"
import "os"
import "strconv"
func main() int{
arg_num := len(os.Args)
fmt.Printf("the num of input is ...
分类:
其他好文 时间:
2014-09-02 14:17:44
阅读次数:
120
1、Replicator运行代码具体分析上篇问中介绍了启动Replicator的详细过程,以下解说Replicator的运行代码的详细实现,首先看replicate方法:def replicate(self, override_devices=None, override_partitions=No...
分类:
编程语言 时间:
2014-09-02 11:53:54
阅读次数:
244
#import"AppDelegate.h"
@implementationAppDelegate
-(BOOL)application:(UIApplication*)applicationdidFinishLaunchingWithOptions:(NSDictionary*)launchOptions
{
//创建一个窗口对象,(UIEWindow),让窗口根屏幕一样大
self.window=[[UIWindowalloc]initWithFrame:[[UI..
分类:
其他好文 时间:
2014-09-02 10:39:35
阅读次数:
228