// thin device数据结构
type DevInfo struct {
Hash string `json:"-"`
DeviceId int `json:"device_id"`
Size uint64 `json:"size"`
TransactionId uint64 `json:"tran...
分类:
移动开发 时间:
2014-07-25 11:02:35
阅读次数:
549
Alstom Ball Mill is a slow speed horizontal mill with trunnion type bearings and girth gear – a rugged design with ease of operation, maintenance and ...
分类:
其他好文 时间:
2014-07-24 22:19:12
阅读次数:
251
简单工厂模式(Factory Method):定义一个用于创建对象的接口,让子类决定将哪一个类实例化。Factory Method使一个类的实例化延迟到其子类。
package gof23;
public class SimpleFactoryTest {
public static void main(String[] args) {
Operation oper = null;
...
分类:
其他好文 时间:
2014-07-24 17:36:46
阅读次数:
223
Dynamic Binding动态绑定Binding:解析Type,member,operation的过程.动态绑定将Binding从编译时延迟到运行时进行.场景编译时,程序员知道特定的function,member,operation的存在,而Compiler不知道.1 dynamic d = G...
分类:
其他好文 时间:
2014-07-24 14:38:05
阅读次数:
321
一、问题的提出现假设需要生产两种产品或创建两个对象,我们一般的方法如下代码所示://protoProduct.hclass ProductA{public: virtual void operation();};class ProductB{public: virtual void op...
分类:
其他好文 时间:
2014-07-24 00:50:48
阅读次数:
276
03_wsdl和soap讲解(介入了tcpmon工具)WSDL内容: 1.types:用来定义访问的类型 2.message:SOAP(simple object access Protocol) 3.portType:指明服务器的接口,并且通过operation绑定相应的in和out的消息:...
分类:
其他好文 时间:
2014-07-23 22:29:47
阅读次数:
337
原文译自:http://opensource.com/business/14/7/docker-security-selinux
这篇文章基于我今年在DockerCon一个讲座,它将讨论我们当前听到的Docker容器的安全问题.
容器并不"包容"
我听到也读到许多假定Docker容器是应用沙盒的观点--这意味着他们可以在他们的系统上使用有根权限的Docker来运行任意的程序. 他们相...
分类:
系统相关 时间:
2014-07-23 17:18:26
阅读次数:
469
# 主机环境 ubuntu server 14.04,虚拟机 # eth1:192.168.56.101 # eth2: 192.168.58.101 # 192.168.56.0/24 ? ? 管理网络 # 192.168.58.0/24 ? ? 数据网络,容器使用的网络 # 切换到 root 用户执行以下命令...
分类:
其他好文 时间:
2014-07-23 14:01:06
阅读次数:
289
Invalid MyEclipse License - Discontinuing this MyEclipse operation这句话的意思是无效的许可证-停用此MyEclipse操作入门就是你的许可证过期了。。破解版本过期了。。。cmd->regedit 打开注册表,ctrl+F 查询所有"e...
分类:
系统相关 时间:
2014-07-23 12:15:56
阅读次数:
271