近期研究 rtsp http stream 流获取方式vlc over live555 是个很不错的选择,当然了 andorid framework av也是支持rtsp http的,相同不错的选择1.编译https://wiki.videolan.org/AndroidCompile我是ubunt...
分类:
移动开发 时间:
2014-07-09 19:28:06
阅读次数:
249
类似于dreamhost这类主机服务商,是显示fopen的使用 的。使用php的curl可以实现支持FTP、FTPS、HTTP HTPPS SCP SFTP TFTP TELNET DICT FILE和LDAP。curl 支持SSL证书、HTTP POST、HTTP PUT 、FTP 上传,kerb...
分类:
Web程序 时间:
2014-07-09 16:14:31
阅读次数:
249
存储管理(一):openfiler介绍及存储理解
openfiler的用户集中控制主要分为ldap和ad实现,其中openfiler本身可以作为ldap服务器,使openfiler上的所有功能都能够通过以上两类用户来进行统一控制。
1、ldap配置
此处演示把openfiler当成一个ldap服务器,如下:
勾选”Use Local LDAP Server“...
分类:
其他好文 时间:
2014-07-09 09:33:18
阅读次数:
224
foreach
(PHP 4, PHP 5)
The foreach construct provides an easy way to iterate over arrays. foreach works only on arrays and objects, and will issue an error when you try to use it on a variable w...
分类:
Web程序 时间:
2014-07-08 19:52:38
阅读次数:
291
SPOJ Problem Set (classical)
1812. Longest Common Substring II
Problem code: LCS2
A string is finite sequence of characters over a non-empty finite set Σ.
In this problem, Σ is...
分类:
其他好文 时间:
2014-07-08 17:14:39
阅读次数:
291
Overload:重载就是在同一个类中,方法名相同,参数列表不同.参数列表不同包括:参数的个数不同,参数类型不同. 1 using System; 2 using System.Collections.Generic; 3 using System.Text; 4 5 namespace Over....
分类:
其他好文 时间:
2014-07-07 08:55:41
阅读次数:
177
DescriptionThe cows have purchased a yogurt factory that makes world-famous Yucky Yogurt. Over the next N (1 #includeint min(int a,int b){ if(a>b) ...
分类:
其他好文 时间:
2014-07-06 14:21:54
阅读次数:
215
1、sum over用法
sum(col1) over(partition by col2 order by col3 )
以上的函数可以理解为:按col2 进行分组(partition ),每组以col3 进行排序(order),并进行连续加总(sum)
表a,内容如下:
B C D
02 02 1
02 03 2
02 04 3
02 05...
分类:
其他好文 时间:
2014-07-04 07:09:15
阅读次数:
503
目标:使用ldap做为系统用户的数据目录,基于web管理ldap数据。安装使用YUM安装方式,由于要使用web方式管理LDAP服务器,也要安装APACHE、PHP和ldap相关的软件包。web管理使用ldap-account-manager或phpldapadmin,lam和phpldapadmin可以直接用rpm包安装。centos6.5使用openlda..
分类:
其他好文 时间:
2014-07-04 00:52:11
阅读次数:
294
row_number() OVER (PARTITION BY COL1 ORDER BY COL2)
--表示根据COL1分组,在分组内部根据 COL2排序,而此函数返回的值就表示每组内部排序后的顺序编号(组内连续的唯一的)
例子一: create table student (id int ,classes int ,score int);
insert into student val...
分类:
其他好文 时间:
2014-07-03 18:33:50
阅读次数:
213