Pines
Pines
PEM – Openssl使用 `PEM(Privacy Enhanced Mail)`格式来存放各种信息,它是 openssl 默认采用的信息存放方式。Openssl 中的 PEM 文件一般包含如下信息: - 内容类型:表明本文件存放的是什么信息内容,它的形式为“——-BEGIN XXXX ——”,与结尾的“——END XXXX——”对应。 - 头信息:表明数据是如果被处理后存放,openssl 中用的最多的是加密信息,比如加密算法以及初始化向量 iv。 - 信息体:为 [BASE64](http://www.ruanyifeng.com/blog/2008/06/base64.html) 编码的数据。可以包括所有私钥(RSA 和 DSA)、公钥(RSA 和 DSA)和 (x509) 证书。它存储用...
传输层安全安全协议(SSL)和传输层安全协议(TLS)是加密安全协议。 它们用于确保网络通信的安全性。 他们的主要目标是提供数据完整性和通信隐私。 SSL 协议是为此目的而设计的第一个协议,TLS 是它的后续协议。 SSL 现在被认为是过时和不安全的(即使是它的最新版本) ,所以现代浏览器,如 Chrome 或 Firefox 使用 TLS。 浏览器通常使用 SSL 和 TLS 来保护 Web 应用程序和 Web 服务器之间的连接。 许多其他基于 TCP 的协议也使用 tls / ssl,包括电子邮件(smtp /...
## Webpack Code Splitting ### [Prevent Duplication](https://webpack.js.org/guides/code-splitting/#prevent-duplication) The [SplitChunksPlugin](https://webpack.js.org/plugins/split-chunks-plugin/) allows us to extract common dependencies into an existing entry chunk or an entirely new chunk. Let's use this to de-duplicate...
## [Tree Shaking](https://webpack.js.org/guides/tree-shaking/) Tree shaking is a term commonly used in the JavaScript context for dead-code elimination. It relies on the [static structure](http://exploringjs.com/es6/ch_modules.html#static-module-structure) of ES2015 module syntax, i.e. [import](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import) and...
### Measuring Javascript and CSS coverage Using the coverage tool in Chrome you can check that for any webpage. Just hit cmd + shift + p and type "coverage". ...
[Navigation Timing Level 2](https://w3c.github.io/navigation-timing/) 
[7 天打造前端性能监控系统](https://fex.baidu.com/blog/2014/05/build-performance-monitor-in-7-days/)
@nanhupatar 可以
文章已更新,简单提了一下与原理,要想把整个转换过程将清楚,估计单独一篇都不够。 @linxiaoru
使用 `exec()` 遍历字符串: ```js function getCrimeList (content) { // const reg = /被告人(.+?)犯(.+?罪),判处(.+?)。/g const reg = /被告人(.+?)犯(.+?罪),判.?处(.+?),并处罚金(.+?元)/g let match = reg.exec(content) let list = [] while (match) { list.push({ G:...