1. 综述 HLS(HTTP Live Streaming) 把整个流分成一个个小的基于 HTTP 的文件来下载,每次只下载一些。HLS 协议由三部分组成:HTTP、M3U8、TS。这三部分中,HTTP 是传输协议,M3U8 是索引文件,TS 是音视频的媒体信息。 关于 HLS 的详细介绍可参考: ...
分类:
其他好文 时间:
2018-06-04 23:25:00
阅读次数:
308
1、安装 2、创建文件 然后建一个文件夹e2e,在文件夹里面在创建一个index.js内容如下 3、执行 ...
分类:
Web程序 时间:
2018-06-04 23:22:23
阅读次数:
199
初次运行 Git 前的配置 一般在新的系统上,我们都需要先配置下自己的 Git 工作环境。配置工作只需一次,以后升级时还会沿用现在的配置。当然,如果需要,你随时可以用相同的命令修改已有的配置。 Git 提供了一个叫做 git config 的工具(译注:实际是 git-config 命令,只不过可以 ...
分类:
其他好文 时间:
2018-06-04 20:35:07
阅读次数:
145
NET API 分析器 https://www.hanselman.com/blog/WritingSmarterCrossplatformNETCoreAppsWithTheAPIAnalyzerAndWindowsCompatibilityPack.aspx http://www.cnblogs ...
下载jmx_exporter的jar包 https://repo1.maven.org/maven2/io/prometheus/jmx/jmx_prometheus_javaagent/0.3.1/jmx_prometheus_javaagent-0.3.1.jar 创建配置文件namenode. ...
分类:
其他好文 时间:
2018-06-04 16:47:42
阅读次数:
4403
有时候使用可变变量名是很方便的。就是说,一个变量的变量名可以动态的设置和使用。一个普通的变量通过声明来设置,例如: <?php$a = 'hello';?> <?php$a = 'hello';?> 一个可变变量获取了一个普通变量的值作为这个可变变量的变量名。在上面的例子中 hello 使用了两个美 ...
分类:
Web程序 时间:
2018-06-04 16:44:10
阅读次数:
158
You are given two arrays (without duplicates) nums1 and nums2 where nums1’s elements are subset of nums2. Find all the next greater numbers for nums1' ...
分类:
其他好文 时间:
2018-06-04 11:53:06
阅读次数:
141
给大家提供一个思路。 检查下自己的包是不是多创建了一层。 比如说在建立 server.c.impl正常使用 但server.c.d.impl就不行了。 容易被忽视的一点,可以排查一下。 ...
分类:
Web程序 时间:
2018-06-04 00:52:48
阅读次数:
191
题目: Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n). Example: Note: If the ...
一、salt-ssh的使用 官方文档:https://docs.saltstack.com/en/2016.11/topics/ssh/index.html 二.配置管理 1)SLS:salt state举例安装apache 2) LAMP的状态设计与实现部署 设计需求分析 1、设计分析 2、Aap ...
分类:
其他好文 时间:
2018-06-03 00:59:59
阅读次数:
164