会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
卓能文
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
15
16
17
18
19
20
21
22
23
···
25
下一页
2024年7月22日
rust struct to json
摘要: Cargo.toml: [dependencies] serde = {version = "1.0.204", features = ["derive"]} serde_json = "1.0.120" main.rs: use serde::{Deserialize, Serialize}; u
阅读全文
posted @ 2024-07-22 21:46 卓能文
阅读(64)
评论(0)
推荐(0)
2024年7月21日
bun嵌入文件
摘要: index.ts: // this becomes an internal file path import html from "./index.html" with { type: "file" }; import { file } from "bun"; export default { fe
阅读全文
posted @ 2024-07-21 23:20 卓能文
阅读(63)
评论(0)
推荐(0)
elysia stream
摘要: import { Elysia } from 'elysia' const app = new Elysia() .get('/ok', function* () { yield 1 yield 2 yield 3 }) .listen(3000)
阅读全文
posted @ 2024-07-21 09:10 卓能文
阅读(38)
评论(0)
推荐(0)
bun mini server
摘要: server.ts: import { serve } from "bun"; const id = Math.random().toString(36).slice(2); serve({ port: process.env.PORT || 8080, development: false, //
阅读全文
posted @ 2024-07-21 08:28 卓能文
阅读(47)
评论(0)
推荐(0)
2024年7月20日
用marked预览markdown文档
摘要: 创建src/index.html: <!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1
阅读全文
posted @ 2024-07-20 16:41 卓能文
阅读(207)
评论(0)
推荐(0)
2024年7月17日
go embed http server
摘要: package main import ( "embed" "io/fs" "net/http" ) //go:embed all:dist var assets embed.FS func Assets() (fs.FS, error) { return fs.Sub(assets, "dist"
阅读全文
posted @ 2024-07-17 22:47 卓能文
阅读(76)
评论(0)
推荐(0)
2024年7月12日
unigetui windows软件自动更新管理软件
摘要: 更多信息参见主页:https://www.marticliment.com/unigetui/
阅读全文
posted @ 2024-07-12 16:40 卓能文
阅读(232)
评论(0)
推荐(0)
2024年7月7日
利用powershell转wps文档到pdf
摘要: $input_path = "D:\wps" $output_path = "D:\pdf" $wps = New-Object -ComObject KWPS.Application $Format = [Microsoft.Office.Interop.Word.WdSaveFormat]::w
阅读全文
posted @ 2024-07-07 00:26 卓能文
阅读(157)
评论(0)
推荐(0)
利用powershell转word文档到pdf
摘要: $path = "D:\word\" $word_app = New-Object -ComObject Word.Application # $Format = [Microsoft.Office.Interop.Word.WdSaveFormat]::wdFormatXMLDocument $F
阅读全文
posted @ 2024-07-07 00:14 卓能文
阅读(159)
评论(0)
推荐(0)
2024年7月6日
利用vbs脚本将word文档转换为pdf
摘要: Set wrd = GetObject(, "Word.Application") wrd.Visible = False path = "D:\word\" wdFormatPDF = 17 Set fso = CreateObject("Scripting.FileSystemObject")
阅读全文
posted @ 2024-07-06 22:28 卓能文
阅读(383)
评论(0)
推荐(0)
上一页
1
···
15
16
17
18
19
20
21
22
23
···
25
下一页
公告