主要功能:实现 网页离线加载。基本思想来源于AFCache。作者是Rob
Napier(IOSX Programming的作者)。使用方法:To build, you will need the Reachability code
from Apple (included). That requir...
分类:
其他好文 时间:
2014-05-04 20:32:05
阅读次数:
1699
22、解决 messagesent to deallocated instance 0x52cc690 错误当试图对某个对象进行赋值操作的时候出现这个错误,如:tfContent.text=bodyText;此时,你可以打开NSZombieEnable选项,则console会有如下输出:***-[CFString _isNaturallyRTL]: message sent to dealloca...
分类:
移动开发 时间:
2014-05-04 18:28:35
阅读次数:
497
After a long and successful day of preparing food for the banquet, it is time to clean up. There is a list of n jobs to do before the kitchen can be closed for the night. These jobs are indexed from 1...
分类:
其他好文 时间:
2014-05-04 18:25:07
阅读次数:
384
在memory.c里面有这么一段代码。为了其中的一句话,让我内牛满面啊!
dir = (unsigned long *) ((from>>20) & 0xffc)
int free_page_tables(unsigned long from,unsigned long size)
{
unsigned long *pg_table;
unsigned long...
分类:
系统相关 时间:
2014-05-04 18:22:41
阅读次数:
459
travel the binary tree by level 4 ( from down to top and from left to right every level )
个人信息:就读于燕大本科软件工程专业 目前大三;
本人博客:google搜索“cqs_2012”即可;
个人爱好:酷爱数据结构和算法,希望将来从事算法工作为人民作出自己的贡献;
博客内容:tr...
分类:
其他好文 时间:
2014-05-04 18:22:16
阅读次数:
381
There are K nuclear reactor chambers labelled from 0 to K-1. Particles are bombarded onto chamber 0. The particles keep collecting in the chamber 0. However if at any time, there are more than N parti...
分类:
其他好文 时间:
2014-05-04 18:00:17
阅读次数:
372
严重: Exception loading sessions from persistent storage
java.io.EOFException
删除Tomcat里面的work/Catalina/localhost下的内容即可解决
Tomcat在启动时出现如下异常问题:
严重: IOException while loading persisted sessions...
分类:
其他好文 时间:
2014-05-04 17:58:54
阅读次数:
313
复制控制--消息处理示例说明: 有些类为了做一些工作需要对复制进行控制。为了给出这样的例子,我们将概略定义两个类,这两个类可用于邮件处理应用程序。Message类和 Folder类分别表示电子邮件(或其他)消息和消息所出现的目录,一个给定消息可以出现在多个目录中。Message上有 save和 remove操作,用于在指定Folder中保存或删除该消息。数据结构: 对每个Message...
分类:
编程语言 时间:
2014-05-04 17:46:17
阅读次数:
510
??
SQL Server online consultants came across an interesting scenario where one of our client was unable to restore a native SQL Server backup successfully performed from one instance running on M...
分类:
数据库 时间:
2014-05-04 17:42:50
阅读次数:
394
查看一个数据库的所有表:SelectTABLE_NAMEFROM数据库名称.INFORMATION_SCHEMA.TABLESWhereTABLE_TYPE=‘BASETABLE‘(select*from表名where条件)查看一张表的表结构:sp_helptable_name(表名)获取的信息比较全sp_columnstable_name(表名)创建数据库:usemastergocreatedatabase..
分类:
数据库 时间:
2014-05-04 17:27:23
阅读次数:
456