Loading

上一页 1 2 3 4 5 6 7 8 9 ··· 12 下一页
摘要: 地址 示例地址 一. 创建父项目,普通的maven项目 注父项目src暂时用不到,在这里直接删除 二、创建Spring Cloud注册中心模块,Spring Initializr项目 右键父项目 -> New -> Module 模块启动类添加@EnableEurekaServer注解 编写相关配置 阅读全文
posted @ 2021-11-15 21:28 WindSnowLi 阅读(31) 评论(0) 推荐(0) 编辑
摘要: 报错输出 Exception in thread "main" java.lang.NoClassDefFoundError: com/netflix/discovery/EurekaClientConfig at java.base/java.lang.ClassLoader.defineClas 阅读全文
posted @ 2021-11-14 11:49 WindSnowLi 阅读(71) 评论(0) 推荐(0) 编辑
摘要: SpringBoot基础注解使用示例 首发 示例代码 IDEA创建maven项目 创建Spring Initializr项目,并定义项目名、包名,无脑下一步 创建加载完成后,项目文件夹结构示例(需要处理依赖,可能加载较慢) 基础注解及示例 @Autowired自动注入 右键cn.hiyj.sprin 阅读全文
posted @ 2021-10-27 22:14 WindSnowLi 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 首发地址 搭配表 根据搭配表暴力生成所有拼音组合 std::vector<std::string> TABLE = []() { std::vector<std::string> master{"", "b", "p", "m", "f", "d", "t", "n", "l", "g", "k", 阅读全文
posted @ 2021-10-26 11:27 WindSnowLi 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 个人博客地址 简介 自己需要在项目中使用redis-cache插件,但是官方放出来的包太老了,仓库代码更新倒是还可以,所以打算自己封装下,修改下加载配置文件的方式。 需求 有时候需要在普通类获取到Bean,但是new出来的对象不会被注入,这时就需要通过SpringBoot上下文去获取Bean,思路很 阅读全文
posted @ 2021-10-13 18:06 WindSnowLi 阅读(477) 评论(0) 推荐(0) 编辑
摘要: 源码链接 个人博客地址 具体实现 import hashlib path = '' with open(path, 'rb') as f: print(hashlib.md5(f.read()).hexdigest()) 阅读全文
posted @ 2021-10-11 22:53 WindSnowLi 阅读(30) 评论(0) 推荐(0) 编辑
摘要: 源码链接 个人博客地址 具体实现 import math from concurrent.futures import ProcessPoolExecutor import requests # 设置超时时间为30s # socket.setdefaulttimeout(30) # 默认每个片最小2 阅读全文
posted @ 2021-10-11 22:50 WindSnowLi 阅读(18) 评论(0) 推荐(0) 编辑
摘要: 安装工具 sudo add-apt-repository ppa:lakinduakash/lwh sudo apt install linux-wifi-hotspot 项目地址 https://github.com/lakinduakash/linux-wifi-hotspot 阅读全文
posted @ 2021-10-09 21:59 WindSnowLi 阅读(42) 评论(0) 推荐(0) 编辑
摘要: 源码链接:https://github.com/WindSnowLi/My-python-tools/tree/main/CheckID 个人博客地址:https://www.blog.hiyj.cn/article/detail/115 区号列表 {"110000":"北京市","110101": 阅读全文
posted @ 2021-10-07 21:31 WindSnowLi 阅读(52) 评论(0) 推荐(0) 编辑
摘要: rw_ini_base 使用C++标准库解析ini格式文件,只提供解析后的表和写入函数,查询、修改等功能可自行添加函数 个人博客地址:https://www.blog.hiyj.cn/article/detail/114 源码链接:https://github.com/WindSnowLi/rw_i 阅读全文
posted @ 2021-10-04 17:25 WindSnowLi 阅读(12) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 12 下一页