iPhone开发中常常需要将对象持久化处理,或者将数据文件反序列化,便于存储用户的配置、习惯、以及保存加载的数据等。一般对象序列化的方式有四种:plist,NSUserDefaults,sqlite以及Core Data。plist和sqlite数据库是最常用的方法。对于plist:新建plist文...
分类:
数据库 时间:
2014-07-11 22:26:31
阅读次数:
350
1. [代码][JavaScript]代码 /*!* jLim Core** jLim is a small JavaScript base code. It can be used to built your own* JavaScript library or framework.** @ve....
分类:
编程语言 时间:
2014-07-09 18:52:21
阅读次数:
264
原创文章,转载请注明: 转载自http://www.cnblogs.com/tovin/p/3832405.html一、Spark简介 1、什么是Spark 发源于AMPLab实验室的分布式内存计算平台,它克服了MapReduce在迭代式计算和交互式计算方面的不足。 相比于MapRed...
分类:
编程语言 时间:
2014-07-09 14:38:04
阅读次数:
266
try { psv.SetPlotConfigurationName(ps, cOre, null); } catch (SystemException ex) { ed.WriteMessage("\n错误行开始:"); ed.WriteMessage("\n错误状态:" + ex.InnerEx...
分类:
其他好文 时间:
2014-07-09 13:59:42
阅读次数:
128
参考文章:spice wiki1: gtk+-3.0安装2: 安装依赖 a:1 sudo apt-get install build-essential autoconf git-core b:1 sudo apt-get install libtool liblog4cpp5-dev libavc...
分类:
其他好文 时间:
2014-07-09 13:19:08
阅读次数:
432
不同的操作系统对应不同的事件驱动机制,在Linux 2.6之后使用epoll机制,对应的事件驱动模块是ngx_epoll_module。Nginx的ngx_event_core_module模块根据操作系统确定使用哪一个事件驱动模块。事件驱动模块在ngx_module_t的ctx通用接口是ngx_event_module_t,定义如下所示:
typedef struct {
ngx_st...
分类:
其他好文 时间:
2014-07-09 12:01:13
阅读次数:
230
Spring 的骨骼架构Spring 总共有十几个组件,但是真正核心的组件只有几个,下面是 Spring 框架的总体架构图:图 1 .Spring 框架的总体架构图从上图中可以看出 Spring 框架中的核心组件只有三个:Core、Context 和 Beans。它们构建起了整个 Spring 的骨...
分类:
编程语言 时间:
2014-07-09 00:39:30
阅读次数:
262
从命令行执行django数据库操作,报错:
django.core.exceptions.ImproperlyConfigured: Requested setting DEFAULT_INDEX_TABLESPACE, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before acce...
分类:
数据库 时间:
2014-07-08 17:57:04
阅读次数:
495
Doorbell的中断到core的机制是由DOORBELLx_ICRRx寄存器实现的,共有八个ICRR寄存器。
When doorbell packets are received by the SRIO peripheral, these
ICRRs route
doorbell interrupt requests(在ISCR寄存器中指示) from the associated doo...
分类:
其他好文 时间:
2014-07-08 16:36:13
阅读次数:
419
thinkphp 清除 X-Powered-By: ThinkPHP
找到文件,
ThinkPHP/Lib/Think/Core/View.class.php。
搜索到一下代码屏蔽即可。
header('X-Powered-By:ThinkPHP');
PHP清除X-Powered-By: PHP/5.2.4
设置php.ini ,expose_php ...
分类:
Web程序 时间:
2014-07-08 13:22:27
阅读次数:
236