Open the Command Prompt (not as administrator)Navigate to the folder where IIS Express is installed on your machine.In the command line spin up a IISE...
分类:
数据库 时间:
2014-11-24 13:18:30
阅读次数:
202
7.1.2 C# 中的函数式数据结构
我们曾经用 C# 实现过几个函数式不可变数据类型,比如 FuncList 或元组。在 C# 中,是通过以特殊方式写类来实现的,最重要的是,所有属性必须是不可变的,这是通过使用只读字段,或者通过声明的属性具有私有的 setter,且只在类的构造函数中设置来实现。在清单 7.3 中,我们使用第一种方法实现似于类清单 7.1 中 Rect 类型的类。
...
7.1.1.1 处理记录
我们在本章后面还要用到Rect 类型,有两个简单的函数来处理矩形。第一个函数是缩小矩形,通过从每一条边上减去指定的宽度和高度,第二个函数是把我们的矩形表示形式转换成 System.Drawing 命名空间中的 RectangleF 类。清单 7.2 中是这两个函数。
清单 7.2 处理矩形的函数 (F# Interactive)
> open Sy...
分类:
其他好文 时间:
2014-11-24 10:03:27
阅读次数:
162
新建的Maven项目,在build的时候总是打包失败,提示少Jar包,如下:
[ERROR] Failed to execute goal on project JYYPT_TOOL: Could not resolve dependencies for project com.tgb:JYYPT_TOOL:jar:0.0.1-SNAPSHOT: The following artifacts...
分类:
编程语言 时间:
2014-11-24 00:56:11
阅读次数:
230
git config --global user.name "xxx"git config --global user.email xxx@gmail.comgit config --global core.editor emacsgit config --global merge.tool vim...
分类:
其他好文 时间:
2014-11-23 08:10:27
阅读次数:
149
//CGRectInset 将原来的矩形放大或者缩小,正表示缩小,-表示放大。CGRect rect= CGRectMake(20, 50, 100, 80); CGRect rect1=CGRectInset(rect, -10, 20); NSLog(@"%@",p(rect1));//输出结....
分类:
其他好文 时间:
2014-11-22 20:07:57
阅读次数:
176
1.bbed 简介 bbed (BlockBrowerandEDitor Tool):是oracle内存使用的一个工具,能直接查看和修改文件数据。但不受oracle支持,在一些复杂及极端的环境下使用。 对深入了解数据块结构能起到很好的帮助作用。2.bbed安装过程 第一步: oracle 11g中缺...
分类:
其他好文 时间:
2014-11-22 13:21:27
阅读次数:
211
关于如何使用EF Power Tool的介绍请看 http://www.cnblogs.com/LingzhiSun/archive/2011/05/24/EFPowerTool_1.html, 这里不再啰嗦。MySql里有个默认的范例数据库 world, 里面有三个表,下载Entity Frame...
分类:
数据库 时间:
2014-11-22 11:50:04
阅读次数:
244
为了做到Mac和Linux之间共享文件夹,因此需要安装Parallels Tool, 具体安装步骤可以参考 install parallels tool for linux guest http://download.parallels.com/desktop/v4/docs/en/Parallel...
分类:
其他好文 时间:
2014-11-22 10:28:27
阅读次数:
250
autosp=Sprite::create();/定义一个空的图片精灵//定义图片的每一帧vector<SpriteFrame*>allFramefor(inti=1;i<7;i++)//i是图片{SpriteFram*sf=SpriteFrame::cerate(StringUtils::format("放的图片地址",i).c_str(),Rect(0,0,100,100));allFrame.pushBack(sf);}//创..
分类:
其他好文 时间:
2014-11-20 01:35:55
阅读次数:
159