最近了解了一下block的应用 (其实早该掌握了 ) ,然后稍微整理了一下。
Block 是一个C Level的语法以及运行时的一个特性,和标准C中的函数(函数指针)类似,但是其运行需要编译器和运行时支持,从iOS4.0开始就很好的支持Block.
block的好处,主要1.用于回调特别方便, 2. 可以延长对象的作用区域。(__block关键字,将局部变量转变为全局变量)。但是block默认...
分类:
其他好文 时间:
2014-12-17 21:03:41
阅读次数:
246
最近一段时间在学习 Nginx ,以前一直对 Nginx 的 Location 配置很头大,最近终于弄出点眉目。总结如下:nginx 配置文件,自下到上分为三种层次分明的结构:| http block the protocol level| server block the server lev.....
分类:
其他好文 时间:
2014-12-17 15:52:32
阅读次数:
200
Material Design是Google在2014年的I/O大会上推出的全新设计语言。Material Design是基于Android 5.0(API level 21)的,兼容5.0以下的设备时需要使用版本号v21.0.0以上的support v7包中的appcpmpat....
分类:
移动开发 时间:
2014-12-17 12:53:58
阅读次数:
280
Given a binary tree, return the bottom-up level order traversal of its nodes' values. (ie, from left to right, level by level from leaf to root).
For example:
Given binary tree {3,9,20,#,#,15,7},
...
分类:
其他好文 时间:
2014-12-17 09:50:15
阅读次数:
169
Given a binary tree, return the level order traversal of its nodes' values. (ie, from left to right, level by level).
For example:
Given binary tree {3,9,20,#,#,15,7},
3
/ 9 20
/ ...
分类:
其他好文 时间:
2014-12-16 22:46:46
阅读次数:
223
Index for voiceboxMatlab files in this directory:ContentsVoicebox: Speech Processing Toolbox for MATLABactivlevACTIVLEV Measure active speech level as...
分类:
其他好文 时间:
2014-12-16 22:15:22
阅读次数:
510
本文是在学习中的总结,欢迎转载但请注明出处:http://blog.csdn.net/pistolove/article/details/41964067
Given a binary tree, return the bottom-up level order traversal of its nodes' values. (ie, from left to right, level by level from leaf to root)....
分类:
其他好文 时间:
2014-12-16 21:07:59
阅读次数:
207
1 - (void)explode:(id)aView level:(int)aLevel {2 for (int i = 0; i < aLevel; i++)3 printf("-");4 printf("%s:%s/n"...
分类:
其他好文 时间:
2014-12-16 18:55:19
阅读次数:
146
#ifndef __KVM_HOST_H#define __KVM_HOST_H/** This work is licensed under the terms of the GNU GPL, version 2. See* the COPYING file in the top-level di...
分类:
系统相关 时间:
2014-12-16 13:10:03
阅读次数:
370
xUtils 包含了很多实用的android工具。xUtils 源于Afinal框架,对Afinal进行了大量重构,使得xUtils支持大文件上传,更全面的http请求协议支持,拥有更加灵活的ORM,更多的事件注解支持且不受混淆影响。xUitls最低兼容android 2.2 (api level 8)。...
分类:
移动开发 时间:
2014-12-16 10:05:51
阅读次数:
165