Title:Suppose a sorted array is rotated at some pivot unknown to you beforehand.(i.e.,0 1 2 4 5 6 7might become4 5 6 7 0 1 2).Find the minimum element...
分类:
其他好文 时间:
2015-05-26 14:09:33
阅读次数:
110
今天遇到一个问题,每次运行的时候打印出log信息“Unknown class XWHWeiboController in Interface Builder file.” , 意思是在创建用户界面的文件中没有找到XWHWeiboController 这个类。原因是我创建UITableViewCont...
分类:
其他好文 时间:
2015-05-26 12:28:38
阅读次数:
176
多次遇到这个错误,难以解决,有时候出现,有时候没有,很神奇,今天发现了一点端倪,虽然说不上找到了所有导致这个bug的原因。至少,也是很主要的一种了。其实,透过结果,如果debug用心,一行代码一行代码的debug,还是可以定位到错误原因代码的。
分类:
其他好文 时间:
2015-05-25 17:57:30
阅读次数:
130
现象在Mac上启动tomcat时,报了如下错误:Error: Exception thrown by the agent : java.net.MalformedURLException: Local host name unknown: java.net.UnknownHostException: XXXX: XXXX: nodename nor servname provided, or not...
分类:
编程语言 时间:
2015-05-22 21:16:40
阅读次数:
178
https://leetcode.com/problems/search-in-rotated-sorted-array/ Suppose a sorted array is rotated at some pivot unknown to you beforehand. (i.e., 0 1 2 ...
分类:
其他好文 时间:
2015-05-22 18:38:13
阅读次数:
103
(一) “Unknown class XXViewController in Interface Builder file.” 问题处理
最近在静态库中写了一个XXViewController类,然后在主工程的xib中,将xib的类指定为XXViewController,程序运行时,报了如下错误:
Unknown class XXViewController in Interface ...
分类:
移动开发 时间:
2015-05-21 19:38:57
阅读次数:
160
使用HttpClient,总是报出“Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.”的WARN日志,定位到HttpClient的...
分类:
编程语言 时间:
2015-05-21 19:05:19
阅读次数:
121
/** * PHP解决XSS(跨站脚本攻击)的调用函数 * PHP跨站脚本漏洞补丁,去除XSS(跨站脚本攻击)的函数,把以下代码保存在function.php文件中,在需要防御的页面中include * Enter description here ... * @param unknown_type...
分类:
数据库 时间:
2015-05-18 20:25:16
阅读次数:
201
大约遇到下面的问题 Expected identifier or ‘(‘ Unknown type name ‘NSString‘ Unknown type name ‘Protocol‘ ... 还有NSString.h、NSZone.h、NSObject.h也会提示类似的错误,根据此链接,我定位到问题原因为引入...
分类:
其他好文 时间:
2015-05-18 16:59:44
阅读次数:
277
一、“Unknown class XXViewController in Interface Builder file.”问题处理最近在静态库中写了一个XXViewController类,然后在主工程的xib中,将xib的类指定为XXViewController,程序运行时,报了如下错误:“Unkn...
分类:
移动开发 时间:
2015-05-17 18:07:26
阅读次数:
167