例子:假设小明有时会超速,他可能被一个很nice 的police抓到,但是会让小明走而且不开bill,只是简单的警告下。也有可能被一个hard的police抓到,会给他bill。但是小明不知道他会被 什么样的警察抓到,直到他被抓到前。这种就是run time .这个是strategy设计模式的核心。...
分类:
其他好文 时间:
2015-04-27 15:06:36
阅读次数:
96
https://www.answeringttp.org/patient-stories/amy-granadosAmy GranadosPatientMy name is Amy Granados and I am 35 years old and I live in Norman Oklahom...
分类:
其他好文 时间:
2015-04-26 13:40:31
阅读次数:
116
http://www.medicinenet.com/osteomyelitis/patient-comments-879.htmI am 65 years old and was diagnosed withosteomyelitisof the right heel. I remember th...
分类:
其他好文 时间:
2015-04-26 13:37:42
阅读次数:
147
Ubuntu 11.04 (Natty) 已经停止支持,但可以使用old-releases源了,先备份源列表文件: sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup sudo gedit /etc/apt/sources.list ...
分类:
系统相关 时间:
2015-04-24 12:09:08
阅读次数:
173
下面代码就能够完全说明问题了name = 'name'
age = 22
print("I'm %s. I'm %d year old" % (name, age))...
分类:
编程语言 时间:
2015-04-23 13:20:27
阅读次数:
112
POCO (Plain Old CLR Object)源自Java EE编程领域的POJO概念(2000年由Martin Fowler提出)和POTS (Plain Old Telephone Service)概念。POCO被应用于面向.NET框架的CLR (Common Language Runt...
分类:
其他好文 时间:
2015-04-23 13:05:31
阅读次数:
333
sudo apt-get install libc6:i386sudo -icd /etc/apt/sources.list.decho "deb http://old-releases.ubuntu.com/ubuntu/ raring main restricted universe multi...
分类:
系统相关 时间:
2015-04-23 09:22:19
阅读次数:
153
问题一:ADB server didn't ACK * failed to start daemon *
原因:adb的默认端口为5037,因为该端口被占用了,因此启动不了
分析:查看到底是谁占用了5037这个端口?
(1)命令行CMD执行:netstat -ano | findstr "5037":
TCP 127.0.0.1:5037 Bill-PC:55940 TI...
分类:
数据库 时间:
2015-04-22 00:40:41
阅读次数:
291
Description
Liyuan lives in a old apartment. One day, he suddenly found that there was a wireless network in the building. Liyuan did not know the password of the network, but he got some important...
分类:
其他好文 时间:
2015-04-21 01:51:59
阅读次数:
133
When you are old——W.B Yeats (William ButlerYeats) When you are old and grey and full of sleep, And nodding by the fire, take down this book, And ...
分类:
其他好文 时间:
2015-04-20 14:44:08
阅读次数:
101