上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 25 下一页
摘要: 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)
摘要: 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)
摘要: 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)
摘要: 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)
摘要: 创建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)
摘要: 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)
摘要: 更多信息参见主页:https://www.marticliment.com/unigetui/ 阅读全文
posted @ 2024-07-12 16:40 卓能文 阅读(232) 评论(0) 推荐(0)
摘要: $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)
摘要: $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)
摘要: 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 下一页