1. ALSA设备驱动将ALSA设备描述分为四层,从上到下为:default default:0plughw:0,0hw:0,0 不同的层次,对设备的控制权限不同,比如hardware parameters 的period/buffer size 需要在plughw:0,0 和 hw:0,0 这两....
分类:
其他好文 时间:
2014-06-26 00:47:22
阅读次数:
661
- (void)yourButtonTitleTime{ __block int timeout=30; //倒计时时间 dispatch_queue_t queue = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0);.....
分类:
其他好文 时间:
2014-06-26 00:43:27
阅读次数:
305
[{ "keys": ["ctrl+d"], "command": "run_macro_file", "args": {"file": "Packages/Default/Delete Line.sublime-macro"} }, { // Emmet: Zencoding "ke...
分类:
其他好文 时间:
2014-06-25 15:31:43
阅读次数:
154
一.DB(Data block)A data block is the smallest unit of storage in anOracledatabase. Every database has a default block size (specified when the database...
分类:
数据库 时间:
2014-06-25 14:20:00
阅读次数:
430
ruby comes with a set of predefined variables$: = default search path (array of paths)其他Ruby特殊变量:$! 最近一次的错误信息$@ 错误产生的位置$_ gets最近读的字符串$. 解释器最近读的行数(line...
分类:
其他好文 时间:
2014-06-25 13:55:51
阅读次数:
179
原文 http://www.azure.com.cn/default.asp?cat=11&page=2Parallax Mapping 就是通过高度图中的高度,对纹理坐标进行偏移,来视觉上欺骗观察者,产生很有凸凹感个幻觉。uniform vec3 fvLightPosition;uniform v...
分类:
移动开发 时间:
2014-06-25 13:40:31
阅读次数:
242
加入 CoreImage.framework CoreGraphic.framework 等库
在使用时引入:#import
,支持iOS 5.0 及以上。
-(void)show
{
UIImage* img = [self
getBlurImage:[UIImage
imageNamed:@"Default...
分类:
移动开发 时间:
2014-06-24 17:23:41
阅读次数:
297
工作当中遇到oracle运行时CPU占用率达到90%以上,调小以下参数值后恢复正常。fs.file-max = 65536 net.core.rmem_default=262144net.core.rmem_max=262144net.core.wmem_default=262144net.core...
分类:
数据库 时间:
2014-06-24 14:50:14
阅读次数:
228
Toast can show the help/prompts to user. There have five effect of toast as bellow:
1.default effect:
code:
Toast.makeText(getApplicationContext(), "默认Toast样式",
Toast.LENGTH_SHORT).sho...
分类:
移动开发 时间:
2014-06-22 11:35:38
阅读次数:
500
随时修改: 1 [mysqld] 2 #basedir= 3 datadir=/var/lib/mysql 4 #mysql.default_port=3306 5 #mysql.default_socket=/tmp/mysql.sock 6 socket=/var/lib/mysql/mysql...
分类:
数据库 时间:
2014-06-22 10:53:32
阅读次数:
277