Linking Containers Together
In the Using Docker section we touched on connecting to a service running inside a Docker container via a network port. This is one of
the ways that you can interact w...
分类:
其他好文 时间:
2014-08-17 11:46:32
阅读次数:
245
Happy Reversal
Elfness is studying in an operation "NOT".
For a binary number A, if we do operation "NOT A", after that, all digits of A will be reversed. (e.g. A=1001101, after operation "NOT A...
分类:
移动开发 时间:
2014-08-16 21:10:31
阅读次数:
321
线段树大杂烩~ 各种操作都有,细心点不难1A#include #include #include #include using namespace std;#define lson rt> 1; int Llen = mid - l + 1, Rlen = r - mid; for (int i =...
分类:
其他好文 时间:
2014-08-15 17:28:09
阅读次数:
247
前沿:这两天把报警平台放在了docker里面跑了,但是宿主机本身性能就不好,所以导致mongodb到挂了好几次了。这次搞了一台牛逼的服务器,虽说是opentstack里面的主机,但是iops很不错。你的程序放在docker里面迁移起来很是方便,像是以前的话,需要重新部署环境和静态文件。放在d..
分类:
其他好文 时间:
2014-08-15 14:48:59
阅读次数:
298
Problem Description
Teacher Mai has an integer x.
He does the following operations k times. In the i-th operation, x becomes the least integer no less than x, which is the multiple of i.
He w...
分类:
其他好文 时间:
2014-08-15 14:41:45
阅读次数:
165
为了方便使用,我做了如下结构体的嵌套使用:struct operation{ int num; char name[100]; char owner[100]; char msg[100];};struct collect{ int num; char name[100]; char owner[1...
分类:
其他好文 时间:
2014-08-15 12:03:28
阅读次数:
308
Description
You are given circular array a0,?a1,?...,?an?-?1.
There are two types of operations with it:
inc(lf,?rg,?v) — this operation increases each element on the segment
[lf,?rg] (inclu...
分类:
其他好文 时间:
2014-08-15 00:01:56
阅读次数:
327
最近Docker1.0稳定版发布了,这给paas注入新鲜的血液。Docker是一个功能强大的自动化分布式系统:大规模的Web部署、数据库集群、持续部署系统、私有PaaS、面向服务的体系结构等。Docker是一种增加了高级API的LinuXContainer(LXC)技术,提供了能够独立运行Unix进程的轻量级虚..
分类:
其他好文 时间:
2014-08-14 21:05:49
阅读次数:
269