因为我们的内部网络使用了代理,所以在 安装 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
原题地址: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
原题地址: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
昨天上午,在视频“L10-008-lamp环境之MySQL多实例安装配置指南”马上就要结束的时候,再次遇到问题。前天晚上,根据视频讲解在清理多余MySQL数据库账号后,就直接退出数据库并关机了(没有在清理账号后,退出数据库并重新登录数据库——其实,也没有必要做这样的测试)。昨天..
分类:
数据库 时间:
2014-06-10 23:32:59
阅读次数:
1436
项目用到的服务:LAMP+nginx+squid+代理MYSQL+rsync搭建LAMP平台,是目前非常流行的Web开发平台,成本低廉,扩展能力好,灵活,安全性高,深受企业和管理人员的喜爱,容易形成整体的系统结构nginx实现了整体网络的负载均衡,还以搭建存放一些静态网页,提高客户端对静态网页的..
分类:
其他好文 时间:
2014-06-10 23:25:59
阅读次数:
657
由于php是一个脚本语言,每次运行的时候都要进行编译,这样一来,性能必定有所下降,故采用php缓存实现加速功能,提高性能,目前主流的加速器有:APC(AlternativePHPcache),eAccelerator,Xcache。从速度,内存,使用率综合考量eAccelerator优势突出。本文就eAccelerator加..
分类:
其他好文 时间:
2014-06-10 22:42:21
阅读次数:
425