上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 53 下一页
摘要: There is a simple rule of thumb to tell you when to use == or is. == is for value equality. Use it when you would like to know if two objects have the 阅读全文
posted @ 2016-12-27 12:28 圆旭 阅读(239) 评论(0) 推荐(0) 编辑
摘要: same issue i faced , tried with ./unstack.sh and ./clean.sh also but couldn't fix the issue.Following step helped me to resolve this issue../unstack.s 阅读全文
posted @ 2016-12-24 20:03 圆旭 阅读(1095) 评论(0) 推荐(0) 编辑
摘要: 在vim下可以使用常用的箭头键 但是 还有其它键可以让你更快的达到目标hjkl 这是代替箭头键功能的 H M L 跳到屏幕的顶上 中间 下方 w 跳到下一个单词的开始e 跳到单词的结束b 向后跳gg 跳到文件的开始 G 跳到文件的结束 10gg 或10G 跳到第10行 转自: http://www. 阅读全文
posted @ 2016-12-23 23:26 圆旭 阅读(235) 评论(0) 推荐(0) 编辑
摘要: 从senlin源码重新编译更新了服务,然后执行 senlin的 cli就遇到了错误: 谷歌了一下,找到这份开发者的聊天日志: http://eavesdrop.openstack.org/irclogs/%23senlin/%23senlin.2016-08-16.log.html 知道是clien 阅读全文
posted @ 2016-12-23 18:38 圆旭 阅读(529) 评论(0) 推荐(0) 编辑
摘要: input 为: 阅读全文
posted @ 2016-12-22 15:05 圆旭 阅读(8204) 评论(0) 推荐(0) 编辑
摘要: screen -r <id | name> # 进入 screen C-a c # ctrl+a + c , 新建screen窗口 C-a A # ctrl+a + A, 命名screen窗口 创建命名为foo的screen session 详细请查看:man screen 阅读全文
posted @ 2016-12-21 22:01 圆旭 阅读(161) 评论(0) 推荐(0) 编辑
摘要: It's also worth noting that you can use * and ** when calling functions as well. This is a shortcut that allows you to pass multiple arguments to a fu 阅读全文
posted @ 2016-12-20 17:25 圆旭 阅读(168) 评论(0) 推荐(0) 编辑
摘要: # 定义user类型和user列表类型 #实现API逻辑 转自: https://segmentfault.com/a/1190000004004179?utm_source=tuicool&utm_medium=referral 阅读全文
posted @ 2016-12-20 16:26 圆旭 阅读(552) 评论(0) 推荐(0) 编辑
摘要: 在Python 2.4以上的的函数中偶尔会看到函数定义的上一行有@functionName的修饰,这一下这个语法细节,其实这有点像C语言带参数的宏操作,解释器读到这样的修饰之后,会先解析@后的内容,直接就把@下一行的函数或者类作为@后边的函数的参数,然后将返回值赋值给下一行修饰的函数对象。 def 阅读全文
posted @ 2016-12-20 14:18 圆旭 阅读(3416) 评论(0) 推荐(0) 编辑
摘要: 1.增加虚拟网络命名空间 ip netns add net0 2.显示所有的虚拟网络命名空间 EULER:~ # ip netns list net0 也可通过查看/var/run/netns目录下的文件来list EULER:~ # ls /var/run/netns/ net0 3.进入虚拟机网 阅读全文
posted @ 2016-12-19 16:22 圆旭 阅读(2679) 评论(0) 推荐(0) 编辑
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 53 下一页