How Scala killed the Strategy PatternBy Alvin
Alexander. Last updated: Mar 23, 2014table of contents[hide]The OOP Strategy
PatternTwo immediate though...
分类:
其他好文 时间:
2014-06-06 23:16:45
阅读次数:
480
此为xcode4的方法,xcode3的方法请查看Xcode3创建和使用iOS的dylib动态库找到两个目录,最好用两个finder窗口分别打开:目录一:[plain]view
plaincopy/Applications/Xcode.app/Contents/Developer/Platforms/...
分类:
移动开发 时间:
2014-06-06 20:46:49
阅读次数:
381
很早以前做过这题,早就没印象了,估计当时也是照着某大神的代码抄过的,现在是连题意都看了好长时间。刚开始的S集合是空集,给你一些操作和一个T集合,把操作的结果再赋给S集合。解法:因为会有开区间和闭区间,对于一个值我拆成了两个点
比如 1,2,3, 表示的区间为[1,2] 把两个端点值分别设为2个点,把...
分类:
其他好文 时间:
2014-06-06 16:39:46
阅读次数:
268
sqlite的安装1.
首先是下载sqlite,可以该页面下载:http://www.sqlite.org/download.html当前的最新版本为:sqlite-shell-win32-x86-3070701.zip这个是windows下sqlite的命令行管理工具,用它可以管理sqlite数据...
分类:
数据库 时间:
2014-06-06 07:52:47
阅读次数:
443
Help Me with the GameDescriptionYour task is to
read a picture of a chessboard position and print it in the chess
notation.InputThe input consists of ...
分类:
其他好文 时间:
2014-06-04 16:41:58
阅读次数:
226
下面的实验室是如何不要通过DBCA创建ORACLE 数据库,而是通过ORACLE ONLINE HELP DOCUMENT进行手动的创建数据库的详细步骤:...
分类:
数据库 时间:
2014-06-04 13:51:22
阅读次数:
353
用 Core Animation
实现图片的碎片化参考书籍:效果如下:原理其实非常简单哦:)。1. 创建一个CALayer,使用其 contents
属性来装载一张图片(获取图片的CGImage)2. 根据frame值裁剪图片,然后将裁剪的图片赋给你创建的更小的CALayer3. 实现这些更小的CA...
分类:
其他好文 时间:
2014-06-02 11:37:09
阅读次数:
337
Node即学即用
REPL(Read-Evaluate-Print-Loop)
console.log
.clear .help .exit
require('http') createServer
聊天服务器
tcp服务器
require(‘net')
on connection
on data...
分类:
其他好文 时间:
2014-06-01 18:20:16
阅读次数:
464
每一个网页都有一个favicon,在历史记录的保存中须要用到。在content文件夹下,这个没有实现。以下说一下我的实现过程:web_contents_impl.cc文件里有方法:WebContentsImpl::OnUpdateFaviconURL这种方法是内核解析到favicon之后,给chro...
分类:
Web程序 时间:
2014-06-01 17:15:22
阅读次数:
343
1、安装Subversion,安装好后,在控制台输入“svn
help”,如果成功安装,则会有很多命令打印输出;2、svnadmin create F:\Java_workspace\Repository\trunk #
敲命令创建库trunk3、进入...\Repository\tru...
分类:
其他好文 时间:
2014-05-31 02:52:40
阅读次数:
330