会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
卓能文
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
9
10
11
12
13
14
15
16
17
···
25
下一页
2024年12月4日
elysia openai示例
摘要: import 'dotenv/config'; import { Elysia, t } from 'elysia'; import OpenAI from 'openai'; const openai = new OpenAI({ apiKey: process.env.OPENAI_API_KE
阅读全文
posted @ 2024-12-04 17:08 卓能文
阅读(95)
评论(0)
推荐(0)
2024年12月3日
alpinejs试用
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document<
阅读全文
posted @ 2024-12-03 20:34 卓能文
阅读(52)
评论(0)
推荐(0)
2024年11月28日
openai-go示例
摘要: package main import ( "context" "fmt" "log" "os" "github.com/joho/godotenv" "github.com/openai/openai-go" "github.com/openai/openai-go/option" ) func
阅读全文
posted @ 2024-11-28 17:42 卓能文
阅读(127)
评论(0)
推荐(0)
2024年11月23日
happyx试用
摘要: happyx文档 happyx源码 SSR 创建工程: hpx create --name:ssrdemo --kind:SSR --templates --language:Nim 开发: hpx dev --reload 发布,创建justfile: build: #!/usr/bin/env
阅读全文
posted @ 2024-11-23 21:58 卓能文
阅读(46)
评论(0)
推荐(0)
2024年10月27日
node openai
摘要: import 'dotenv/config'; import OpenAI from 'openai'; const client = new OpenAI({ apiKey: process.env.OPENAI_API_KEY, baseURL: process.env.OPENAI_API_B
阅读全文
posted @ 2024-10-27 23:14 卓能文
阅读(66)
评论(0)
推荐(0)
python静态代码编译工具nuitka
摘要: nuitka # test.py def add(x: int, y: int) -> int: return x + y print(add(2, 3)) nuitka test.py --onefile --clang --static-libpython=yes # justfile buil
阅读全文
posted @ 2024-10-27 10:57 卓能文
阅读(255)
评论(0)
推荐(0)
2024年10月19日
go 版本信息
摘要: package main import ( "flag" "fmt" "github.com/carlmjohnson/versioninfo" ) func main() { fmt.Println("ShortInfo:", versioninfo.Short()) versioninfo.Ad
阅读全文
posted @ 2024-10-19 11:42 卓能文
阅读(43)
评论(0)
推荐(0)
2024年10月16日
go htmx stream
摘要: 原始地址:https://github.com/alarbada/htmx-stream window.htmx.defineExtension("stream", { onEvent: (name, evt) => { if (name "htmx:beforeRequest") { let el
阅读全文
posted @ 2024-10-16 18:38 卓能文
阅读(55)
评论(0)
推荐(0)
2024年9月14日
vite tailwindcss@next omi
摘要: pnpm i @tailwindcss/vite@next omi tailwindcss@next vite package.json: { "type": "module", "dependencies": { "@tailwindcss/vite": "4.0.0-alpha.24", "om
阅读全文
posted @ 2024-09-14 19:28 卓能文
阅读(47)
评论(0)
推荐(0)
vite css import
摘要: import css from "./index.scss?inline";
阅读全文
posted @ 2024-09-14 15:38 卓能文
阅读(27)
评论(0)
推荐(0)
上一页
1
···
9
10
11
12
13
14
15
16
17
···
25
下一页
公告