Go程序从main包下的main函数开始执行,当main执行结束后,程序退出。Docker的main函数在docker/docker/docker.gopackage main//Import needed packages;import ( ... "github.com/docker...
分类:
编程语言 时间:
2014-08-19 00:55:33
阅读次数:
233
Edit Distance
Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is counted as 1 step.)
You have the following 3 operati...
分类:
其他好文 时间:
2014-08-18 20:35:02
阅读次数:
206
http://acm.hdu.edu.cn/showproblem.php?pid=3397
线段树很好的题。涉及到的知识点:lazy操作,区间合并。
有五种操作:
0 a b 将[a,b]变为0
1 a b 将[a,b]变为1
2 a b 将[a,b]取反
3 a b 输出[a,b]的1的个数
4 a b 输出[a,b]内最长的连续1的个数
对区间的操作与poj 3225...
分类:
其他好文 时间:
2014-08-18 20:34:52
阅读次数:
362
Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is counted as 1 step.)...
分类:
其他好文 时间:
2014-08-18 16:21:57
阅读次数:
148
Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is counted as 1 step.)You have t...
分类:
其他好文 时间:
2014-08-18 12:20:34
阅读次数:
148
昨天在做存储迁移的时候,对ASM磁盘组的东西进行操作时,出现了如标题的错误。经查资料,发现原因如下: 如磁盘组是使用asmca图形化工具创建,则compatible.asm默认设置就已经为11.2,如使用CREATE DISKGROUP这个SQL命令创建,则默认设置为10.1,需要手动修改。因...
分类:
其他好文 时间:
2014-08-18 09:08:13
阅读次数:
233
Docker 初次接触
最近看了不少docker介绍性文章,也听了不少公开课,于是今天去官网逛了逛,发现了一个交互式的小教程于是决定跟着学习下。只是把觉得重点的知识记录下来,不是很系统的学习和笔记。
理论部分
Docker 引擎包含了两个部分,一个守护进程作为服务器端来管理所有的容器。一个客户端,可以远程来控制服务端。Docker有公共的云端仓库 Docker Hub Regis...
分类:
其他好文 时间:
2014-08-18 01:35:23
阅读次数:
385
在做界面程序时,常常需要一些数据类,界面元素通过绑定等方式显示出数据,然而由于UI线程不是线程安全的,一般都需要通过Invoke等方式来调用界面控件。但对于数据绑定bindingList而言,没法响应listchang事件,导致后端的grid等控件不能更新数据。废了好大的劲终于找到一个UIBindi...
分类:
编程语言 时间:
2014-08-17 16:51:32
阅读次数:
432
Managing Data in Containers
So far we've been introduced to some basic Docker concepts, seen how to work with Docker
images as well as learned about networking and links between containers. In th...
分类:
其他好文 时间:
2014-08-17 13:06:32
阅读次数:
271