https://codeforces.com/contest/1473/problem/E vector存图: 1 #define bug(x) cout<<#x<<" is "<<x<<endl 2 #define IO std::ios::sync_with_stdio(0),cin.tie(0 ...
分类:
其他好文 时间:
2021-02-15 12:17:20
阅读次数:
0
1.重命名 git branch -m oldBranchName newBranchName 2.删除远程分支:git push origin :oldBranchName 3.将重命名过的分支提交:git push origin newBranchName 4.新建分支 : git branch ...
分类:
其他好文 时间:
2021-02-15 12:07:38
阅读次数:
0
现场有一套quantum plc系统,冗余架构,cpu为140CPU43412。下位机使用concept开发。前段时间CPU模板坏了一个,这个型号的CPU官方通知已经停产多年,从代理商手上买备件又担心买到二手的返修货,于是下决心升级到unity架构,CPU升级到140CPU67160,使用unity ...
分类:
编程语言 时间:
2021-02-15 12:00:24
阅读次数:
0
https://www.acwing.com/problem/content/1139/ #include <bits/stdc++.h> using namespace std; #define IO ios::sync_with_stdio(false);cin.tie(0); cout.tie ...
分类:
其他好文 时间:
2021-02-15 11:53:52
阅读次数:
0
https://www.acwing.com/problem/content/1133/ #include <bits/stdc++.h> using namespace std; #define IO ios::sync_with_stdio(false);cin.tie(0); cout.tie ...
分类:
其他好文 时间:
2021-02-15 11:53:38
阅读次数:
0
https://www.acwing.com/problem/content/1136/ #include <bits/stdc++.h> using namespace std; #define IO ios::sync_with_stdio(false);cin.tie(0); cout.tie ...
分类:
其他好文 时间:
2021-02-15 11:53:26
阅读次数:
0
CentOS 7 引导顺序: UEFi或BIOS初始化,运行POST开机自检(可扩展固件接口负责加电自检(POST)、联系操作系统以及提供连接操作系统与硬件的接口。) 选择启动设备 引导装载程序, centos7是grub2 加载装载程序的配置文件:/etc/grub.d/、/etc/default ...
分类:
其他好文 时间:
2021-02-10 13:31:21
阅读次数:
0
##业务场景 最近公司的一个老项目有一个需求,需要根据后台管理员维护的时间来做一个定时任务的推送,用来推送企业微信的一些提醒消息,这个时间由于是业务人员操作,还有不确定性,其次还要受制于项目现有技术栈的限制,感觉有点难搞,还好项目在解决登录共享session的时候引入了rediss,最开始的思路把维 ...
分类:
其他好文 时间:
2021-02-10 13:22:48
阅读次数:
0
恢复内容开始 ##DockerFile 1.编写一个dockerfile文件 2.docker build构建成一个镜像 3.docker run 运行镜像 4.docker push 发布镜像(DockerHub、阿里云镜像仓库) ###很多官方镜像都是基础包,很多功能都没有,通常会自己构建。 # ...
分类:
其他好文 时间:
2021-02-10 13:21:29
阅读次数:
0
开发安全的 API 所需要核对的清单 以下是当你在设计,测试以及发布你的 API 的时候所需要核对的重要安全措施。 身份认证 不要使用 `Basic Auth` ,请使用标准的认证协议(如 [JWT](https://jwt.io/),[OAuth](https://oauth.net/))。 不要 ...