[Git]基本操作 Git的结构 workspace:工作区 staging area:暂存区/缓存区 local repository:版本库或本地仓库 remote repository:远程仓库 基本命令 参考:https://www.cnblogs.com/convict/p/1079532 ...
分类:
其他好文 时间:
2021-03-02 11:45:58
阅读次数:
0
10、面向对象编程OOP 10.1、面向对象思想 物以类聚,分类的思维模式,思考问题首先会解决问题需要那些分类,然后对这些分类进行单独思考,最后,才对某个分类下的细节进行面向过程的思索。 对于描述复杂的事务,为了从宏观上把握,从整体上合理分析,我们需要使用面向对象的思路来分析整个系统,但是,具体到微 ...
分类:
其他好文 时间:
2021-03-01 13:57:34
阅读次数:
0
打开CMD的方式 开始菜单>Windows系统>命令提示符(可右键,点击更多,选择以管理员方式运行以获取最高权限) Windows键+R,输入cmd打开控制台(推荐) 按住Shift键,在桌面空白处点击鼠标右键,点击“在此处打开Powershell窗口” 在资源管理器的地址栏前面加上cmd+空格+路 ...
分类:
其他好文 时间:
2021-03-01 13:26:14
阅读次数:
0
protoc 编译工具 windows 平台下载对应平台的 protobuf,并配置环境变量 protobuf linux 环境先安装依赖 sudo apt-get install autoconf automake libtool curl make g++ unzip git clone htt ...
分类:
其他好文 时间:
2021-02-27 13:31:02
阅读次数:
0
//父类 class Person { constructor(name, age) { this.name = name this.age = age } printInfo() { console.log(this.name) console.log(this.age) } } //字类 cla ...
分类:
其他好文 时间:
2021-02-27 13:29:00
阅读次数:
0
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<int, int> ii; typedef vector<int> vi; typedef vector<ii> vii; typedef ...
分类:
编程语言 时间:
2021-02-27 13:27:43
阅读次数:
0
Eva would like to make a string of beads with her favorite colors so she went to a small shop to buy some beads. There were many colorful strings of b ...
分类:
其他好文 时间:
2021-02-27 13:26:28
阅读次数:
0
1 类型转换 ? 由于Java是强类型语言,所以要进行有些运算的时候,需要用到类型转换。运算中,不同类型的数据先转换为同一类型,然后进行运算。 低 高 byte,short,char > int > long > float > double 1.1 强制转换 由高到低 (类型)变量名 // 强制转 ...
分类:
编程语言 时间:
2021-02-27 13:11:10
阅读次数:
0
step1: 打开网站:https://www.ipaddress.com/,分别搜索github.com,github.global.ssl.fastly.net,codeload.github.com,获取对应的ip地址 step2: sudo vi /etc/hosts i进入编辑模式,esc ...
分类:
系统相关 时间:
2021-02-27 13:05:50
阅读次数:
0
题目要求 写一个shell脚本,把192.168.0.0/24网段在线的ip列出来。 参考答案 #!/bin/bash for i in `seq 1 254` do if ping -c 2 -W 2 192.168.0.$i >/dev/null 2>/dev/null then echo "1 ...
分类:
其他好文 时间:
2021-02-27 12:59:19
阅读次数:
0