因为我们的内部网络使用了代理,所以在 安装 OpenStack 基于 Web 的管理控制台
的时候有个小麻烦,我们的 http 代理服务器无法通过 git 协议下载 openstack-dashboard 所需的代码,也就是说可以 git clone
https:// 这样克隆代码,但是不能使用 g...
分类:
其他好文 时间:
2014-06-13 08:19:21
阅读次数:
317
1. 安装seleniumpip install selenium2.
安装phantomjs如果你是Ubuntu12.04,默认安装的版本是1.4.这个会出错。需要安装1.9.7cd /usr/local/sharesudo
wget https://bitbucket.org/ariya/pha...
分类:
Web程序 时间:
2014-06-13 07:32:47
阅读次数:
305
原题地址:https://oj.leetcode.com/problems/count-and-say/题意:The
count-and-say sequence is the sequence of integers beginning as follows:1, 11,
21, 1211, 11...
分类:
编程语言 时间:
2014-06-13 06:23:26
阅读次数:
366
要实现这个功能,可以https://github.com/sroze/ngInfiniteScroll这个第三方控件实现的。实现步骤如下:1.
下载ng-infinite-scroll.js程序http://sroze.github.io/ngInfiniteScroll/
目前版本是1.0.02....
分类:
Web程序 时间:
2014-06-13 06:19:21
阅读次数:
10252
刚刚过去的周六(6月7号)是今年高考的第一天,同时也是GPCT杯大学生程序设计大赛颁奖的日子,下面我们用图文再回顾一下本次大赛颁奖的过程.从获奖结果统计看,在大学生群体中C++、Java、C#、Python分别以38%、32%、12%排列前3,而传统大学编程语言大户C语言占比仅为6%,也说明面向对象...
分类:
其他好文 时间:
2014-06-13 00:55:53
阅读次数:
244
原题地址:https://oj.leetcode.com/problems/trapping-rain-water/题意:Givennnon-negative
integers representing an elevation map where the width of each bar is ...
分类:
移动开发 时间:
2014-06-12 23:35:22
阅读次数:
409
原地址:http://www.cnblogs.com/thinksasa/archive/2013/08/26/3283695.html安装PIL-1.1.7.win32-py2.7的时候,不能再注册表中识别出来python2.7方法:新建一个register.py
文件,把一下代码贴进去,保存##...
分类:
编程语言 时间:
2014-06-12 23:25:53
阅读次数:
309
服务契约的方法重载,会在装载宿主时,抛出异常.解决是在操作契约上Name设置为不同值,但是生成的代理会把Name的名称作为方法的名称,不过我们可以手动的修改代理类,使得方法名与服务声明的名称一样.契约的继承:
服务契约是不可继承的. 客户端在导入服务契约时,会取消服务契约的继承层级,并利用Opera...
分类:
其他好文 时间:
2014-06-12 21:44:29
阅读次数:
357
原题地址:https://oj.leetcode.com/problems/multiply-strings/题意:Given
two numbers represented as strings, return multiplication of the numbers as a
string.N...
分类:
编程语言 时间:
2014-06-12 21:43:03
阅读次数:
344
原题地址:https://oj.leetcode.com/problems/jump-game/题意:Given
an array of non-negative integers, you are initially positioned at the first
index of the arr...
分类:
编程语言 时间:
2014-06-12 18:04:54
阅读次数:
540