Node.js 目录穿越漏洞(CVE-2017-14849) https://blog.csdn.net/xuandao_ahfengren/article/details/106883415 ...
分类:
其他好文 时间:
2020-12-19 12:54:13
阅读次数:
2
1、Prometheus概述 2、Prometheus部署 2.1、创建名称空间prom 2.2、部署node_exporter 2.3、部署prometheus-server 2.4、部署kube-sate-metrics 2.5、制作证书 2.6、部署k8s-prometheus-adapter ...
分类:
其他好文 时间:
2020-12-19 12:38:51
阅读次数:
1
介绍 Axios 是一个基于 promise 的 HTTP 库,可以用在浏览器和 node.js 中。 功能特性 在浏览器中发送 XMLHttpRequests 请求; 在 node.js 中发送 http请求; 支持 Promise API; 拦截请求和响应; 转换请求和响应数据; 自动转换 JS ...
分类:
移动开发 时间:
2020-12-19 12:22:55
阅读次数:
2
Node.js 单线程与多进程 大家都知道 Node.js 性能很高,是以异步事件驱动、非阻塞 I/O 而被广泛使用。但缺点也很明显,由于 Node.js 是单线程程序,如果长时间运算,会导致 CPU 不能及时释放,所以并不适合 CPU 密集型应用。 当然,也不是没有办法解决这个问题。虽然 Node ...
分类:
Web程序 时间:
2020-12-19 11:50:30
阅读次数:
2
DOM(document object model ) DOM的版本 DOM0-DOM4 DOM0级在DOM标准规范出台之前的规范 DOM0和 DOM2使用频率最高 DOM节点 == (node) 一个完整的文档中存在 文本节点/ 属性节点 / 元素节点 节点类型nodeNamenodeTypeno ...
分类:
其他好文 时间:
2020-12-18 12:58:28
阅读次数:
3
//获取某元素后相邻的所有class名为MsoToc2的兄弟元素nextAll(node){ let that = this, nextNode = that.next(node), nodeArray = []; while(nextNode != null && that.hasClass(ne ...
分类:
Web程序 时间:
2020-12-18 12:49:19
阅读次数:
2
Vue和Angular、React都是前端框架 1、单页面框架 2、基于模块化组件化的开发模式 Vue简单 灵活 高效 国内的中小企业里面用的非常多 前端技术薪资介绍 Html5+Css3+Jquery PC端 移动端静态页面 6k-8k Angular 、 Vue 、React 10k+ Node ...
分类:
其他好文 时间:
2020-12-18 12:38:58
阅读次数:
2
题目 给定一个二叉搜索树, 找到该树中两个指定节点的最近公共祖先。 百度百科中最近公共祖先的定义为:“对于有根树 T 的两个结点 p、q,最近公共祖先表示为一个结点 x,满足 x 是 p、q 的祖先且 x 的深度尽可能大(一个节点也可以是它自己的祖先)。” 例如,给定如下二叉搜索树: root = ...
分类:
其他好文 时间:
2020-12-18 12:25:53
阅读次数:
3
/二叉树的遍历框架/ void traverse(TreeNode root) { //前序遍历:先访问根节点,再前序访问左子树,再访问右子树 traverse(root->left); //中序遍历:先中序访问左子树,再访问根节点,再访问右子树 traverse(root->right); //后 ...
分类:
其他好文 时间:
2020-12-17 13:11:47
阅读次数:
9
Smallest Subtree with all the Deepest Nodes (M) 题目 Given the root of a binary tree, the depth of each node is the shortest distance to the root. Retur ...
分类:
其他好文 时间:
2020-12-17 12:55:47
阅读次数:
3