使用 nginx 和 rtmp 模块 ,可以很容易地搭建一个视频直播和点播服务器出来。下面我们来看一下具体实施步骤: 1. 安装 nginx 和 rtmp 模块 有关 nginx 的编译和安装比较简单,这里就不介绍了,看参考文献。这里提示以下几点: (1) 安装好 nginx 后,配置文件在这里: ...
分类:
Web程序 时间:
2020-03-06 11:06:43
阅读次数:
96
* A:键盘功能键 * a:Tab * b:Shift * c:Ctrl * d:Alt * e:空格 * f:Enter * g:Window * h:上下左右键 * i:PrtSc(PrintScreen)屏幕截图* B:键盘快捷键 * a:Ctrl+A 全选 * b:Ctrl+C 复制 * c ...
分类:
其他好文 时间:
2020-03-05 10:29:12
阅读次数:
163
Description: Debug for the "dynamic community detection" project; Only 1 of the 2 communities could be found. Debug note: ...
分类:
其他好文 时间:
2020-03-05 01:01:48
阅读次数:
46
如何创建一个精灵? 1. 使用一张特定的图像如创建 auto mySprite = Sprite::create("mySprite.png"); 注意:蓝色部分是背景。 2. 使用矩形 auto mySprite = Sprite::create("mySprite.png", Rect(0, 0 ...
分类:
其他好文 时间:
2020-03-04 19:23:13
阅读次数:
77
方法挺多的,_access和_mkdir算是比较古典了,不过很好用。 #include <io.h> #include <direct.h> // 判断文件夹是否存在 bool IsDirExist(const char *pszDir) { if (pszDir == NULL) return f ...
分类:
编程语言 时间:
2020-03-04 14:56:12
阅读次数:
183
Airless pump bottles play an important role in the preservation of sensitive cosmetics (such as creams, serums or foundations) and various other prese ...
分类:
其他好文 时间:
2020-03-04 14:39:50
阅读次数:
82
I want to test a device DNS feature, so I build a DNS server in my Ubuntu PC. In this example, I want to my device to send the report to report.com wh ...
分类:
系统相关 时间:
2020-03-04 12:46:27
阅读次数:
87
腐烂的橘子。题意是给一个二维数组,用几个数字分别表示橘子的腐烂情况。每过去一分钟,任何腐烂的橘子的上下左右四个方向上的新鲜橘子都会腐烂。请求出全部橘子腐烂需要的分钟数,如果不会全都腐烂,则返回-1。 0 代表空单元格; 1 代表新鲜橘子; 2 代表腐烂的橘子。 例子, Example 1: Inpu ...
分类:
其他好文 时间:
2020-03-04 12:39:45
阅读次数:
63
1 Sentinel-2简介 SENTINEL-2 is a European wide-swath, high-resolution, multi-spectral imaging mission. Sentinel-2 是高分辨率多光谱成像卫星,一颗卫星的重访周期为10天,两颗互补,重访周期为5 ...
分类:
其他好文 时间:
2020-03-04 00:38:48
阅读次数:
894
将tomcat8.0升级为8.5后,使用tomcat8.5启动项目,项目的jsp页面会有乱码现象 处理方法: 1.在tomcat8.5的bin文件下找到catalina.bat处理文件,在第二行添加set JAVA_OPTS=-Dfile.encoding=UTF-8 2,在tomcat8.5的se ...
分类:
其他好文 时间:
2020-03-03 20:57:27
阅读次数:
57