Loading

上一页 1 2 3 4 5 6 7 8 9 10 ··· 12 下一页
摘要: 安装驱动 我的是CH320G版本,安装CH320驱动 uname -r查看自己的内核版本 https://elixir.bootlin.com/linux/v5.11/source/drivers/usb/serial/ch341.c#找到对应的源代码,复制出来并保存为ch34x.c与ch34x.c 阅读全文
posted @ 2021-10-02 21:47 WindSnowLi 阅读(28) 评论(0) 推荐(0) 编辑
摘要: http://mybatis.org/redis-cache/ 阅读全文
posted @ 2021-09-27 18:05 WindSnowLi 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 现象 在Docker中能够ping通物理机程序在物理机上运行能够正常连接Redis提示连接超时,不是验证错误 解决方法 关闭ufw(不推荐) sudo systemctl stop ufw 开放来自Docker的IP段访问 sudo ufw allow proto tcp from 172.18.0 阅读全文
posted @ 2021-09-26 10:24 WindSnowLi 阅读(37) 评论(0) 推荐(0) 编辑
摘要: 一、选择排序 java选择排序示例 /** * Describe : java选择排序 */ import java.util.Arrays; public class Sort { public static void main(String[] args) { int[] arr = { 2, 阅读全文
posted @ 2021-09-20 11:52 WindSnowLi 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 在接入Gitee登录时想把验证部分放到后端,需要在项目中进行Http请求 POST请求与GET请求示例代码 import com.alibaba.fastjson.JSONObject; import org.junit.jupiter.api.Test; import org.springfram 阅读全文
posted @ 2021-09-19 17:13 WindSnowLi 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 一、废话少说,先上效果 二、坑说在前边 电脑设备名不能是中文,不然smtplib连接邮箱服务器时会报域名编码错误,错误提示如下: hostname, aliases, ipaddrs = gethostbyaddr(name) UnicodeDecodeError: 'utf-8' codec ca 阅读全文
posted @ 2021-09-19 17:09 WindSnowLi 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 原文:https://www.blog.hiyj.cn/article/detail/110 简笔画图片转字符串 效果 结果 源码示例:https://github.com/WindSnowLi/My-python-tools/tree/main/Img->Str # encoding:utf-8 阅读全文
posted @ 2021-09-17 15:41 WindSnowLi 阅读(70) 评论(0) 推荐(0) 编辑
摘要: 原文:https://www.blog.hiyj.cn/article/detail/97 如果排除了引入包的问题,那么很有可能是参数类型大小写引起的 解决办法:dataType和type全部调整为小写,例如 { url: '/api/Test', type: 'post', // 这里 dataT 阅读全文
posted @ 2021-09-16 14:43 WindSnowLi 阅读(26) 评论(0) 推荐(0) 编辑
摘要: 原文:https://www.blog.hiyj.cn/article/detail/96 一、源码链接:https://gitee.com/mirrors/vue-element-admin/blob/master/src/utils/request.js 二、使用示例 有时更倾向于把需要请求的封 阅读全文
posted @ 2021-09-16 14:39 WindSnowLi 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 原文:https://www.blog.hiyj.cn/article/detail/102 代码地址ResizeImg 使用opencv-python的resize函数Linux使用pip3 install opencv-python、Windows使用pip install opencv-pyt 阅读全文
posted @ 2021-09-16 14:36 WindSnowLi 阅读(50) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 12 下一页