在阎宏博士的《JAVA与模式》一书中开头是这样描述建造(Builder)模式的: 建造模式是对象的创建模式。建造模式可以将一个产品的内部表象(internal representation)与产品的生产过程分割开来,从而可以使一个建造过程生成具有不同的内部表象的产品对象。 产品的内部表象 一个产品常 ...
分类:
编程语言 时间:
2018-07-23 18:40:56
阅读次数:
194
一、expect脚本同步文件实例4:自动同步文件[root@linux-01sbin]#vi4.expect#!/usr/bin/expectsetpasswd"123456"spawnrsync-avroot@192.168.238.130:/tmp/12.txt/tmp/expect{"yes/no"{send"yes\r"}&quo
分类:
其他好文 时间:
2018-07-23 10:57:09
阅读次数:
182
# 安装ffmpegyum install epel-release -yrpm --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.rorpm -Uvh http://li.nux.ro/download/nux/dextop/el6/x8 ...
分类:
其他好文 时间:
2018-07-21 22:49:52
阅读次数:
455
前端开发获取设备信息的代码if (/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)) { window.location.href ="https://itunes.apple.com/cn/app/1hao-yao-dian/id7275780 ...
分类:
移动开发 时间:
2018-07-12 19:57:55
阅读次数:
205
I had some problems programming the produced . Here is what worked well for me: 1. Install Atmel Studio 7.02. Launch Atmel Studio 7.0 Command Prompt3. ...
分类:
其他好文 时间:
2018-07-09 19:25:46
阅读次数:
579
Spring Cloud学习--配置中心(Config) Spring Cloud学习--配置中心(Config) 一 Spring Cloud Config简介 二 编写 Config Server 三 编写Config Client 四 使用refresh端点手动刷新配置 五 Spring Co ...
分类:
编程语言 时间:
2018-07-07 20:08:13
阅读次数:
218
#include #include #include using namespace std; struct student //学生信息存储结构 { int no; //学号 char name[15]; //姓名 ... ...
分类:
其他好文 时间:
2018-07-05 21:47:59
阅读次数:
159
git log 见https://blog.csdn.net/daguanjia11/article/details/73823617 +++++++++++++++++++++++ 使用git log命令,什么参数都没有的话,会以下面的格式输出所有的日志(我当前的git仓库只有三个提交)。如果日志 ...
分类:
其他好文 时间:
2018-07-03 00:17:40
阅读次数:
169
1、官方安装文档 http://dev.mysql.com/doc/mysql-yum-repo-quick-guide/en/ 2、下载 Mysql yum包 http://dev.mysql.com/downloads/repo/yum/ 下载到本地再上传到服务器,或者使用wget 直接下载 3 ...
分类:
数据库 时间:
2018-07-01 01:09:18
阅读次数:
300
wget http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm rpm -Uvh nux-dextop-release*rpm yum install rdesktop -y ...
分类:
其他好文 时间:
2018-06-29 15:44:13
阅读次数:
247