系统:centos7 使用root账户 开放80端口 firewall-cmd --zone=public --add-port=80/tcp --permanent 安装docker yum install docker -y 安装docker-compose yum install epel-r ...
分类:
数据库 时间:
2017-05-25 13:29:07
阅读次数:
297
curl -L https://github.com/docker/compose/releases/download/1.13.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose chmod +x /usr/ ...
分类:
其他好文 时间:
2017-05-23 16:31:24
阅读次数:
151
build 构建或重建服务 help 命令帮助 kill 杀掉容器 logs 显示容器的输出内容 port 打印绑定的开放端口 ps 显示容器 pull 拉取服务镜像 restart 重启服务 rm 删除停止的容器 run 运行一个一次性命令 scale 设置服务的容器数目 start 开启服务 s... ...
分类:
其他好文 时间:
2017-05-23 16:29:56
阅读次数:
163
Berland has a long and glorious history. To increase awareness about it among younger citizens, King of Berland decided to compose an anthem. Though t ...
分类:
其他好文 时间:
2017-05-22 00:11:28
阅读次数:
320
准备 首先要引进例如以下三个framework: MessageUI.framework Social.framework Accounts.framework 并在实现这几个方法的地方引入下面几个头文件 #import <MessageUI/MFMailComposeViewController. ...
分类:
移动开发 时间:
2017-05-21 19:40:46
阅读次数:
364
// MARK: - Action // MARK: compose mail 发送邮件 @IBAction func composeMail(sender: AnyObject) { // 判断能否发送邮件 guard MFMailComposeViewController.canSendMail... ...
分类:
编程语言 时间:
2017-05-18 18:47:47
阅读次数:
264
在看该文章前,你需要对Docker有所了解。 1、创建.Net Core 应用程序 ...
分类:
Web程序 时间:
2017-05-18 16:46:20
阅读次数:
1063
laravel到了5.1.*以上版本,便没有了illuminate/html类库的支持, 我试着把illuminate/html类库加入了laravel5.2,依然没有用, 但是laravelcollective/html类库可以代替illuminate/html类库,添加方法: 通过compose ...
分类:
其他好文 时间:
2017-05-16 23:29:36
阅读次数:
298
Learn how to user the ‘componentFromProp’ helper and ‘defaultProps’ higher order component to swap the underlying html tag of your component. Sometime ...
分类:
Web程序 时间:
2017-05-16 21:45:10
阅读次数:
239
在使用 Selenium WebDriver 做自动化测试的时候,会经常模拟鼠标和键盘的一些行为。比如使用鼠标单击、双击、右击、拖拽等动作;或者键盘输入、快捷键使用、组合键使用等模拟键盘的操作。在 WebDeriver 中,有一个专门的类来负责实现这些测试场景,那就是 Actions 类,在使用该类 ...
分类:
Web程序 时间:
2017-05-16 17:59:28
阅读次数:
517