神秘果 on 九月 30th, 2009

 Linux下,要想scp自动输入远端服务器的密码来拷贝文件,一般借助expect脚本来达到目的。两台服务器之间互信是指,用scp拷贝文件、ssh登陆、rsync同步文件等操作的时候,不需要输入远端服务器的用户密码就可以完成操作。

Read the rest of this entry »
神秘果 on 九月 17th, 2009
定义
代理(Proxy)模式,为其他对象提供一种代理以控制对这个对象的访问。
  Read the rest of this entry »
神秘果 on 九月 16th, 2009

 WebQQ是一种通过网页方式上QQ的服务,无需下载和安装QQ软件,只要打开WebQQ网站就能登录QQ与好友聊天。

Read the rest of this entry »
神秘果 on 九月 16th, 2009

定义

享元(Flyweight)模式是指,运用共享技术有效地支持大量细粒度的对象。
Read the rest of this entry »
神秘果 on 九月 14th, 2009

定义

为子系统中的一组接口提供一个一致的界面,外观(Facade)模式定义了一个高层接口,这个接口使得这一子系统更加容易使用。
Read the rest of this entry »
神秘果 on 九月 14th, 2009

 定义

动态地给一个对象添加一些额外的职责。就增加功能来说,装饰(Decorator)模式相比生成子类更为灵活。也叫包装器(Wrapper)。
Read the rest of this entry »
神秘果 on 九月 8th, 2009
定义
将对象组合成树形结构以表示“部分-整体”的层次结构。组合(Composite)模式使得用户对单个对象和组合对象的使用具有一致性。
Read the rest of this entry »
神秘果 on 九月 3rd, 2009

不少网友发现,腾讯旗下搜索引擎soso的网页搜索结果,已经没有“以下结果由Google提供”的字样。这说明,SOSO不再使用谷歌技术,腾讯自主研发的搜索技术正式摆上了台面。

Read the rest of this entry »

神秘果 on 九月 1st, 2009

定义

桥接模式:将抽象部分与它的实现部分分离,使它们都可以独立地变化。也叫Handle
  Read the rest of this entry »