一、OSI七层协议体系结构域TCP/IP四层体系结构对比 ISO/OSI模型,即开放式通信系统互联参考模型(Open System Interconnection Reference Model),是国际标准化组织(ISO)提出的一个试图使各种计算机在世界范围内互连为网络的标准框架,简称OSI。 T ...
分类:
其他好文 时间:
2016-06-21 17:19:16
阅读次数:
184
[reference]http://www.jianshu.com/p/b10680a32d3 1、 确认下证书是不是开发证书,如果是发布证书就会出现这样的提示。 2、 证书失效了,去开发者中心重新生成一个。 3、 包标识符不与描述文件包含的包标识符不一致,按照它的提示换一下就好了,最好不要点 Fi ...
分类:
其他好文 时间:
2016-06-21 15:26:41
阅读次数:
114
我自己的随笔,记录我编码的点滴。 <!DOCTYPE HTML><html><head> <meta charset="utf-8"/> <link rel="stylesheet" type="text/css" href="reference/bootstrap.css"/> <script t ...
分类:
Web程序 时间:
2016-06-21 12:35:53
阅读次数:
250
有使用JSonKit的朋友,如果遇到“JSonKit does not support Objective-C Automatic Reference Counting(ARC)”这种情况,可参照如下方法: 点击项目根目录->targets->Build Phases->JSONKit.m->添加“ ...
分类:
移动开发 时间:
2016-06-21 12:35:04
阅读次数:
221
Given a non negative integer number num. For every numbers i in the range 0 ≤ i ≤ num calculate the number of 1's in their binary representation and r ...
分类:
其他好文 时间:
2016-06-20 22:10:52
阅读次数:
205
原帖地址 http://stackoverflow.com/questions/36147625/xcode-7-3-cannot-create-weak-reference-in-file-using-manual-reference-counting activeoldestvotes up v ...
分类:
其他好文 时间:
2016-06-20 20:45:50
阅读次数:
393
API Reference对__block变量修饰符有如下几处解释: 大概意思归结出来就是两点: 1.__block对象在block中是可以被修改、重新赋值的。 2.__block对象在block中不会被block强引用一次,从而不会出现循环引用问题。 API Reference对__weak变量修 ...
分类:
其他好文 时间:
2016-06-20 15:49:18
阅读次数:
102
http://acm.tzc.edu.cn/acmhome/vProblemList.do?method=problemdetail&oj=SPOJ&pid=DIVCNT2 给出n求 其中是除数函数,0代表0次方. ...
分类:
其他好文 时间:
2016-06-20 12:51:43
阅读次数:
321
使用QT编程时,当用户自定义了一个类,只要类中使用了信号或槽. Code::Blocks编译就会报错(undefined reference to `vtable for). Google上有很多这个问题的回答,但很多说的很模糊,或者根本就不可行. 其实,QT有自己的编译方法. 不用IDE写一个类, ...
分类:
其他好文 时间:
2016-06-20 06:58:41
阅读次数:
564
1. 用ARC管理内存 ARC(Automatic Reference Counting, 自动引用计数)和iOS5一起发布,它避免了最常见的也就是经常是由于我们忘记释放内存所造成的内存泄露。它自动为你管理retain和release的过程,所以你就不必去手动干预了。 下面是你会经常用来去创建一个V ...
分类:
移动开发 时间:
2016-06-19 18:16:00
阅读次数:
281