设置当前代理 git config http.proxy http://127.0.0.1:2334 取消当前代理 git config --unset http.proxy 取消全局代理 git config --global --unset http.proxy 设置socks5代理 git c ...
分类:
其他好文 时间:
2021-01-13 10:51:35
阅读次数:
0
from threading import Thread from time import sleep a = 1 def foo(): global a a = 1000 def bar(): sleep(1) print("a = ",a) t1 = Thread(target = foo) t ...
分类:
编程语言 时间:
2021-01-13 10:50:50
阅读次数:
0
1.mysql -u root -p 回车输入密码进入mysql 2. 执行show variables like "max_connections"; 3.执行set GLOBAL max_connections=1000; 4.执行show variables like "max_connect ...
分类:
数据库 时间:
2021-01-08 11:38:08
阅读次数:
0
Introduction R 是一门用于 Data Analysis 和 Graphic 的语言。R语言同时也是一门语法极不严格的语言。 Global Method assign ← mean, sum, sqrt length sort seq(Python中的Range) sep(分割) rep ...
分类:
其他好文 时间:
2021-01-08 11:24:28
阅读次数:
0
###1. npm i xx -g:npm install xx --global的简写,对模块进行全局安装。 所谓全局安装,是指把模块安装到操作系统上,全局是指操作系统,全局安装完成后,一般会安装到AppDataAppData\Roaming\npm目录下。如:npm install webpac ...
分类:
其他好文 时间:
2021-01-07 12:24:36
阅读次数:
0
1.注册gitee账号 2.安装git 配置用户信息 git config --global user.name "your username" 配置用户邮箱信息 git config --global user.email "email.com" 3.进入git bash,输入ssh-keygen ...
分类:
其他好文 时间:
2021-01-06 12:36:18
阅读次数:
0
$Global Round 2$题解 \(zhanglichen\ 2021.1.1\) \(A.Ilya\ and\ a\ Colorful\ Walk\) 给出一个数组,询问$2$个不相同的数字的最远距离。 \(Solution\) 做法有很多,刚开始来不及细想直接打了发线段树过的,$A$题上线 ...
分类:
其他好文 时间:
2021-01-05 11:23:08
阅读次数:
0
Learning to Zoom: a Saliency-Based Sampling Layer for Neural Networks Abstract 我们为卷积神经网络引入了一个基于显著性的扭曲(distortion)层,这有助于改善给定任务的输入数据的空间采样。我们的可微层可以作为预处理块 ...
分类:
Web程序 时间:
2021-01-04 11:35:00
阅读次数:
0
TypeError: 'module' object is not callable Person.py """ 类的定义 """ class Person: # 构造方法 def __init__(self, n, a, u): # global name, age self.name = n s ...
分类:
其他好文 时间:
2021-01-04 10:56:48
阅读次数:
0
1 为什么要使用锁 运行以下代码 # 模拟多线程 import threading def change_it(n): global num for i in range(1000000): num = num + n num = num - n print(num,'555') threass=[ ...
分类:
其他好文 时间:
2021-01-02 11:13:38
阅读次数:
0