本文主要介绍Docker在Windows下的安装。关于Docker的介绍和文档在其官网中可以找到:http://www.docker.com 。安装环境:Windows7。 Docker引擎使用了一个定制的Linux内核,所以要在Windows下运行Docker我们需要用到一个轻量级的虚拟机(...
从前文《 源码解析:dialog, popupwindow, 和activity 的第一个view是怎么来的?》中知道了activity第一个view或者说根view或者说mDecorView 其实就是一个FrameLayout,以及是在系统handleResume的时候加入到系统windowManager中的,并由framework中的ViewRootImpl
接管,通过ViewRootIm...
分类:
其他好文 时间:
2014-06-17 22:07:59
阅读次数:
277
周末无事约了以前同事去听了开源中国源创会的活动,感觉不错。简单说一下。
docker最近真是很火,昨天才刚听完一个同事的分享,使用linux containers和aufs减少虚拟化的overhead,build ship and run,有好感。今天是七牛一哥们做的分享,docker适合做paas,vm适合做iaas,使用范围仍然不同,他们内部使用docker做云处理api调用。后面thoug...
分类:
其他好文 时间:
2014-06-15 15:36:35
阅读次数:
222
方法1.go to the Product menu and find the Edit
Scheme menu there.While in Edit Scheme window, select the "Run" option on the
left hand side of the scree...
分类:
其他好文 时间:
2014-06-12 21:03:42
阅读次数:
317
function Event(sender) { this._sender = sender;
this._listeners = [];}Event.prototype = { attach : function (listener) {
this._listene...
分类:
Web程序 时间:
2014-06-12 16:38:51
阅读次数:
272
6月10号docker 1.0稳定版本发布,找了台ubuntu的机器,装了下ubuntu
version:12.04docker
version:1.0.0装docker的步骤可以看官方文档:https://docs.docker.com/installation/ubuntulinux/装好之后,...
分类:
移动开发 时间:
2014-06-12 07:13:23
阅读次数:
293
今天看了看观察者模式,有点小小的体会,从以下3点说明之
:1.看一下经典的观察者模式图2.讲个故事,说一下逻辑有一个男人(Subject),他通过一定的手段(attach)拥有了3个女人(Observer):老婆(concreteObserver1),情人(concreteObserver2),小3...
分类:
其他好文 时间:
2014-06-08 21:10:38
阅读次数:
293
附加数据库 Attach database filename as
database_name;主数据库默认为 "Main", 在使用Attach命令时, 不能将database_name指定为main; 当附加多个数据库,
并且存在相同名称的表时, 如果在命令时末指定数据库名(database_n...
分类:
数据库 时间:
2014-06-08 01:34:32
阅读次数:
274