brain.h#import @interface OrdinaryCalculatorBrain : NSObject-(void)pushOperation:(NSString *)operation; // + - * /-(void)pushOperand:(double)operand;-...
分类:
移动开发 时间:
2014-10-05 10:58:18
阅读次数:
308
在前面的例子里我们已经用过一些网络配置的部分功能了。 这边再一起说一下。 docker可以给镜像做端口映射,基本的命令是 -P(大写) docker?run?-d?-P?tomcat:7.0.55 当使用-P 标记时,Docker 会随机映射一个 ...
分类:
其他好文 时间:
2014-10-04 20:22:47
阅读次数:
288
docker可以支持把一个宿主机上的目录挂载到镜像里。 docker?run?-it?-v?/home/dock/Downloads:/usr/Downloads?ubuntu64?/bin/bash 通过-v参数,冒号前为宿主机目录,必须为绝对路径,冒号后为镜像内挂载的路...
分类:
其他好文 时间:
2014-10-04 17:27:27
阅读次数:
388
.h#import @interface CalculatorBrain : NSObject-(void)pushOperand:(double)operand;-(double)performOperation:(NSString *)operation;@property(readonly)i...
分类:
其他好文 时间:
2014-10-04 11:40:46
阅读次数:
206
9月24日数据库上频繁出现如下错误
Errors in file /u04/admin/njord/udump/njord_ora_25895.trc:
ORA-27300: OS system dependent operation:invalid_process_id failed with status: 0
ORA-27301: OS failure message: Error...
分类:
移动开发 时间:
2014-10-01 11:23:51
阅读次数:
400
按照本人对于容器制作的一些约定,容器仅仅提供运行环境,配置和数据保存在host中的某个约定位置。 rabbitmq的一个配置文件的位置固定的,必须放在指定位置,rabbitmq-env.conf。所以把它制作到容器中。 CONFIG_F...
分类:
其他好文 时间:
2014-09-30 12:07:01
阅读次数:
399
第1章Docker基础操作1.1常用的命令0)安装Docker环境yum-yinstalldocker1)指定IP,DNS网络位启动Docker容器a)docker-bip192.168.6.233/28-dns8.8.8.8-g/data/docker/-d2)在线pullp_w_picpath镜像到本地a)Dockerpullcentos3)启动容器a)Dockerrun–i–tcentos/bin/bash4)查看容器..
分类:
其他好文 时间:
2014-09-30 04:23:32
阅读次数:
251
Problem Description
XXX is puzzled with the question below:
1, 2, 3, ..., n (1
Operation 1: among the x-th number to the y-th number (inclusive), get the sum of the numbers which are co-prim...
分类:
其他好文 时间:
2014-09-30 02:54:32
阅读次数:
302
今天在svn提交的时候它卡顿了一下,我以为已经提交完了,就按了一下,结果就再也恢复不了,也继续不了了...报错cleanup failed–previous operation has not finished; run cleanup if it was interrupted试过执行cleanu...
分类:
其他好文 时间:
2014-09-29 18:59:21
阅读次数:
153
参考资源:http://blog.csdn.net/kongxx?viewmode=contentshttp://my.oschina.net/feedao/blog==============================运行环境win8.1 + virtual box, 运行 centos6....
分类:
其他好文 时间:
2014-09-28 19:39:15
阅读次数:
322