上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 47 下一页
摘要: 海康虽然提供了 Java demo,但是只提供了少量接口,大量的接口方法及结构体定义需要自己去完成,今天以获得设备能力集为例,说说如何做!1.定义结构体海康 C++:NET_DVR_MATRIX_ABILITY_V41解码器能力集结构体。struct{ DWORD dwSize; BYTE byDspNums; ... 阅读全文
posted @ 2020-09-10 19:20 huiy_小溪 阅读(1647) 评论(0) 推荐(0) 编辑
摘要: 在创建websocket时,报了SecurityError5022。查找资料,有的说是websocket的连接数不够(IE11)。最后发现不是这么一回事情,因为我用的是https(nginx),但是在使用websocket时,用的是ws协议(http),后来改为了wss(https)就没有错误了。 阅读全文
posted @ 2020-09-08 09:06 huiy_小溪 阅读(655) 评论(0) 推荐(0) 编辑
摘要: 原文:https://mariadb.com/kb/en/simple-password-check-plugin/simple_password_check是密码验证插件。它可以检查密码是否至少包含一定数量的特定类型的字符。首次安装时,密码必须至少为八个字符,并且至少需要一个数字,一个大写字母,一个小写字母以及一个既不是数字也不是字母的字符。请注意,如果strict_password_valid... 阅读全文
posted @ 2020-08-09 08:52 huiy_小溪 阅读(2462) 评论(0) 推荐(0) 编辑
摘要: 访问HTTPS站点时有警告提示:解决办法: 阅读全文
posted @ 2020-08-08 09:53 huiy_小溪 阅读(659) 评论(0) 推荐(0) 编辑
摘要: 在Tomcat的catalina.bat中添加:-Dfile.encoding=UTF-8set "JAVA_OPTS=-server -Xms2048m -Xmx4096m -XX:PermSize=256m -XX:MaxPermSize=512m -Dfile.encoding=UTF-8" 阅读全文
posted @ 2020-08-05 13:46 huiy_小溪 阅读(633) 评论(0) 推荐(0) 编辑
摘要: 下面是绿盟安全扫描报告:我用的是nginx服务器,代理后面的tomcat,对外只有80和443端口开放。解决办法:server { listen 443 ssl http2; server_name 192.168.1.32; if ($http_Host !~* ^192.168.1.32$) { 阅读全文
posted @ 2020-08-04 15:39 huiy_小溪 阅读(13161) 评论(1) 推荐(0) 编辑
摘要: 第一次加载正常,页面刷新后图标消失。网上寻找答案,说是跨域问题,配置后确实是。在server中添加配置:#静态资源访问 location ~ .*\.(jpg|jpeg|gif|png|ico|css|js|pdf|txt|ttf|eot|otf|woff)?$ { add_header Acces 阅读全文
posted @ 2020-08-04 11:27 huiy_小溪 阅读(304) 评论(0) 推荐(0) 编辑
摘要: Microsoft Windows [版本 10.0.18363.959] (c) 2019 Microsoft Corporation。保留所有权利。 C:\WINDOWS\system32>cd d:\app\nginx C:\WINDOWS\system32>d: d:\app\nginx>d 阅读全文
posted @ 2020-08-04 11:23 huiy_小溪 阅读(1617) 评论(0) 推荐(0) 编辑
摘要: nginx中修复:server { listen 80; server_name 127.0.0.1 192.168.1.32; if ($http_Host !~* ^192.168.1.32|127.0.0.1$) { return 403; } rewrite ^(.*) https://$s 阅读全文
posted @ 2020-08-03 17:07 huiy_小溪 阅读(3343) 评论(0) 推荐(0) 编辑
摘要: var w = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth; var h = window.innerHeight || document.documentElement.clientHeight || do... 阅读全文
posted @ 2020-07-30 16:42 huiy_小溪 阅读(134) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 47 下一页