AllowOverride all#修改地方Require all granted## Note that from this point forward you must specifically allow# particular features to be enabled - so if s...
分类:
其他好文 时间:
2014-08-01 12:56:51
阅读次数:
210
//设置一个viewview = [[UIView alloc] initWithFrame:CGRectMake(0, 38, 320, 30)];view.backgroundColor = [UIColor lightGrayColor];[self.view addSubview:view]...
分类:
移动开发 时间:
2014-08-01 12:51:11
阅读次数:
254
[self.navigationControllerpopToViewController:[self.navigationController.viewControllersobjectAtIndex:1]animated:YES];或 searchBarViewController *sear....
分类:
移动开发 时间:
2014-08-01 10:46:41
阅读次数:
199
- (void)viewDidLoad{ [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib. [self request];}- (voi...
分类:
其他好文 时间:
2014-08-01 10:27:41
阅读次数:
247
题目:Given inorder and postorder traversal of a tree, construct the binary tree.Note:You may assume that duplicates do not exist in the tree.题解:这道题跟pre....
分类:
编程语言 时间:
2014-08-01 06:56:51
阅读次数:
185
题目:Given preorder and inorder traversal of a tree, construct the binary tree.Note:You may assume that duplicates do not exist in the tree.题解: 1 ...
分类:
编程语言 时间:
2014-08-01 06:56:41
阅读次数:
228
Single NumberGiven an array of integers, every element appearstwiceexcept for one. Find that single one.Note:Your algorithm should have a linear runti...
分类:
其他好文 时间:
2014-08-01 04:44:31
阅读次数:
189
程序打印自身代码的两种方法
方法一:利用fopen,打开可执行程序对应的source code file
/*****************************************
code writer : EOF
code file : print_my_self.c
code date : 2014.08.01
e-mail: jasonleaster@gm...
分类:
其他好文 时间:
2014-08-01 02:25:40
阅读次数:
264
python的正则与网页操作练习二:importre
importurllib.request
#51ctourlcode=gb18030
classdown51web:
s_url=‘‘
s_blogid=‘‘
s_blogpages=‘‘
s_html=‘‘
s_code=‘‘
def__init__(self,url,code):
self.s_url=url
self.s_code=code
defget_html(self):
self.s_html=urllib.r..
分类:
编程语言 时间:
2014-08-01 00:14:21
阅读次数:
334
Construct Binary Tree from Preorder and Inorder TraversalGiven preorder and inorder traversal of a tree, construct the binary tree.Note:You may assume...
分类:
其他好文 时间:
2014-07-31 23:26:10
阅读次数:
318