配置ssh(桥接模式) 1. 环境为VMware虚拟机 2. 虚拟网络适配器选择 “桥接模式” 3. Windows用power shell或cmd查看本机ip地址 4. 将CentOS7的ip地址设置为静态并自定义ip地址 5. ssh连接成功! ...
分类:
其他好文 时间:
2020-03-15 21:56:11
阅读次数:
111
``` LL fpow(LL x, LL power, LL mod) { x %= mod; LL ans = 1; for (; power; power >>= 1, (x *= x) %= mod) if(power & 1) (ans *= x) %= mod; return ans; }... ...
分类:
其他好文 时间:
2020-03-15 00:04:40
阅读次数:
56
第一步:win+R 第二步:输入cmd 第三步:输入命令Powercfg /batteryreport 结果: ...
config windows firewall with specific way
Here is a famous story in Chinese history. "That was about 2300 years ago. General Tian Ji was a high official in the country Qi. He likes to play hor ...
分类:
其他好文 时间:
2020-03-09 20:48:05
阅读次数:
56
PSTAT 174/274 COURSE PROJECTThe course project is an opportunity for students to apply time series techniques to real-world problems. Data andsoftware ...
分类:
其他好文 时间:
2020-03-08 19:47:57
阅读次数:
68
第一大块 数据库表设计 最基本的实现权限树分配的话是需要三张表就可以了,企业级项目的实现权限树需要设计五张六张的也有,那种逻辑关系也就相当复杂了,可是要实现的话,三张足矣! emp表 tb_dept_power部门权限关联表 tb_power权限表 查询权限的关键sql,表示查询登录的员工在权限表中 ...
分类:
其他好文 时间:
2020-03-08 18:01:24
阅读次数:
80
一个好用的开发工具对于开发来说很重要。经历过HBuilder,sublime,webstorm之后,最终稳定使用 VSCode。 至于历史,和与其他编辑器对比,在此不做解释。仅从自己使用角度做个总结记录。(总结是个好习惯) VSCode之插件:详细信息可搜索并打开相应插件查看 1、Auto Clos ...
分类:
其他好文 时间:
2020-03-07 12:58:54
阅读次数:
94
实现函数double Power(double base, int exponent),求base的exponent次方。不得使用库函数,同时不需要考虑大数问题。 ...
分类:
其他好文 时间:
2020-03-06 21:44:09
阅读次数:
84
Clean Up the Powers that Be 主要是输出格式上的问题 1 #include <iostream> 2 #include <cstring> 3 using namespace std; 4 int main(){ 5 long long t,s[10005]; 6 cin> ...
分类:
其他好文 时间:
2020-03-06 21:32:52
阅读次数:
95