会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Ashe
https://ashe-c0de.github.io/
首页
管理
上一页
1
2
3
4
5
6
···
22
下一页
2025年5月31日
使用Github搭建免费图床,搭配jsDelivr的CDN加速
摘要: https://cdn.jsdelivr.net/gh/ashe-c0de/pic-repo@main/path/2025-05-31-p01.jpg https://raw.githubusercontent.com/ashe-c0de/pic-repo/refs/heads/main/path/
阅读全文
posted @ 2025-05-31 23:47 Ashe|||^_^
阅读(64)
评论(0)
推荐(0)
2025年5月10日
GORM Gen使用介绍
摘要: // 安装Gen Tool go install gorm.io/gen/tools/gentool@latest // (在项目根目录下执行)根据数据库表生成对应仓储层代码 gentool -db mysql -dsn "username:passwd@tcp(db_ip:3306)/databa
阅读全文
posted @ 2025-05-10 22:57 Ashe|||^_^
阅读(478)
评论(0)
推荐(0)
本地git提交远程仓库示例(附指令解释)
摘要: // 先创建文件 echo "# gin-may" >> README.md // git 初始化 git init // 添加要提交至远程仓库的文件(当你项目中包含了.gitignore文件,可以通过git add .选择全部提交) git add README.md // commit操作 gi
阅读全文
posted @ 2025-05-10 22:31 Ashe|||^_^
阅读(20)
评论(0)
推荐(0)
2025年5月3日
PaperMod主题更换字体
摘要: 场景: Hugo + PaperMod 搭建的github静态博客网页,需要更换字体 目标字体: https://font.subf.dev/ 英文确实好看,但是其汉字与英文字体风格迥异,搭在一起过于突兀 下载了MapleMono-Light.woff2文件(chatgpt更推荐该字体扩展格式.wo
阅读全文
posted @ 2025-05-03 15:54 Ashe|||^_^
阅读(111)
评论(0)
推荐(0)
2025年4月29日
后台定时任务处理器__Golang
摘要: func main() { ctx, cancel := context.WithCancel(context.Background()) defer cancel() r := NewTriggerableTaskRunner(10*time.Second, func(ctx context.Co
阅读全文
posted @ 2025-04-29 23:12 Ashe|||^_^
阅读(0)
评论(0)
推荐(0)
什么是工作流
摘要: 工作流是对实现目标过程的效率化拆解与有序组织。 通过任务分解拆分与流程编排组合,将复杂行为转化为多个简单行为,从而逼近最优路径。 工作流体现了两大核心思想: 分而治之(Divide and Conquer) —— 把大任务拆小。 自动协调(Orchestration) —— 让小任务按规则自动流转。
阅读全文
posted @ 2025-04-29 11:52 Ashe|||^_^
阅读(52)
评论(0)
推荐(0)
2025年4月28日
github查看git历史提交版本
摘要: https://github.com/<username>/<project name>/commits 即项目地址+/commits
阅读全文
posted @ 2025-04-28 12:42 Ashe|||^_^
阅读(28)
评论(0)
推荐(0)
Hugo构建github个人博客,主题无法渲染
摘要: 场景: Failed to find a valid digest in the 'integrity' attribute for resource '<xxx>.css' with computed SHA-256 integrity '9J1myq6eoP1D8h8p5xqNPihFF+13D
阅读全文
posted @ 2025-04-28 10:55 Ashe|||^_^
阅读(147)
评论(0)
推荐(0)
2025年4月11日
Restful接口通用返回函数示例__Golang
摘要: const ( MsgSuccess = "success" MsgFailed = "failed" Null = "" ) type Response struct { Code int `json:"code"` Msg string `json:"msg"` Data any `json:"
阅读全文
posted @ 2025-04-11 00:05 Ashe|||^_^
阅读(37)
评论(0)
推荐(0)
2025年4月9日
安装Nginx并配置
摘要: 安装 sudo apt install nginx 修改默认配置文件 sudo vim /etc/nginx/nginx.conf 图中所圈用户默认为www-data,即nginx工作用户 当使用Nginx代理访问前端静态资源时,则会报错,根据报错日志可以看到类似 (13: Permission d
阅读全文
posted @ 2025-04-09 13:22 Ashe|||^_^
阅读(25)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
22
下一页
公告