#collections 模块#Counter 计数器,生成一个类字典类型from collections import Counterstr="abcbcaccbbad"#统计数量dcamd=Counter(str)print(dcamd)''' 打印:Counter({'b': 4, 'c': ...
分类:
编程语言 时间:
2021-02-20 12:45:39
阅读次数:
0
1、on duplicate key 场景: a、copy代码 b、原代码中insert唯一键冲突失败后需要进行update操作,此时正常 c、copy后的场景中有部分字段是不需要覆盖的,会导致将有值的覆盖成null 坑级:????? 由于代码路径在xml,非常难检测到。并且on duplicate ...
分类:
其他好文 时间:
2021-02-20 12:42:50
阅读次数:
0
测试基础【第六篇】bug要素及其生命周期 阅读目录 1.bug的要素 2.bug状态 3.bug管理流程 bug的要素 为了让开发人员更准确、更快的看懂Bug,测试需要按照一定的规范提交bug。 缺陷id:一般由缺陷管理系统自动生成; 缺陷标题:概要描述缺陷; 发现人:一般是缺陷管理系统自动获取当前 ...
分类:
其他好文 时间:
2021-02-19 13:53:51
阅读次数:
0
移动端网页--better-scroll容易采坑合集 一、better-scroll源码bug,浏览器需要刷新一次才能正常滑动 在new BScroll时,在options中加入 mouseWheel: true,//开启鼠标滚轮 disableMouse: false,//启用鼠标拖动 disab ...
分类:
移动开发 时间:
2021-02-19 12:59:19
阅读次数:
0
与其说是分享, 不如说是祭奠. debug中我犯了好些错误, 浪费了大量时间, 直接说结论, 看链接得到的readelf的结果: Program Headers: Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align LOAD 0x000000 ...
分类:
其他好文 时间:
2021-02-17 14:15:19
阅读次数:
0
目录结构 引用路径 <link rel="stylesheet" href="../static/layui/css/layui.css" type="text/css"/> application.properties spring.mvc.static-path-pattern=/static/ ...
分类:
编程语言 时间:
2021-02-17 14:04:34
阅读次数:
0
此博客链接:https://www.cnblogs.com/ping2yingshi/p/14399182.html 盛最多水的容器 题目链接:https://leetcode-cn.com/problems/container-with-most-water/submissions/ 题目 给你 ...
分类:
其他好文 时间:
2021-02-16 12:13:20
阅读次数:
0
问题描述 # python3.7 /tmp/demo.py Traceback (most recent call last): File "/tmp/demo.py", line 4, in <module> driver = webdriver.Chrome('/srv/sharing/pack ...
分类:
其他好文 时间:
2021-02-15 12:38:15
阅读次数:
0
Most people have already heard about the new “async” and “await” functionality coming in Visual Studio 11. This is Yet Another Introductory Post. Firs ...
分类:
其他好文 时间:
2021-02-15 12:36:36
阅读次数:
0
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