好物分享
-
JProfiler分析dump文件
文章目录 1.安装JProfiler(本文使用JProfiler11)2.从服务器上将dump文件拿下来3.使用JProfiler打开4.查看Classes5.查看Reference6.查看7.查看Graph8.查看代…… -
pip安装Package时出现拒绝访问
如果出现拒绝访问,如以下错误:这里点题了 喔! 解决方法:添加 --user选项赋予权限就可以搞定。 python -m pip install --upgrade pip -i https://pypi.doub…… -
C++质数判断模板
#include using namespace std; bool prime(int a) { if(a==0||a==1) { return 0; } for(int i=2;i*i>n; if(prime(n)) { cout -
输入字符串,统计单词个数
结合C++中的 size_t find_first_not_of (const char* s, size_t pos, size_t n) const; 方法和 size_t find_first_of (const char* s, size_t pos, size_t n) …… -
【个人总结】父子类,继承详解
继承概念: 继承是面向对象编程的三大特性之一。首先观察如下代码: Animal: public class Animal { public String name; publ…… -
1038 Recover the Smallest Number
1038 Recover the Smallest Number Given a collection of number segments, you are supposed to recover the smallest number from them. For example, give…… -
-
mockjs的基本使用和演示案例
什么是mockjs mockjs可以模拟可更快的得到较为真实的数据,且可以拦截axios的接口调用,让我们的代码实现了调用接口的逻辑且得到模拟的数据,保存业务完整度。…… -
-
接收USB数据
思路: 在rtk Service 中,开启 serialPortThread线程 2. 在子线程中, 通过serialPortUtil 打开串口 , 在run方法中,处理从USB中读到的数据 通过回调函数,……

