Given two wordsword1andword2, find the minimum
number of steps required to convertword1toword2. (each operation is counted as 1
step.)You have the fol...
分类:
其他好文 时间:
2014-06-04 20:12:15
阅读次数:
199
System V 共享内存信息结构struct shmid_ds { struct ipc_perm
shm_perm; // operation permission struct size_t shm_segsz; // segment size pid_t
shm_lpid;...
分类:
其他好文 时间:
2014-06-03 11:20:18
阅读次数:
264
在执行计划中我们可能见过这样一句话 table access by index rowid
,这就是索引回表读实验脚本观察上面的operation
最后执行的出现在最上面我们可以从索引块中读取索引列的值,如果想读取索引列值以外的其他字段那就需要根据索引块的rowid定义到数据块这就是执行计划中的 索...
分类:
其他好文 时间:
2014-06-03 08:59:50
阅读次数:
212
docker基础教程Docker使用基本教程Docker中文文档1.启动docker--有两种方式如果你是二进制安装的,你可以使用sudo
/docker -d &来启动如果你是apt-get安装的你可以用service docker start开启2.搜索安装镜像官方安装方式docker
pull...
分类:
其他好文 时间:
2014-05-29 18:57:30
阅读次数:
788
http://docs.docker.io/installation/ubuntulinux/#docker-and-local-dns-server-warnings按照这个改一下默认的DNScontainer
和 笔记本要公用一个DNS服务器貌似.
分类:
其他好文 时间:
2014-05-29 12:02:33
阅读次数:
317
UML图namespace Study2014.CjModelDesign{ /// ///
2014-5-19 /// 简单封装 /// 过程式开发? /// public class Operation { public static...
分类:
其他好文 时间:
2014-05-26 22:29:27
阅读次数:
323
Cgroups是control
groups的缩写,最初由Google工程师提出,后来编进linux内核。Cgroups是实现IaaS虚拟化(kvm、lxc等),PaaS容器沙箱(Docker等)的资源管理控制部分的底层基础。百度私有PaaS云就是使用轻量的cgoups做的应用之间的隔离,以下是关于...
分类:
其他好文 时间:
2014-05-26 19:45:07
阅读次数:
366
###
NamespacesDocker利用命名域来提供隔离的集装箱.会提供很多命名域给集装箱.* The pid namespace:Used for process
numbering (PID: Process ID)* The net namespace:Used for managing ...
分类:
其他好文 时间:
2014-05-26 15:50:55
阅读次数:
401
$ ID=$(sudo docker run -d ubuntu /usr/bin/top
-b)$ sudo docker attach $ID在容器中运行top命令。如果attach 的时候就能看到top的是输出。$ sudo docker
stop $ID 就能结束这个容器。docker bu...
分类:
其他好文 时间:
2014-05-26 14:38:52
阅读次数:
421
H. Happy Reversal
64-bit integer IO format: %lld
Java class name: Main
Elfness is studying in an operation "NOT".
For a binary number A, if we do operation "NOT A", after that, all digit...
分类:
移动开发 时间:
2014-05-23 00:43:49
阅读次数:
430