异常详细:An exception of type 'System.Data.Entity.Core.EntityException' occurred in EntityFramework.SqlServer.dll but was not handled in user codeAddition...
分类:
其他好文 时间:
2014-07-10 13:56:49
阅读次数:
306
这一部分是jquery的核心jquery的构造器jquery的核心工具函数构造器jQuery = function( selector, context ) { // The jQuery object is actually just the init constructor 'enhanc...
分类:
Web程序 时间:
2014-07-10 13:24:06
阅读次数:
535
效果:当你重写了UIImageView的image属性后你就会对UIImageView怎么显示图片了如指掌了:源码:UIImageView.h + UIImageView.m//// LiveImageView.h// Progress//// Copyright (c) 2014年 L.S....
分类:
其他好文 时间:
2014-07-10 11:48:25
阅读次数:
309
1 UIGraphicsBeginImageContext(self.view.bounds.size);// 设置上下文2 3 [self.view.layer renderInContext:UIGraphicsGetCurrentContext()];4 5 UIImage *image=UI...
分类:
移动开发 时间:
2014-07-10 11:01:17
阅读次数:
199
iOS下做和UIImage相关功能有段时间,这里总结列下相关经验。1. 基本框架image IO image IO可以通过URL或者dataProvider来生成CGImageSourceRef,然后可以在source上获取第几张图片或者缩略图;根据http://www.mindsea.com/2....
分类:
移动开发 时间:
2014-06-30 13:00:30
阅读次数:
389
总是隔一段时间才写一次C++,有些东西老是用完就忘了……记一下如何用gdb来调试core dump免得到时候又忘记。首先需要设置core file的大小,默认是0所以不设不会生成core file$ ulimit -c unlimited然后在编译的flag里加上-g -rdynamic把动态静态符...
分类:
数据库 时间:
2014-06-30 11:17:47
阅读次数:
232
本系列所有文章可以在这里查看http://blog.csdn.net/cloud_castle/article/category/2123873
接上文...
分类:
其他好文 时间:
2014-06-30 11:09:33
阅读次数:
281
1:flash_image介绍
也许很少人使用该工具,但flash_image对于调试uboot或者kernel和root相关的人来说用处还是比较大。falsh_image的使用方法:
usage: flash_image type [partition|device] [image_file_path]
type: MTD、EMMC、INAND
partition:根据平...
分类:
其他好文 时间:
2014-06-28 09:17:22
阅读次数:
231
core-site.xml
name
value
Description
fs.default.name
hdfs://hadoopmaster:9000
定义HadoopMaster的URI和端口
fs.checkpoint.dir
/opt/data/hadoop1/hdfs/namesecondar...
分类:
其他好文 时间:
2014-06-28 08:42:16
阅读次数:
285
测试了一下windows2012servercore模式的基本功能,做一些基本笔记。安装了一个最基本的core模式系统,对于微软的系统安装,是很简单的事情,安装完成登陆后,界面如下就一个命令行,看到这个是否感觉无从下手呢,如果我想要设定IP,修改电脑名称,给电脑加入域等等问题,是不是..