通过终端安装程序sudo apt-get install xxx时出错:E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)E: Unable to lock the admini...
分类:
其他好文 时间:
2014-06-28 16:06:36
阅读次数:
198
1. aam 里加入一个ip的internet 2. iis里不用加上ip,但不要有host name 出现的问题: 1. 当打开站点里会出现这个错误 file not found 2. 当加授予用户权限时,用户加不上去: Sorry, we're having trouble reaching t...
分类:
其他好文 时间:
2014-06-23 07:53:04
阅读次数:
223
最近开始重新学习C/C++,第一步当然就是IDE环境配置,一直Eclipse,buxiang...
分类:
编程语言 时间:
2014-06-22 21:53:24
阅读次数:
297
Given a sorted array of integers, find the starting and ending position of a given target value.
Your algorithm's runtime complexity must be in the order of O(log n).
If the target is not found ...
分类:
其他好文 时间:
2014-06-22 21:47:15
阅读次数:
269
Given an index k, return the
kth row of the Pascal's triangle.
For example, given k = 3,
Return [1,3,3,1].
Note:
Could you optimize your algorithm to use only
O(k) extra space?
...
分类:
其他好文 时间:
2014-06-22 21:31:26
阅读次数:
214
报错内容:configure: error: mcrypt.h not found. Please reinstall libmcrypt
网上搜索了很多,包括自带的 yum install libmcrypt libmcrypt-devel,这个是没有效果的。
去SourceForget下载libmcrypt http://sourceforge.net/projects/mcrypt/fi...
分类:
Web程序 时间:
2014-06-22 21:13:35
阅读次数:
272
apt-get无法下载,网址报 Not Found 404,原因是apt软件下载源有问题。
1.将/etc/apt/source.list里的内容替换。
再其它可以下载apt的ubuntu机器中拷贝过来覆盖此文件,再执行apt-get
update更新source list。
2.“软件更新管理”->"设置"->“ubuntu软件”->“下载自”中修改软件下载源。...
分类:
其他好文 时间:
2014-06-22 20:39:06
阅读次数:
150
安装的时候首先出现
hfs: summary table not allowed on FS withblock size of 2048
错误,然后就是
hfs: could not initializc summary table forOSX Base System
错误。
一开始也不知道是怎么回事,后来在yandex上搜索中找到一篇帖子,它说这是CPU的问题。Mac OS X 10.9不能识别特有的CPU格式,只能识别一部分。于是呢,按照帖子中的做法,首先找到Virtual Box的位置,用命令符的...
分类:
其他好文 时间:
2014-06-22 18:43:15
阅读次数:
268
Last night it took me about two hours to learn arrays. For the sake of less time, I did not put emphaises on the practice question, just now when reading the book, I found that some methods
referred...
分类:
其他好文 时间:
2014-06-22 17:14:10
阅读次数:
152
Valid SudokuDetermine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules.The Sudoku board could be partially filled, where empty cells are...
分类:
其他好文 时间:
2014-06-21 16:40:45
阅读次数:
280