The Single Responsibility Principle 单一职责原则参考http://blog.csdn.net/zhengzhb/article/details/7278174定义:"引起类变化的因素永远不要多于一个。"或者说 "一个类有且仅有一个职责"。实际问题:类C负责2个不同...
分类:
其他好文 时间:
2015-02-27 16:40:44
阅读次数:
178
最主要的就是使用使用amix的filter
官方文档:http://ffmpeg.org/ffmpeg-filters.html
6.8 amix
Mixes multiple audio inputs into a single output.
Note that this filter only supports float samples (the amerge ...
分类:
其他好文 时间:
2015-02-27 11:59:31
阅读次数:
1616
Given an array of integers, every element appears twice except for one. Find that single one.
Note:
Your algorithm should have a linear runtime complexity. Could you implement it without using e...
分类:
其他好文 时间:
2015-02-27 11:58:37
阅读次数:
169
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it
as a li...
分类:
其他好文 时间:
2015-02-27 11:54:33
阅读次数:
125
前两天帮同事处理一个 js 跨域问题,使用 jsonp 跨域提交用户名密码请求,实现自动登录第三方网站,即 SSO(single-sign-on) 单点登录,一处登录处处登录。在 Chrome 下没问题,IE 却不行。查看 HTTP 的几个来回,发现登录请求是成功的,问题出在第三方网站返回的 coo...
分类:
其他好文 时间:
2015-02-26 20:08:09
阅读次数:
160
14_01linux系统启动流程POST(加电自检)-->BIOS(BootSequence)-->MBR(bootloader,446(mbr只读取一个,不会再读取第二个))-->Kernel(一般是压缩存放的)-->(ROOTFS)/sbin/init(/etc/inittab)-->-->-->启动的服务不同:运行级别:0-60:halt(关机)1:singleu..
分类:
其他好文 时间:
2015-02-26 18:47:38
阅读次数:
198
Given an array of integers, every element appears three times except for one. Find that single one.
Note:
Your algorithm should have a linear runtime complexity. Could you implement it without u...
分类:
其他好文 时间:
2015-02-26 18:33:18
阅读次数:
99
http://blog.csdn.net/cutesource/article/details/5838693单点登录SSO(Single Sign On)说得简单点就是在一个多系统共存的环境下,用户在一处登录后,就不用在其他系统中登录,也就是用户的一次登录能得到其他所有系统的信任。单点登录在大型网...
分类:
其他好文 时间:
2015-02-26 17:57:53
阅读次数:
110
A number that will be the same when it is written forwards or backwards is known as a Palindromic Number. For example, 1234321 is a palindromic number. All single digit numbers are palindromic numbers...
分类:
其他好文 时间:
2015-02-25 21:11:47
阅读次数:
126
1、创建一个 Single View Application;2、删除工程目录下的 Main.storyboard 和 LaunchScreen.xib;3、打开 Supporting Files 下的 Info.plist,删除 Launch screen interface file base ...
分类:
移动开发 时间:
2015-02-24 23:25:22
阅读次数:
160