1.临时提速 在 pip install 包名 后面加上 -i + 镜像地址,这样 pip 安装时即可成倍的提速了。 国内主要镜像地址如下: 清华:https://pypi.tuna.tsinghua.edu.cn/simple 阿里云:http://mirrors.aliyun.com/pypi/ ...
分类:
其他好文 时间:
2021-01-12 10:46:04
阅读次数:
0
一 同源策略 同源策略(Same origin policy)是一种约定,它是浏览器最核心也最基本的安全功能 如果缺少了同源策略,则浏览器的正常功能可能都会受到影响。可以说Web是构建在同源策略基础之上的,浏览器只是针对同源策略的一种实现 请求的url地址,必须与浏览器上的url地址处于同域上,也就 ...
分类:
其他好文 时间:
2021-01-12 10:39:26
阅读次数:
0
1.创建包和类 package com.example.HelloWorld; public class HelloWorld 2.运行方法 3.打jar包 File | Project Settings | Artifacts 选择主类 OK | OK 4.build artifacts buil ...
分类:
编程语言 时间:
2021-01-11 10:51:18
阅读次数:
0
Problem LeetCode Given a binary search tree, write a function kthSmallest to find the kth smallest element in it. Example 1: Input: root = [3,1,4,null ...
分类:
编程语言 时间:
2021-01-11 10:45:32
阅读次数:
0
StringBuilder package com.keytech.task; import java.util.concurrent.CountDownLatch; import java.util.concurrent.ExecutorService; import java.util.conc ...
分类:
其他好文 时间:
2021-01-08 11:28:26
阅读次数:
0
问题: 给定一串由数字构成的字符串。 给任意两个数字间添加'.',一共加3次,求能得到的所有有效的IP格式。 Example 1: Input: s = "25525511135" Output: ["255.255.11.135","255.255.111.35"] Example 2: Inpu ...
分类:
其他好文 时间:
2021-01-08 11:18:15
阅读次数:
0
1、新建 conf.yaml 文件 database: dbtype: mysql dbname: database table: table username: username password: password application: port: 8000 2、新建 conf.go 文件 ...
分类:
其他好文 时间:
2021-01-08 10:52:58
阅读次数:
0
清华:https://pypi.tuna.tsinghua.edu.cn/simple/ 华为镜像站:https://mirrors.huaweicloud.com/ 中国科学技术大学:https://pypi.mirrors.ustc.edu.cn/simple/ 豆瓣:http://pypi.d ...
分类:
Web程序 时间:
2021-01-07 12:33:23
阅读次数:
0
问题: 给定一个计量括号数量的数字n,求所有的括号组合可能序列。 Example 1: Input: n = 3 Output: ["((()))","(()())","(())()","()(())","()()()"] Example 2: Input: n = 1 Output: ["()"] ...
分类:
其他好文 时间:
2021-01-05 11:32:45
阅读次数:
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