需求背景 ?业务发展越来越庞大,服务器越来越多?各种访问日志、应用日志、错误日志量越来越多?开发人员排查问题,需要到服务器上查日志,效率低、权限不好控制?运维需实时关注业务访问情况 K8S环境中需要查看的应用日志 应用程序日志记录体现方式分为两类:?标准输出:输出到控制台,使用kubectl log ...
分类:
Web程序 时间:
2021-01-05 11:13:24
阅读次数:
0
?fetch('ftp://example.com').catch(err => console.error('Caught error: ', err) ?判断一个变量是不是NaN isNaN( )判断字符串的时候也会返回true。 1 var a = "str"; 2 var b = 2; 3 ...
分类:
其他好文 时间:
2021-01-04 11:11:28
阅读次数:
0
#include<iostream> #include<cstdio> #include<cstdlib> #include<cstring> #include<algorithm> #include<stack> #include<queue> #define ll long long using ...
分类:
其他好文 时间:
2021-01-04 10:30:49
阅读次数:
0
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; //如果要弹窗。加命名空间 using System.Windows ...
分类:
其他好文 时间:
2021-01-02 11:27:15
阅读次数:
0
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _7构造方法 { public class St ...
分类:
其他好文 时间:
2021-01-02 11:25:25
阅读次数:
0
前言 栈(Stack)是一种后进先出的数据结构,仅允许在栈顶插入、删除、读取。队列(Queue)是一种先进先出的数据结构,队头读取、删除,队尾插入。 使用数组实现栈 使用到的MyArrayList和MyLinkedList详情请查看 java实现一个自己的ArrayList和LinkedList p ...
分类:
编程语言 时间:
2021-01-01 12:59:10
阅读次数:
0
将hive/lib下面的jline-2.12.jar 复制到hadoop目录下 cp /usr/local/src/hive-1.2.2/jline-2.12.jar /usr/local/src/hadoop-2.6.1/share/hadoop/yarn/lib/ ...
分类:
其他好文 时间:
2021-01-01 12:54:42
阅读次数:
0
前序 class Solution { public: vector<int> preorderTraversal(TreeNode* root) { vector<int> res; if (root == nullptr) { return res; } stack<TreeNode*> stk ...
分类:
其他好文 时间:
2021-01-01 12:36:16
阅读次数:
0
一、简介 1、postMessage()方法允许来自不同源的脚本采用异步方式进行有限的通信,可以实现跨文本档、多窗口、跨域消息传递 2、postMessage(data,origin)方法接受两个参数: (1)data:要传递的数据,html5规范中提到该参数可以是JavaScript的任意基本类型 ...
分类:
其他好文 时间:
2020-12-31 12:30:47
阅读次数:
0
题目 给定 \(n\) 个非负整数,用来表示柱状图中各个柱子的高度。每个柱子彼此相邻,且宽度为 \(1\) 。求在该柱状图中,能够勾勒出来的矩形的最大面积。 以上是柱状图的示例,其中每个柱子的宽度为 1,给定的高度为 [2,1,5,6,2,3]。 图中阴影部分为所能勾勒出的最大矩形面积,其面积为 1 ...
分类:
其他好文 时间:
2020-12-31 12:14:54
阅读次数:
0