1、安装node.js 验证是否安装成功:node -v 2、安装npm 验证是否安装成功:npm -v 3、下载cnpm镜像: npm install cnpm -g --registry=https://registry.npm.taobao.org 验证安装成功:打印出+ cnpm@6.2.0 ...
分类:
其他好文 时间:
2021-05-25 18:03:05
阅读次数:
0
let date = new Date() for (let m = 1; m < 13; m++) { let num = new Date(date.getFullYear(), m, 0).getDate(); for (let i = 1; i < num + 1; i++) { //再把天 ...
分类:
Web程序 时间:
2021-05-25 17:54:29
阅读次数:
0
C语言 #include "stdbool.h" #define NULL ((void *)0) //Definition for a binary tree node. struct TreeNode { int val; struct TreeNode *left; struct TreeNo ...
分类:
编程语言 时间:
2021-05-25 17:51:01
阅读次数:
0
超过最大分片引起的,在es机器上执行:curl -XPUT -H "Content-Type:application/json" -d '{"persistent":{"cluster":{"max_shards_per_node":10000}}}' 'http://es-host:9200/_c ...
分类:
其他好文 时间:
2021-05-25 17:41:51
阅读次数:
0
一、什么是链表? 1.和数组一样,链表也是一种线性表。 2.从内存结构来看,链表的内存结构是不连续的内存空间,是将一组零散的内存块串联起来,从而进行数据存储的数据结构。 3.链表中的每一个内存块被称为节点Node。结点除了存储数据外,还需记录链上下一个结点的地址,即后继指针next。 二、为什么使用 ...
分类:
编程语言 时间:
2021-05-25 17:39:06
阅读次数:
0
一、创建三个文件放在项目文件夹src下面的API文件夹下: 分别是:apiList.js、index.js、request.js 二、文件内容作用: (1)apiList.js 用于存放接口的地址信息(如下所示:) (2)index.js 封装接口,可全局使用this.$api('...'),后面举 ...
分类:
其他好文 时间:
2021-05-25 17:38:22
阅读次数:
0
$(document).ready(function () { function checkKey(evt) { var keyID = (evt.charCode) ? evt.charCode : ((evt.which) ? evt.which : evt.keyCode); alert(ke ...
分类:
Web程序 时间:
2021-05-24 17:17:10
阅读次数:
0
安装准备 Spark 集群和 Hadoop 类似,也是采用主从架构,Spark 中的主服务器进程就叫 Master(standalone 模式),从服务器进程叫 Worker Spark 集群规划如下: node-01:Master node-02:Worker node-03:Worker 安装步 ...
分类:
其他好文 时间:
2021-05-24 17:07:05
阅读次数:
0
1、项目文件下src文件夹=>request文件夹=>http.js和api.js http.js // 封装拦截器 // 封装get post // 1.引入模块 import axios from "axios" import qs from "qs" import Vue from "vue" ...
分类:
移动开发 时间:
2021-05-24 17:02:36
阅读次数:
0
In 1953, David A. Huffman published his paper "A Method for the Construction of Minimum-Redundancy Codes", and hence printed his name in the history o ...
分类:
其他好文 时间:
2021-05-24 17:00:26
阅读次数:
0