一、先配好ssh公钥 mac下,配置本地的公钥到ssh过程大概说下: 1.配置账户 git config --global user.name "account name" ->用户名,建议拼音或英文 git config --global user.email "account email" -> ...
分类:
系统相关 时间:
2020-06-20 14:26:28
阅读次数:
212
传送门 视频题解 先填坑,详细题解晚上晚些时候再补。先附上代码。 A. C+= /* * Author: heyuhhh * Created Time: 2020/6/18 22:46:31 */ #include <iostream> #include <algorithm> #include < ...
分类:
其他好文 时间:
2020-06-19 21:11:24
阅读次数:
48
配置用户信息 git config --global user.name 'xxxx' git config --global user.email 'sfasd@ksyun.com' 下载(拉取)代码库 git clone git@github.com:账号名/项目名.git 与远程交互 从远程库 ...
分类:
其他好文 时间:
2020-06-19 21:11:11
阅读次数:
62
Global类里提供了两个方法strRFix和strLRfix,方法的实现如下: 1 static str strRFix(str _str, int _length, char _char = ' ') 2 { 3 return strRep(_char, _length - strLen(_st ...
分类:
其他好文 时间:
2020-06-19 15:54:42
阅读次数:
53
首先安装 nodejs和npm 原文 切换淘宝镜像 npm config set registry https://registry.npm.taobao.org --global npm config set disturl https://npm.taobao.org/dist --global ...
分类:
其他好文 时间:
2020-06-19 12:16:37
阅读次数:
40
Subsetting Vectors 这一节,学习如何获取vector的子集。比如选取一个向量中的前20个元素、选取非NA的元素、或者大于某个数的元素等。 选取子集的方式类似X[index_vector],X和index_vector都是向量,通过调用X[index_vector],R会根据inde ...
分类:
其他好文 时间:
2020-06-19 12:10:50
阅读次数:
38
题目链接:https://codeforces.com/contest/1368/problem/A 题意 给出 $a,b$,只可以使用 '+=' 运算符,问至少要使用多少次使得 $a$ 或 $b$ 大于 $n$ 。($1 \le a,b \le n \le 10^9$) 题解 每次让较小的数加上较 ...
分类:
其他好文 时间:
2020-06-19 11:52:04
阅读次数:
44
题目链接:https://codeforces.com/contest/1368/problem/D 题意 给出一个大小为 $n$ 的数组 $a$,每次可以选两个下标不同的元素,一个赋为二者相与的值,同时一个赋为二者相或的值,计算 $\sum_{i=1}^n a_i^2$ 的最大值。 题解 即重新分 ...
分类:
其他好文 时间:
2020-06-19 10:37:59
阅读次数:
66
神经网络 BPNN 感知机 神经网络入门 反向传播 tensorflow tf基础 控制依赖项 变量命名域和tensorboard 一元线性回归 模型持久化 交叉熵 global_steps的使用 手写数据集实现 CNN 激活函数 CNN过拟合 手写数据集CNN模型 权重初始化-CNN 批归一化 自 ...
分类:
其他好文 时间:
2020-06-18 17:49:05
阅读次数:
63
一、拉取镜像 docker pull prom/prometheus 二、配置 sudo mkdir /etc/prometheus/ sudo vim /etc/prometheus/prometheus.yml 添加监控节点 # my global config global: scrape_i ...
分类:
其他好文 时间:
2020-06-18 12:39:26
阅读次数:
56