遵循开闭原则设计出的模块具有两个主要特征:(1)对于扩展是开放的(Open for extension)。这意味着模块的行为是可以扩展的。当应用的需求改变时,我们可以对模块进行扩展,使其具有满足那些改变的新行为。也就是说,我们可以改变模块的功能。(2)对于修改是关闭的(Closed for modi...
分类:
其他好文 时间:
2014-06-28 16:09:16
阅读次数:
257
Previously, I used the following LaTeX preamble for my TexMaths extension in LibreOffice:\usepackage{amsmath}\usepackage{amssymb}\usepackage[usenames]...
分类:
其他好文 时间:
2014-06-25 22:04:03
阅读次数:
428
[root@localhost~]#system-config-kickstartXlib:extension"RANDR"missingondisplay"localhost:10.0"./usr/share/system-config-kickstart/kickstartGui.py:103:GtkWarning:GtkSpinButton:settinganadjustmentwithnon-zeropagesizeisdeprecatedxml=gtk.glade.XML("/usr/share/s..
分类:
其他好文 时间:
2014-06-24 16:36:29
阅读次数:
553
In May 2011, I read a request for installation Openvswitch on Qemu image. I started to play with Openvswitch and finally became fan of this project. I...
分类:
其他好文 时间:
2014-06-24 10:31:56
阅读次数:
259
In part one we showed how to create Openvswitch extension and submit it to Microcore repository. There were also presented after-install steps for Ope...
分类:
移动开发 时间:
2014-06-24 10:17:04
阅读次数:
588
public static class Extension { #region [编码/解码统一转换] /// /// /// /// /// True为Encode;False为Decode ...
分类:
Web程序 时间:
2014-06-22 23:05:05
阅读次数:
274
一、php配置MySQL
1、将php安装目录下的php_mysql.dll和MySQL安装目录下的libmysql.dll文件拷贝至c:/windows/system32中;
2、配置php.ini
extension=php_gd2.dll
extension=php_mbstring.dll
extension=php_mysql.dll
extension=php_mysq...
分类:
数据库 时间:
2014-06-22 22:52:04
阅读次数:
375
以下内容基于阅读205和217的PDF所做的笔记,没有深入研究。
205 Creating Extensions for iOS and OS X, Part 1
217 Creating Extensions for iOS and OS X, Part 2
Extension有多种,比如Share、Today、照片、输入法等等。
Extension本身不是app,它只是...
分类:
其他好文 时间:
2014-06-22 22:30:15
阅读次数:
272
In May 2011, I read a request for installation Openvswitch on Qemu image. I started to play with Openvswitch and finally became fan of this project. I...
分类:
其他好文 时间:
2014-06-21 14:42:43
阅读次数:
400