代码非常简单,极容易集成,可以玩玩我的 demo https://oneall.eu.org/weblive async function textresp(text, status = 200) { return new Response(text, { status, headers: {...
这是我用来集成进我博客里的一个api,把不必要的功能全都省略了 var whitelist = []; async function textresp(text, status = 200) { return new Response(text, { status, headers: {...
项目地址 runoneall/pgoipc: 用纯 Go 实现的跨平台 IPC 操作库,包含服务端和客户端 该包支持 Unix (Domain Socket) 和 Windows (Named Pipe) 该包对 net 和 github.com/Microsoft/go-winio...
commit: windows support · runoneall/nodebus@a1d0505 最终效果如图: 需要配合 VcXsrv 才行, 环境变量 DISPLAY, 在 X11 启动时指定 --trust-x11 绕过 xauth 验证(Windows上没有)
跟 ssh 的 x11 转发一个功能,所以,nodebus 也实现了一个 如图,只需指定 --x11 便可,无需服务器有桌面环境即可像本地应用一样运行 GUI 程序
cfgcenter migrated from http to ipc · runoneall/nodebus@3888a60 代码量可以说是大幅减小了,我封装了一个适用于 nodebus 的 ipc 服务端和客户端(稍微改改就可以集成到你自己的项目中) nodebus/ipc...
花了一上午的时间,实现了这个设想 cfgcenter --help 集中式的管理节点配置 Usage: nodebus cfgcenter [flags] Flags: -h, --help help for cfgcenter --host string 指定 cfgcenter 的监听地址...
地址:https://github.com/runoneall/nodebus 此次更新有一个 break changes:在 configm 中,将 ssh 的 port 类型从 int 改到 string 了,方便 net.JoinHostPort,至于为什么,net.JoinHostPort...
占用预览 提前加 2gb swap #!/bin/sh new_swap=2048 swap_partitions=$(grep -E '^/dev/' /proc/swaps | awk '{print $1}') for partition in...
nodebus 是我写的一个工具,可以自动ssh登录并执行命令 地址:https://github.com/runoneall/nodebus 起因是在 orgv.eu 中遇到的,团队有三台服务器,两台 2c2g 是同版本 ubuntu,一台 4c8g 是...
-
1
- 2
- 3
- ...
-
9
-
后一页 »