摘要:(1)xxxx is not in the sudoers file. This incident will be reported. 解决方式:https://www.cnblogs.com/xym4869/p/8473646.html 当在终端执行sudo命令时,系统提示“xxxx is not 阅读全文
摘要:参考链接:https://blog.csdn.net/qq_39233554/article/details/105639331?depth_1- 阅读全文
摘要:(1)MDK5下载时未找到对应的芯片 解决方式:需要下载pack包。 官方链接:https://www.keil.com/dd2/pack/ 其它链接:https://blog.csdn.net/nicholas_duan/article/details/100515251?spm=1001.210 阅读全文
摘要:现象说明:从电脑的网卡(用的Realtek)进来一个带vlan tag的报文,但是使用wireshark抓取的报文没有vlan tag。 解决方式如下:需要注册表。 参考链接1:https://blog.csdn.net/zbh19921021/article/details/49813717/ 参 阅读全文
摘要:参考链接;https://www.cnblogs.com/dylancao/p/8472879.html 代码: 1 #include <stdio.h> 2 3 int checkCPU() 4 { 5 union w 6 { 7 int a; 8 char b; 9 }c; 10 c.a = 1 阅读全文
摘要:(1)如何实现EXCEL某个单元格满足条件整行变色? 链接:https://jingyan.baidu.com/article/75ab0bcba47c19d6864db2cf.html (2)获取表格中所有sheet的名称 https://zhidao.baidu.com/question/199 阅读全文
摘要:使用C语言实现一个简易的CLI,命令通过模式进行划分,实现效果如下: 代码较为简单,主要是为了方便进行移植,这里就不进行详细的说明了。 代码路径:https://github.com/zhengcixi/easy_cli 代码的编写过程中参考了博主编写的Makefile,这里也给出链接:https: 阅读全文
摘要:对linux shell命令样式进行美化。 修改前的效果: 修改后的效果: 直接给出.bashrc脚本代码: 1 # ~/.bashrc: executed by bash(1) for non-login shells. 2 # see /usr/share/doc/bash/examples/s 阅读全文
摘要:1、要求说明 例如有个数据为a = 0x10,要求打印输出为0x000010。 2、实现 1 #include <stdio.h> 2 3 4 int main() 5 { 6 int a = 0x10; 7 8 printf("%#08x\n", a); 9 10 return 0; 11 } 阅读全文
摘要:1 环境 操作系统:Windows10 Python版本:Python3.7 2 简介 实现多级目录差分,举例说明如下: 假设现有的目录结构如下:1、2、2.1、2.2、2.3、2.4、3、4、5、6、6.1、6.1.1、6.1.2、6.1.3、6.1.4、6.2、6.3、6.4、7、8、9、10。 阅读全文