会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
towboat
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
3
4
5
6
7
8
9
10
11
···
54
下一页
2024年7月22日
关于Cannot resolve plugin org.springframework.boot:spring-boot-maven-plugin:<unknown>
摘要: 我的问题根源是maven配置问题,特别windows和mac混用idea时可能遇到这个 Mac平台maven配置及idea中使用maven 参考: https://developer.aliyun.com/article/885956
阅读全文
posted @ 2024-07-22 21:18 towboat
阅读(72)
评论(0)
推荐(0)
2024年7月16日
consul本地kv数据持久化
摘要: 在macOS上(linux同理),如果你希望Consul在重启后能够保留KV数据,可以通过以下步骤配置Consul使用持久化存储。 使用文件系统作为后端存储 你可以将Consul配置为使用本地文件系统来持久化KV数据。下面是具体的步骤: 1. 创建数据存储目录 首先,创建一个目录来存储Consul的
阅读全文
posted @ 2024-07-16 19:14 towboat
阅读(594)
评论(0)
推荐(0)
2024年5月13日
SpringMVC中JSP页面不显示EL表达式的原因
摘要: 感谢 https://developer.aliyun.com/article/444366 在 Spring MVC 的入门项目中, 这是最常见的问题。实际上这是因为使用了 JSP 1.2 规范引起的。 1. 使用JSP 1.2 定义格式 如果您使用了 老旧的JSP 1.2描述方式, 即使用了 D
阅读全文
posted @ 2024-05-13 22:06 towboat
阅读(57)
评论(0)
推荐(0)
2024年4月26日
nano编辑器基本使用
摘要:
编辑文本: 当文件打开后,您可以使用键盘输入文本。Nano 提供了一些常用的编辑功能,如复制、粘贴、撤销等。常见的键盘操作包括: 使用箭头键移动光标。 使用 Backspace 键删除字符。 使用 Delete 键删除字符。 使用 Ctrl + O 将更改保存到文件。 使用 Ctrl + X 退出
阅读全文
posted @ 2024-04-26 13:52 towboat
阅读(833)
评论(0)
推荐(0)
2024年3月2日
区间问最大值位置
摘要: #include <iostream> #include <cstring> #include <unordered_map> #include <vector> #include <algorithm> using namespace std ; const int N =1e6; #define
阅读全文
posted @ 2024-03-02 21:25 towboat
阅读(6)
评论(0)
推荐(0)
2024年2月15日
git 简单使用
摘要: ssh: git init git commit -m "first commit" git branch -M master git remote add origin git@github.com:user/xxx.git git push -u origin main
阅读全文
posted @ 2024-02-15 21:06 towboat
阅读(10)
评论(0)
推荐(0)
2024年2月14日
一些命令
摘要: ls, ls-a cp [src] [dest] rm [-r] [dir] scp tar 解包: tar -xvf *.tar 压缩包: tar -cvf *.tar A Windows ssh: ssh (user)@(ip)
阅读全文
posted @ 2024-02-14 23:38 towboat
阅读(6)
评论(0)
推荐(0)
VMware虚拟机设置主机代理
摘要: VMware ubuntu 走本机代理 | Yumi's Blog (yumi1.top)
阅读全文
posted @ 2024-02-14 22:21 towboat
阅读(137)
评论(0)
推荐(0)
2024年1月30日
无向环套树找环
摘要: dfs #include <iostream> #include <vector> #include <queue> #include <stack> #include <map> #include <cstring> using namespace std ; const int N=5001;
阅读全文
posted @ 2024-01-30 15:49 towboat
阅读(5)
评论(0)
推荐(0)
2023年12月31日
若干cpp的匿名函数
摘要: function<vector<int>(int,int) > dfs = [&](int x, int fa) -> vector<int> { vector<int> a = {cost[x]}; for (int y: g[x]) { if (y != fa) { auto res = dfs
阅读全文
posted @ 2023-12-31 16:43 towboat
阅读(34)
评论(0)
推荐(0)
上一页
1
···
3
4
5
6
7
8
9
10
11
···
54
下一页
公告