自定义注解 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
see https://www.cnpython.com/qa/221588 key point: run('docker ps -a | grep {} | awk "{print $1}"'.format(container_name)) KeyError: 'print $1'solution ...
分类:
编程语言 时间:
2021-02-22 11:52:53
阅读次数:
0
网页请求报错: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. ...
分类:
数据库 时间:
2021-02-20 12:31:09
阅读次数:
0
如果我们不想让也面初始化的时候就加载所有的组件,就会用到动态组件 常用的场景是多tab的页面,每一个tab是一个组件这种 示例1:这是没有使用动态组件的时候 <template> <div> <button @click="check">{{ !show ? "展示组件" : "隐藏组件" }}</ ...
分类:
其他好文 时间:
2021-02-20 12:15:23
阅读次数:
0
今天新建一个spring web项目,发现报错了。问题如下。 排除了网络问题,找到了解决办法。打开设置,点击check connection 输入 https://start.spring.io 点击OK 成功创建 ...
分类:
编程语言 时间:
2021-02-19 13:37:10
阅读次数:
0
valgrind是很好的检查内存泄漏的工具 使用命令: $ valgrind --tool=memcheck --log-file=/root/valgrind_log_all --leak-check=full --error-limit=no --show-reachable=yes --tra ...
分类:
其他好文 时间:
2021-02-19 13:36:36
阅读次数:
0
``` //计算旋转角 double calculateAngle(const EigenVector3d &vectorBefore, const EigenVector3d &vectorAfter) { double ab, a1, b1, cosr; ab = vectorBefore.x( ...
分类:
其他好文 时间:
2021-02-19 13:15:43
阅读次数:
0
一眼二分。 注意点: 在读入n之后要使用getchar接收后面的换行符,否则会使for循环内的getline读入这个换行符,导致第一个字符串读取错误。 最后输出答案前要先check一遍 const int N=110; string a[N]; string suffix; int n; bool ...
分类:
其他好文 时间:
2021-02-17 14:18:36
阅读次数:
0