synonyms reading of
Qt报错:call to constructor of '_ConfigDaoImpl' is ambiguous
# Qt报错:call to constructor of '_ConfigDaoImpl' is ambiguous ## 原因 ```shell configform.cpp:4:13: error: call to constructor of '_ConfigDaoImpl' is ambi ......
已解决 DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop workingfrom collections import Iterable
场景描述 E:/worksp_py/hardwary/100day/twentyfive/itertor.py:4: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collect ......
python: read excel
pip install xlrdpip install xlwtpip install xlutilspip install xlwingspip install XlsxWriterpip install openpyxlpip install pandaspip install pandasql ......
forEach、for in、for of三者区别
1、forEach更多的用来遍历数组 var arr = [23, 9, 78, 6, 45] arr.forEach((item) => { // console.log(item) item = 'cc' }) 2、for in 一般常用来遍历对象或json【循环出的是key】 // var o ......
媳妇的眼泪 Tears of daughter in law
《媳妇的眼泪》是由罗福执导、罗灿然、东函编剧,俞小凡、谢祖武、王灿主演的年代爱情剧。 该剧改编自台湾华视电视剧《惊世媳妇》,讲述了温婉贤良的女主角林婉茹嫁进高家后就惨遭婆家刁难的故事。 该剧于2007年在四川电视台影视文艺频道播出 清末民初,婉茹(俞小凡饰)一家开了家老林豆铺,生活简单幸福,可由林父 ......
Jmeter:"An error occurred: Can't connect to X11 window server using 'lacalhost:12.0' as the value of the display variable." 解决办法
做各种不同项目的性能测试,都需要在项目本地压测服务器配置jmeter,需要时还要调出jmeter图形化界面来调试jmeter脚本。 标题中的问题遇过多次,这次做个记录。 1. 启动jmeter报错 在配置好jmeter环境变量的linux系统执行jmeter命令,报错如下: [root@localh ......
How to Clear Logs of Running Docker Containers
How to Clear Logs of Running Docker Containers https://www.howtogeek.com/devops/how-to-clear-logs-of-running-docker-containers/ Understanding the Prob ......
Luogu P3435 [POI2006] OKR-Periods of Words
# [POI2006] OKR-Periods of Words ## 题面翻译 对于一个仅含小写字母的字符串 $a$,$p$ 为 $a$ 的前缀且 $p\ne a$,那么我们称 $p$ 为 $a$ 的 proper 前缀。 规定字符串 $Q$(可以是空串)表示 $a$ 的周期,当且仅当 $Q$ 是 ......
【解决git报错 10054】OpenSSL SSL_read: Connection was reset, errno 10054
使用git获取github上代码时报错:OpenSSL SSL_read: Connection was reset, errno 10054 (此时又必须开着vpn才能访问到github) 参考网上的回答,成功解决问题: 修改设置,解除ssl验证git config --global http ......
【解决git报错 10054】OpenSSL SSL_read: Connection was reset, errno 10054
使用git获取github上代码时报错:OpenSSL SSL_read: Connection was reset, errno 10054 (此时又必须开着vpn才能访问到github) 参考网上的回答,成功解决问题: 修改设置,解除ssl验证git config --global http ......
14) chain of responsibility pattern
类别: behavioral pattern 问题: 高耦合,不灵活 if(){ }else if(){ }else if(){ } ... 方案: 示例: public class ChainOfResponsibilityPattern { public static void main(Str ......
pandas中的read_csv参数详解
来自:https://blog.csdn.net/weixin_44852067/article/details/122366383, 感谢作者。 pandas中的read_csv参数详解 独影月下酌酒 于 2022-01-07 15:57:29 发布 40866 收藏 204分类专栏: panda ......
Revisiting Fundamentals of Experience Replay
 **发表时间:**2020(ICML2020) **文章要点:**这篇文章研究了experience repla ......
Retrieval of the RSA public key is not enabled for insecure connections.
入职新公司,办理入职、培训、看业务……终于到了跑代码阶段了。遇到一个问题.net Framework链接数据提示RSA 失败或者SSPI失败。 原因不赘述,解决方案两步, 第一使用Navicate链接数据库,选中特定用户,一般上你用哪一个账户选哪一个账户 然后双击用户,改为这个就可以 第二部修改.N ......
CodeForces 1840G In Search of Truth
[洛谷传送门](https://www.luogu.com.cn/problem/CF1840G2 "洛谷传送门") [CF 传送门](https://codeforces.com/problemset/problem/1840/G2 "CF 传送门") 每次询问获得的信息只有当前所在位置的数字。考 ......
报错:[Vue warn]: Error in render: "TypeError: Cannot read properties of undefined (reading 'state')"
1.错误详情 2. 错误分析 百度此错误发现,很多人可能忘记在main.js中引入store.js并挂载在vue实例上,或者state单词写错了 我审查了很多遍代码,依然报错,读取不到state中的数据,后来想到可能是版本的问题此项目是vue2,要使用vuex3才能正常运行,我安装的时候没有指定版本 ......
Application of Permutation and Combination
# Reference https://www.shuxuele.com/combinatorics/combinations-permutations.html # Online Tool https://gadget.chienwen.net/x/math/percomb # Cracking ......
Some demos of supervisor conf
# conf files in /etc/supervisor/conf.d/ ## Version Supervisor is installed by apt, and it's version is: ``` sudo supervisord --version 4.1.0 ``` ## Co ......
AtCoder Beginner Contest 304 G Max of Medians
[洛谷传送门](https://www.luogu.com.cn/problem/AT_abc304_g "洛谷传送门") [AtCoder 传送门](https://atcoder.jp/contests/abc304/tasks/abc304_g "AtCoder 传送门") 首先显然二分答案, ......
开发密码登陆接口用postman测试报错“key is of invalid type”
发现为go中jwt使用错误 我出错的地方为 // 出现错误地方为 tokenClaims := jwt.NewWithClaims(jwt.SigningMethodES256, claims) return tokenClaims.SignedString(jwtSecret) 我出错的点:加密方 ......
1.4OF-CONFIG南向接口协议学习
# OF-CONFIG南向接口协议学习 ##### 任务目的 1、了解OF-CONFIG协议的基本原理。 2、掌握使用OF_CONFIG协议配置交换机的方法。 ##### 任务环境 | 设备名称 | 软件环境(镜像) | 硬件环境 | | : | : | : | | 交换机 | Ubuntu 14. ......
cpp: Chain Of Responsibility Pattern
/*****************************************************************//** * \file PayrollProcessing.h * \brief 责任链模式Chain Of Responsibility Pattern 亦称: 职 ......
The first attempt of a MnZn
Prove: If $a > 0$,then $\forall x\in \mathbb R, a(\mathrm e^x+a)-x> 2\ln a+\dfrac32$ Proof: Let $f(x) = a(\mathrm e^x+a)-x$, then $f'(x) = a\mathrm e^ ......
【leetcode】104. Maximum Depth of Binary Tree
给定一个二叉树,找出其最大深度。 二叉树的深度为根节点到最远叶子节点的最长路径上的节点数。 **说明:** 叶子节点是指没有子节点的节点。 **示例:** 给定二叉树 `[3,9,20,null,null,15,7]`, ``` 3 / \ 9 20 / \ 15 7 ``` 返回它的最大深度 3 ......
P9286 [ROI 2018] Extraction of radium
来一发简单做法 题目链接:[P9286 [ROI 2018] Extraction of radium ](https://www.luogu.com.cn/problem/P9286) 通过读题目,我们不难想到,找到既是横向最大值又是纵行最大值的位置,可以单独处理横向和纵向,满足一个方向的最大值就 ......
OpenOCD : Error: Error connecting DP: cannot read IDR
没有连接单片机或是连接单片机没有开机。 Warn: Failed to open device: LIBUSB_ERROR_NOT_SUPPORTED:这个警告表示OpenOCD无法打开设备,因为设备不受支持。这通常是由于使用的调试适配器与OpenOCD或计算机的驱动程序不兼容所致。您可以尝试以下方 ......
一些常用的Linux的Bash脚本:Grep过滤, ln软链接,iptables/firewall防火墙, read读取命令行输入,for循环,useradd新增帐号,awk一点学习实践
# grep: 过滤 常用场景:举例: 查看java进程: ps -ef | grep java 选项 含义 -c 仅列出文件中包含模式的行数 -i 忽略模式中的字母大小写 -l 列出带有匹配行的文件名,不列出具体的匹配行 -n 列出所有的匹配行,并显示行号 -v 列出没有匹配模式的行,可以使用该选 ......
Item 1: Consider static factory methods instead of constructors
实际应用: package java.lang; public final class Boolean implements java.io.Serializable, Comparable<Boolean> { public static final Boolean TRUE = new Bool ......
The Epsilon-Delta Definition of a Limit
by courtesy of the author: [APEX Calculus I/II/III ](http://www.apexcalculus.com/about) University of North Dakota Adapted from APEX Calculus by Grego ......