上一页 1 2 3 4 5 6 ··· 11 下一页
摘要: gin package main import ( "flag" "fmt" "github.com/gin-gonic/gin" "github.com/valyala/fasthttp/reuseport" "log" "net" "net/http" "os" "os/exec" "runti 阅读全文
posted @ 2023-11-14 12:31 七つ一旋桜 阅读(130) 评论(0) 推荐(0)
摘要: 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 七つ一旋桜 阅读(38) 评论(0) 推荐(0)
摘要: 安装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 七つ一旋桜 阅读(136) 评论(0) 推荐(0)
摘要: https://github.com/slimtoolkit/slim 阅读全文
posted @ 2023-09-02 13:44 七つ一旋桜 阅读(41) 评论(0) 推荐(0)
摘要: 在springboot3.2之后的版本可以简单的开启虚拟线程 在application.yml中配置 spring: threads: virtual: enabled: true 修改编译参数 <plugin> <groupId>org.apache.maven.plugins</groupId> 阅读全文
posted @ 2023-07-18 22:33 七つ一旋桜 阅读(406) 评论(0) 推荐(0)
摘要: # 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)
摘要: ``` 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 七つ一旋桜 阅读(43) 评论(0) 推荐(0)
摘要: ```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 七つ一旋桜 阅读(141) 评论(0) 推荐(0)
摘要: ``` 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 七つ一旋桜 阅读(116) 评论(0) 推荐(0)
摘要: [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 七つ一旋桜 阅读(95) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 11 下一页