git记录 初始化: git version //查看git版本 git init //初始化仓库 cd 路径 //改变路径,windows命令 touch 文件名 //创建文件,windows命令 配置用户: git config --global user.name '用户名' git conf ...
分类:
其他好文 时间:
2021-02-27 13:31:46
阅读次数:
0
克隆: git clone 链接 下载: git pull 上传: git config --global user.email “” 首次设置 git config --global user.name “” 首次设置 git add 文件名/文件 git commit -m “” 设置备注 gi ...
分类:
其他好文 时间:
2021-02-26 13:33:06
阅读次数:
0
import pytest from login import login_check datas = [ {"user":'python37', "passwd": 'lemonban', "check": {"code": 0, "msg": "登录成功"} }, {"user":'python ...
分类:
其他好文 时间:
2021-02-26 13:10:21
阅读次数:
0
四、伪类选择器 1、动态伪类选择器 动态伪类选择器会根据条件的改变来匹配元素 :link、:visted、:hover、:active 这四个动态伪类选择器一般用在a元素上,分别对应a元素的链接的四个状态: :link:对应链接未被访问的时候 :visted:对应链接被访问的时候 :hover:对应 ...
分类:
Web程序 时间:
2021-02-25 12:01:41
阅读次数:
0
参数量以参数个数为单位,要计算内存或显存的,用参数量乘以每个参数所占的字节数即可。网络训练的快慢 计算量以计算机做乘加次数为单位,即完成某个操作,需要执行多少次乘法和加法操作。计算设备需要多大的内存或显存。 计算量: FLOPS:注意全大写,是floating point operations pe ...
分类:
其他好文 时间:
2021-02-25 11:41:12
阅读次数:
0
public static void main(String[] args) { LinkedList<Integer> integers = new LinkedList<>(); integers.add(1); integers.add(8); integers.add(1,3); for ( ...
分类:
编程语言 时间:
2021-02-24 13:21:22
阅读次数:
0
检查文件是否存在、可读等等 File file = new File("out.txt") println file.exists() println file.canRead() 向文件写入文本 File file = new File("out.txt") file.write "First l ...
分类:
其他好文 时间:
2021-02-24 13:10:56
阅读次数:
0
自定义注解 import java.lang.annotation.*;@Target({ElementType.FIELD,ElementType.TYPE})@Retention(RetentionPolicy.RUNTIME)@Documentedpublic @interface Check ...
分类:
其他好文 时间:
2021-02-24 12:52:31
阅读次数:
0
1095 解码PAT准考证 (25 point(s)) PAT 准考证号由 4 部分组成: 第 1 位是级别,即 T 代表顶级;A 代表甲级;B 代表乙级; 第 2~4 位是考场编号,范围从 101 到 999; 第 5~10 位是考试日期,格式为年、月、日顺次各占 2 位; 最后 11~13 位是 ...
分类:
其他好文 时间:
2021-02-23 14:02:54
阅读次数:
0
准备2张图片用于替换选中和未选中时的样式 drawable下准备两个对应的layer-list btn_radio_on.xml <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> <item android ...
分类:
移动开发 时间:
2021-02-22 12:40:31
阅读次数:
0