npm源改为国内 此方法不需要安装cnpm也可以使用淘宝镜像,提高国内访问速度 由于 Node 的官方模块仓库网速太慢,模块仓库需要切换到阿里的源。 npm config set registry https://registry.npm.taobao.org/ 执行下面的命令,确认是否切换成功。 ...
分类:
Web程序 时间:
2021-06-02 17:08:19
阅读次数:
0
const cheerio = require("cheerio") const axios = require("axios") const fs = require("fs") if (!fs.existsSync("download")) { fs.mkdirSync("download", ...
分类:
Web程序 时间:
2021-06-02 17:04:51
阅读次数:
0
<%@ page import="java.util.ArrayList" %> <%@ page import="java.util.List" %><%-- User: 丁帅帅 Date: 21/05/30 Time: 10:00 To change this template use File ...
分类:
其他好文 时间:
2021-06-02 17:00:39
阅读次数:
0
import numpy as np import operator """ Parameters: 无 returns: group -数据集 labels -分类标签 """ #函数说明:创建数据集 def createDataSet(): #6组二维特征 group = np.array([[ ...
分类:
其他好文 时间:
2021-06-02 17:00:08
阅读次数:
0
1. chrony 服务器端配置 假设chrony服务器端192.168.1.1 $ cat /etc/chrony.conf # Use public servers from the pool.ntp.org project. server ntp1.aliyun.com iburst serv ...
分类:
其他好文 时间:
2021-06-02 16:47:45
阅读次数:
0
A mathematical theory of communication Audio学习: https://www.youtube.com/watch?v=SgcU9nl9oAM&list=PLWDB4efc1BVY_OzzdeYStpxd2hVe35mVC 背景 目前21世纪所处的时代是信息时 ...
分类:
其他好文 时间:
2021-06-02 16:41:20
阅读次数:
0
单列集合的工具类 // Lists // 创建集合 List<String> list1 = Lists.newArrayList(); List<String> list2 = Lists.newArrayListWithCapacity(8); List<String> list3 = List ...
分类:
其他好文 时间:
2021-06-02 16:29:39
阅读次数:
0
1:效果 一运行起来,红色是下载的部分,蓝色是为下载部分,下载完之后先缩成一个椭圆,在缩成一个圆 GitHub地址:https://github.com/luofangli/MyDrawProgress 详细代码: <?xml version="1.0" encoding="utf-8"?><and ...
分类:
移动开发 时间:
2021-06-02 16:08:01
阅读次数:
0
ArrayList list = new ArrayList(); // 第一次扩容 for (int i = 0; i < 10; i++) { list.add(i); } ArrayList list1 = list; for (int i = 0; i < 5; i++) { list1.a ...
分类:
其他好文 时间:
2021-06-02 16:00:48
阅读次数:
0
Default VPC components When we create a default VPC, we do the following to set it up for you: Create a VPC with a size /16 IPv4 CIDR block (172.31.0. ...
分类:
Web程序 时间:
2021-06-02 15:47:16
阅读次数:
0