摘要: Auto Layout从iOS6/xcode4开始支持SIze Class从iOS8开始支持 阅读全文
posted @ 2015-11-25 15:20 见欲不见 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 这个是针对arc来说的__weak是弱引用__strong是强引用官方的说明如下__strong is the default. An object remains “alive” as long as there is a strong pointer to it.强引用是默认的,对象像强指针一样... 阅读全文
posted @ 2015-11-18 14:47 见欲不见 阅读(353) 评论(0) 推荐(0) 编辑
摘要: http://www.gzaic.gov.cn/GZCX/WebUI/credit/qiyeInfo.htmmark下备用好像只支持IE 阅读全文
posted @ 2015-09-02 10:24 见欲不见 阅读(241) 评论(0) 推荐(0) 编辑
摘要: 安装c的i386运行库yum install glibc.i686 yum install libstdc++.so.6如果安装libstdc++.so.6遇到如下错误Loaded plugins: fastestmirrorLoading mirror speeds from cached ho... 阅读全文
posted @ 2015-03-31 11:08 见欲不见 阅读(2074) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://blog.sina.com.cn/s/blog_60b35e8301019hk2.html1、inline元素(比如span,em等)的display属性设置为inline-block时,所有的浏览器都支持;2、block元素的display属性设置为inline-block... 阅读全文
posted @ 2014-12-08 12:53 见欲不见 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 引用自http://www.yafdev.com/ 阅读全文
posted @ 2014-11-07 14:42 见欲不见 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 首先下载IIS的重写模块http://www.iis.net/downloads/microsoft/url-rewrite#additionalDownloads在页面最下方如图所示根据需要下载32位或64位的提供一个中文64位的下载地址:http://download.microsoft.com... 阅读全文
posted @ 2014-10-16 17:04 见欲不见 阅读(1258) 评论(0) 推荐(0) 编辑
摘要: wordpress导航菜单的链接是默认在当前页打开的只要在wp-includes\nav-menu-template.php的start_el函数加上三行代码就OK了 1 /** 2 * @see Walker::start_el() 3 * @since 3.0.0 4 ... 阅读全文
posted @ 2014-09-24 14:57 见欲不见 阅读(552) 评论(0) 推荐(0) 编辑
摘要: 最近捣鼓一个开源的c程序,查看一个结构体,一层套一层的结构把人看的眼都晕了多亏c++支持对象替代了c的结构体遍地跑一下截取一部分大家欣赏下typedef struct {char *setname; /**0) (input) */} bend_search_rr; struct Z_Query {... 阅读全文
posted @ 2014-08-28 16:50 见欲不见 阅读(307) 评论(0) 推荐(0) 编辑
摘要: 使用dmesg检查是否有关于磁盘错误的信息,果不其然发现大量磁盘扇区错误的信息,如下:end_request:I/O error, dev 03:06 (sda), sector 从上面的输出我们判定扇区可能出现了问题,使用badblocks -s -v -o /root/badblocks.log... 阅读全文
posted @ 2014-06-30 11:26 见欲不见 阅读(993) 评论(0) 推荐(0) 编辑