一、第三方库的编译与安装
1. libfaac
# tar -zxvf faac-1.28.tar.gz
# cd faac-1.28
# ./configure --prefix=/opt/YOUR_SDK_INSTALL_DIRECTORY --enable-static --disable-shared
# make; make install
2. libmp3lame...
分类:
其他好文 时间:
2014-05-10 10:23:00
阅读次数:
401
1.NSOperation对于NSOperation,In OS X v10.6 and later,
operation queues ignore the value returned by this method and always start
operations on a separat...
分类:
移动开发 时间:
2014-05-09 17:36:56
阅读次数:
494
关闭[访问目录]web服务器默认是打开该访问目录的权限的。要关闭显示目录文件权限
只需把配置项Directory中的Options后的Indexes去掉即可,或者在Indexes前加一个减号。Indexes选项表示访问该目录时,如果该目录下有index.html,则定向访问该文件,否则展示目录下的文...
分类:
其他好文 时间:
2014-05-09 12:33:48
阅读次数:
962
JavaScript中的两个等号(==)和三个等号(===):Determining whether
two variables are equivalent is one of the most important operations in
programming.
分类:
编程语言 时间:
2014-05-09 11:44:17
阅读次数:
579
在练习项目的时候报错 error opening trace file: No such
file or directory
(2)字面意思是找不到文件,实际上也就是找不到文件,查了其他人的解决方法后还是没解决.突然想到新版本的创建布局文件的时候都有两个一个是文件名命名的xml布局文件另一个是,如....
分类:
其他好文 时间:
2014-05-07 19:17:34
阅读次数:
429
#xml
api:http://www.cnblogs.com/lhj588/archive/2011/11/09/2242483.html#dictionary
operations: key in dict....from xml.dom import minidom, Nodedoc = mi...
分类:
编程语言 时间:
2014-05-07 11:01:12
阅读次数:
602
LRU Cache
Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set.
get(key) - Get the value
(will always be posi...
分类:
其他好文 时间:
2014-05-07 07:16:21
阅读次数:
316
不小心重命名了libc.so.6动态库,运行命令
#mv /lib/libc.so.6 /lib/libc.so.6.back
#ls
ls: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
各种命令都不好...
分类:
其他好文 时间:
2014-05-07 04:49:53
阅读次数:
319
C#中关于文件操作的类主要有:1、Path类 2、Directory类 3、File类
4、Stream类1、Path类Path类中方法主要是对字符串的操作,与实际的文件没有任何关系。但是他对于文件的路径的形式的字符串的操作相当牛逼,可以直接提取类似文件路径字符串中的文件目录信息(GetDir...
分类:
其他好文 时间:
2014-05-07 00:48:56
阅读次数:
352
You are given an N × N grid initially filled by zeros. Let the rows and columns of the grid be numbered from1 to N, inclusive. There are two types of operations can be applied to the grid:
RowAdd R...
分类:
其他好文 时间:
2014-05-06 22:35:44
阅读次数:
451