会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Miraizu的笔记
一个蒟蒻的博客
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
11
下一页
2023年10月16日
Elixir实现快速排序
摘要: defmodule QuickSort do def sort([]), do: [] def sort([pivot|rest]), do: sort(Enum.filter(rest, fn(x) -> x < pivot end)) ++ [pivot] ++ sort(Enum.filter
阅读全文
posted @ 2023-10-16 19:05 七つ一旋桜
阅读(29)
评论(0)
推荐(0)
2023年9月28日
在mojo中使用fastapi
摘要: 安装fastapi pip3 install fastapi uvicorn fastapi服务 新建mojo代码server.mojo from python import Python fn main(): try: # Python fastapi let fastapi = Python.i
阅读全文
posted @ 2023-09-28 22:09 七つ一旋桜
阅读(130)
评论(0)
推荐(0)
2023年9月2日
docker瘦身
摘要: https://github.com/slimtoolkit/slim
阅读全文
posted @ 2023-09-02 13:44 七つ一旋桜
阅读(39)
评论(0)
推荐(0)
2023年7月18日
springboot开启jdk虚拟线程
摘要: 在springboot3.2之后的版本可以简单的开启虚拟线程 在application.yml中配置 spring: threads: virtual: enabled: true 修改编译参数 <plugin> <groupId>org.apache.maven.plugins</groupId>
阅读全文
posted @ 2023-07-18 22:33 七つ一旋桜
阅读(394)
评论(0)
推荐(0)
2023年7月13日
disruptor笔记
摘要: # referrences [高性能队列——Disruptor - 美团技术团队 (meituan.com)](https://tech.meituan.com/2016/11/18/disruptor.html) [秒级达百万高并发框架-Disruptor (qq.com)](https://mp
阅读全文
posted @ 2023-07-13 15:40 七つ一旋桜
阅读(43)
评论(0)
推荐(0)
2023年7月7日
gorm/gen 生成crdb
摘要: ``` GolandProjects\src\crdb_demo via 🐹 v1.20.5 ❯ cwgo model --db_type postgres --dsn "host=localhost user=root password=root dbname=t_214 port=26257
阅读全文
posted @ 2023-07-07 16:31 七つ一旋桜
阅读(40)
评论(0)
推荐(0)
2023年6月28日
fnm
摘要: ```shell fnm env --use-on-de >> ~/.zshrc ``` ```shell export FNM_NODE_DIST_MIRROR="https://npm.taobao.org/mirrors/node/" ``` ```shell fnm install lts
阅读全文
posted @ 2023-06-28 18:30 七つ一旋桜
阅读(137)
评论(0)
推荐(0)
2023年5月26日
docker部署potainer
摘要: ``` docker run -d --name portainer -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock -v /app/portainer_data:/data --restart always --privilege
阅读全文
posted @ 2023-05-26 10:47 七つ一旋桜
阅读(110)
评论(0)
推荐(0)
2023年4月18日
rust源使用sparse
摘要: [source.crates-io] # To use sparse index, change 'rsproxy' to 'rsproxy-sparse' replace-with = 'rsproxy-sparse' [source.rsproxy] registry = "https://rs
阅读全文
posted @ 2023-04-18 17:47 七つ一旋桜
阅读(87)
评论(0)
推荐(0)
2023年2月17日
gin/hertz redis cache
摘要: gin-cache/[hertz-cache](hertz-contrib/cache (github.com)) package main import ( "context" "log" "net/http" "time" "github.com/cloudwego/hertz/pkg/app"
阅读全文
posted @ 2023-02-17 10:43 七つ一旋桜
阅读(128)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
11
下一页
公告