Given inorder and postorder traversal of a tree, construct the binary tree. Note:You may assume that duplicates do not exist in the tree. For example, ...
分类:
其他好文 时间:
2020-05-22 13:12:40
阅读次数:
54
Description Given an array A of integers, return the number of (contiguous, non empty) subarrays that have a sum divisible by K. Example 1: Note: 1 思路 ...
分类:
编程语言 时间:
2020-05-22 12:29:23
阅读次数:
47
文档:模块3-1 面向对象.note 链接:http://note.youdao.com/noteshare?id=89fdc8ca1f3cff55a6525ce5d2bdc5ce&sub=87F9A4252A62483CA21CF026DEE5CA18 ...
分类:
其他好文 时间:
2020-05-22 09:42:49
阅读次数:
48
ingress做为k8s集群的入口非常重要,能实现ingress功能的软件很多,可根据自身需求选择。本篇博客主要使用nginx官方提供的nginx-ingress完成了http/https7层代理和tcp四层代理的环境配置。系统环境1,k8s的版本为1.8.22,dockerce的版本为19.03.8-33,五台主机操作系统版本为centos7,kernel版本3.10.0-9574,使用五台主机
分类:
Web程序 时间:
2020-05-22 09:42:18
阅读次数:
56
<template> <div class="about"> <h1>about page</h1> <el-row> <el-col :span="2"><div class="grid-content bg-purple">11</div></el-col> <el-col :span="22" ...
分类:
其他好文 时间:
2020-05-22 00:07:34
阅读次数:
49
之前在使用Google Chrome谷歌浏览器的时,感觉打开网页和占用内存上都比火狐好。最近在打开火狐的时候,总觉得很慢,占用内存又很大,那么把火狐变得快一点。打开about:config做以下操作 让火狐在最小化时自动释放内存 设置 **config.trim_on_minimize **(boo ...
分类:
Web程序 时间:
2020-05-21 23:58:53
阅读次数:
187
1. 基础类型 有12种 布尔值 let isDone: boolean = false; 数字 let dec: number = 6; 字符串 let name : string = 'bob'; 数组 let list: number[] = [1, 2, 3]; 元组 let x : [st ...
分类:
其他好文 时间:
2020-05-21 21:13:21
阅读次数:
79
1.官网下载eleasticsearch和kibana,两个版本应安装一致,否则会出现kibana连接不上eleasticsearch的情况(这里我以6.3.1为例) eleasticsearch的下载地址:https://www.elastic.co/cn/downloads/past-relea ...
分类:
系统相关 时间:
2020-05-21 21:07:31
阅读次数:
71
说明 crypt ( string $str [, string $salt ] ) : string crypt() 返回一个基于标准 UNIX DES 算法或系统上其他可用的替代算法的散列字符串。 salt 参数是可选的。然而,如果没有salt的话,crypt()创建出来的会是弱密码。 php ...
分类:
其他好文 时间:
2020-05-21 16:26:48
阅读次数:
66
我们知道Linux的目录结构为树状结构,最顶级的目录为根目录 /。 其他目录通过挂载可以将它们添加到树中,通过解除挂载可以移除它们。 在开始本教程前我们需要先知道什么是绝对路径与相对路径。 绝对路径:路径的写法,由根目录 / 写起,例如: /usr/share/doc 这个目录。 相对路径:路径的写 ...
分类:
系统相关 时间:
2020-05-21 16:21:00
阅读次数:
68