How do I install all developer tools such as GNU GCC C/C++ compilers, make and others, after installing CentOS from a shell prompt?you can following the nest line do ,install almost all development to...
分类:
系统相关 时间:
2014-06-07 01:23:47
阅读次数:
317
- (void)loadAssets {
// Initialise
_assets = [NSMutableArray new];
_assetLibrary = [[ALAssetsLibrary alloc] init];
// Run in the background as it takes a while to get a...
分类:
其他好文 时间:
2014-06-05 12:06:55
阅读次数:
215
一直没有认真觉察UPDATE操作的锁,最近在MSDN上看到一个问题,询问堆表更新的死锁问题,问题很简单,有类似这样的表及数据:CREATE TABLE dbo.tb( c1 int, c2 char(10), c3 varchar(10));GODECLARE @id int;SET @id = 0;WHILE @id 5BEGIN; SET...
分类:
其他好文 时间:
2014-06-05 10:24:32
阅读次数:
271
1、错误描述
freemarker.core.ParseException: Token manager error: freemarker.core.TokenMgrError: Lexical error at line 16, column 50. Encountered: "\uff01" (65281), after : "" in course.ftl
at freemarker...
分类:
其他好文 时间:
2014-06-05 07:59:23
阅读次数:
364
1、错误描述
五月 28, 2014 9:56:48 下午 freemarker.log.JDK14LoggerFactory$JDK14Logger error
严重: Template processing error: "Expression student.course is undefined on line 15, column 24 in course.ftl."
Express...
分类:
其他好文 时间:
2014-06-05 07:35:59
阅读次数:
348
很多的开源软件在安装过程中会出现找不到动态库的问题我在ubuntu12.04安装lxc时,没有出现这问题,但在centos6.5的时候出现了这问题fix:#find / -name liblxc.so.1#echo "/usr/local/lib/" >> /etc/ld.so.conf#ldconfig...
分类:
其他好文 时间:
2014-06-05 06:23:02
阅读次数:
243
1、文件描述符
Linux操作系统中,几乎所有的设备都被抽象成为设备文件。因此,当我们想对设备进行操作的时候可以直接去操作其相应的设备文件。设备文件即是文件,要想对文件进行操作,无非就是:打开文件、关闭文件、写入数据、读出数据等,它们分别对应的函数有open(),close(),write(),read(),就以其中的open()函数做一个分析。open函数的作用是打开一个文件。
(1)它的定...
分类:
系统相关 时间:
2014-06-05 06:17:45
阅读次数:
389
近来,有幸了解了谷歌的一款面向世界的新产品——无人驾驶汽车,尽管它还没有面世,但就目前来看,它所带来的影响也是巨大的,现在,我就来谈谈我对这个无人驾驶汽车的未来大一些想法。
无人驾驶汽车,顾名思义,无人驾驶的汽车,即自动化,电子计算机,传感器,互联网等信息技术所主导的驾驶系统之下所产生的汽车类别。
在这里,我不讨论这个汽车的技术分析,我并不精通于这方面,我想谈谈的,...
分类:
其他好文 时间:
2014-06-05 03:24:50
阅读次数:
291
安卓建立项目后,在项目上出现小红叉(已解决)!
发现原来是选择路径时,自定义了路径,造成没有发现文件,另外,也很可能跟中文目录有关!
新手要注意了!...
分类:
移动开发 时间:
2014-06-04 23:26:53
阅读次数:
230
【题目】
Given an array of words and a length L, format the text such that each line has exactly L characters and is fully (left and right) justified.
You should pack your words in a greedy approach; that is, pack as many words as you can in each line. Pad ...
分类:
其他好文 时间:
2014-06-04 22:37:46
阅读次数:
389