创建vlan 2000,vlan 3000 sw1(config)#vlan 2000 sw1(config-vlan)#exit % Failed to create VLANs 2000 Extended VLAN(s) not allowed in current VTP mode. %Fai ...
分类:
系统相关 时间:
2020-03-22 01:25:22
阅读次数:
193
图像读取、显示函数,注意图像读取时,注意:图像数据以B,G,R的顺序存储。
读取的图像像素值范围:【0,255】。
图片路径错误时,程序不报错,返回值为None,显示操作时会报:error: (-215:Assertion failed) size.width>0 && size.height>0 ... ...
分类:
其他好文 时间:
2020-03-21 19:38:30
阅读次数:
62
一个静态资源加载的问题反反复复的解决了挺久,现在找到了解决方法,分享如下 <build> <resources> <resource> <directory>src/main/java</directory> <excludes> <exclude>**/*.java</exclude> </exc ...
分类:
编程语言 时间:
2020-03-21 15:01:46
阅读次数:
82
前面两篇文章主要讲到netcore的配置以及各种配置源。 本篇主要讲到把配置值转换成C#的实体类,体现在IConfiguration各种扩展方法: public static class ConfigurationBinder { /// <summary> /// Attempts to bind ...
分类:
Web程序 时间:
2020-03-21 15:00:24
阅读次数:
91
IDR Instantaneous Decoding Refresh,即时解码刷新。为将首个I帧和其他I帧区别开,定义首个I帧为IDR帧。它与I帧、P帧、B帧的区别见http://blog.csdn.net/sphone89/article/details/8086071。 GOP Group of ...
分类:
其他好文 时间:
2020-03-21 09:28:38
阅读次数:
46
git提交代码到GitHub报错: husky > pre-commit hook failed (add --no-verify to bypass) 解决: 1、进入项目文件夹?/.git?/hooks?文件夹下 2、删除pre-commit文件 pre-commit(客户端)钩子,它会在Git ...
分类:
Web程序 时间:
2020-03-20 23:56:22
阅读次数:
175
使用ajax遇到的问题 配置好了ajax的前端jsp页面和后端servlet、dao层等,一运行,就报出以下错误: Failed to load resource: the server responded with a status of 404() 反正是连不上servlet,并且控制台没有任何 ...
分类:
Web程序 时间:
2020-03-20 19:50:56
阅读次数:
79
Nginx(二) nginx 无法启动 有时候在客户端输入:nginx 但是终端会输出以下,显示启动失败 1 2 3 4 5 6 nginx: [emerg] bind() to 0.0.0.0:8080 failed (48: Address already in use) nginx: [eme ...
分类:
其他好文 时间:
2020-03-19 21:47:43
阅读次数:
72
vi /etc/yum.repos.d/epel.repo,将epel配置信息中的baseurl注释去掉,mirrorlist 如果内容为空则需要重新安装epel 1、首先检查系统是否安装epel-release rpm -q epel-release 2、安装 32位:http://mirrors ...
分类:
其他好文 时间:
2020-03-19 21:25:40
阅读次数:
48
import win32api; ImportError: DLL load failed: 找不到指定的程序https://blog.csdn.net/weixin_41762173/article/details/103796046?depth_1-utm_source=distribute.p... ...
分类:
其他好文 时间:
2020-03-19 19:03:14
阅读次数:
59