From b4354fa7f8114ebe2044113f8896ccad723959da Mon Sep 17 00:00:00 2001 From: harveyshao Date: Sun, 19 Feb 2023 19:14:30 +0800 Subject: [PATCH] opt code --- etc/path | 1 + src/main.js | 1 - src/main.shy | 2 ++ src/relay.go | 15 --------- src/website/h1.zml | 16 ---------- src/website/h2.zml | 10 ------ src/website/he.zml | 15 --------- src/website/hi.iml | 14 --------- src/website/hi.zml | 15 --------- src/website/index.iml | 73 ------------------------------------------- 10 files changed, 3 insertions(+), 159 deletions(-) delete mode 100644 src/relay.go delete mode 100644 src/website/h1.zml delete mode 100644 src/website/h2.zml delete mode 100644 src/website/he.zml delete mode 100644 src/website/hi.iml delete mode 100644 src/website/hi.zml delete mode 100644 src/website/index.iml diff --git a/etc/path b/etc/path index 7893bf56..5a3f6d79 100644 --- a/etc/path +++ b/etc/path @@ -16,3 +16,4 @@ usr/local/bin usr/publish bin usr/install/ctags-5.8/_install/bin +usr/local/work/20221205-sshd/usr/publish diff --git a/src/main.js b/src/main.js index c1c754d3..92b79710 100644 --- a/src/main.js +++ b/src/main.js @@ -57,7 +57,6 @@ Volcanos({river: { }}, profile: {name: "测试群", storm: { release: {name: "发布 release", index: [ - "web.code.webpack", "web.code.compile", "web.code.publish", "web.code.docker.client", diff --git a/src/main.shy b/src/main.shy index 75878b86..67d14a51 100644 --- a/src/main.shy +++ b/src/main.shy @@ -4,6 +4,8 @@ refer ` 文档 https://contexts.com.cn/help/ 源码 https://shylinux.com/x/contexts ` + +chapter "最近" section "windows" refer ` https://www.ngui.cc/el/1813831.html diff --git a/src/relay.go b/src/relay.go deleted file mode 100644 index a6fa4d5b..00000000 --- a/src/relay.go +++ /dev/null @@ -1,15 +0,0 @@ -package main - -import ( - "os" - "path" - - "shylinux.com/x/ice" - _ "shylinux.com/x/icebergs/misc/ssh" -) - -func main() { - defer func() { recover() }() - args := []string{"ssh.connect", "open", "authfile", path.Join(os.Getenv("HOME"), ".ssh/", path.Base(os.Args[0])+".json")} - print(ice.Run(append(args, os.Args[1:]...)...)) -} diff --git a/src/website/h1.zml b/src/website/h1.zml deleted file mode 100644 index 9d6570dd..00000000 --- a/src/website/h1.zml +++ /dev/null @@ -1,16 +0,0 @@ -{ - username - 系统 - 命令 index cli.system - 共享 index cli.qrcode - 终端 index web.code.xterm - 代码 - 趋势 index web.code.git.trend args icebergs action auto - 状态 index web.code.git.status args icebergs - 脚本 - 终端 index hi/hi.sh - 文档 index hi/hi.shy - 数据 index hi/hi.py - 后端 index hi/hi.go - 前端 index hi/hi.js -} \ No newline at end of file diff --git a/src/website/h2.zml b/src/website/h2.zml deleted file mode 100644 index 3649b3b7..00000000 --- a/src/website/h2.zml +++ /dev/null @@ -1,10 +0,0 @@ -left - username - 系统 - some index web.code.h2.h2 action auto - 命令 index cli.system - 共享 index cli.qrcode - 代码 - 趋势 index web.code.git.trend args icebergs - 状态 index web.code.git.status args icebergs -main \ No newline at end of file diff --git a/src/website/he.zml b/src/website/he.zml deleted file mode 100644 index fbc92032..00000000 --- a/src/website/he.zml +++ /dev/null @@ -1,15 +0,0 @@ -left - username - 江苏 - 徐州 index cli.system - 山东 - 邹城 index cli.runtime - 青岛 index cli.qrcode - 广东 - 深圳 index web.code.git.trend args icebergs action auto - 广州 index web.code.git.spide args icebergs - 湖南 index src/hi/hi.js action push - 湖北 index src/hi/hi.go action open - 上海 index src/website/hi.iml - 北京 index src/website/hi.zml -main diff --git a/src/website/hi.iml b/src/website/hi.iml deleted file mode 100644 index 7cab9731..00000000 --- a/src/website/hi.iml +++ /dev/null @@ -1,14 +0,0 @@ -系统 - 命令 - cli.system - 环境 - cli.runtime -开发 - 模块 - hi/hi.go - 脚本 - hi/hi.sh - hi/hi.shy - hi/hi.py - hi/hi.go - hi/hi.js \ No newline at end of file diff --git a/src/website/hi.zml b/src/website/hi.zml deleted file mode 100644 index f88da02a..00000000 --- a/src/website/hi.zml +++ /dev/null @@ -1,15 +0,0 @@ -left - username - 系统 - 命令 index cli.system - 共享 index cli.qrcode - 代码 - 趋势 index web.code.git.trend args icebergs action auto - 状态 index web.code.git.status args icebergs - 脚本 - 终端 index hi/hi.sh - 文档 index hi/hi.shy - 数据 index hi/hi.py - 后端 index hi/hi.go - 前端 index hi/hi.js -main diff --git a/src/website/index.iml b/src/website/index.iml deleted file mode 100644 index b76ad601..00000000 --- a/src/website/index.iml +++ /dev/null @@ -1,73 +0,0 @@ -service "运营群" - wx "公众号 wx" - usr/icebergs/misc/wx/wx.shy "微信公众号" - mp "小程序 mp" - usr/icebergs/misc/mp/mp.shy "微信小程序" - lark "机器人 lark" - usr/icebergs/misc/lark/lark.shy "飞书机器人" -product "产品群" - office "办公 office" - web.wiki.feel "影音媒体" - web.wiki.draw "思维导图" - web.wiki.data "数据表格" - web.chat.location "地图导航" - web.wiki.word "智库" args usr/learning/ - usr/learning/index.shy "索引" - src/main.shy "编程" - chrome "网页 chrome" - usr/icebergs/misc/chrome/chrome.shy "浏览器" name HTML5 - web.wiki.feel "网页爬虫" args spide/ - web.code.chrome.cache "爬虫缓存" - web.code.chrome.spide "网页爬虫" - web.code.chrome.modify "编辑页面" - website "定制 website" - - web.chat.website web.chat.div web.code.vimer web.dream - english "英汉 english" - web.wiki.alpha.alpha "英汉" args "word hi" - web.wiki.alpha.alpha "汉英" args "line 你好" - web.code.input.wubi "五笔" args "word wqvb" - web.code.input.wubi "五笔" args "line 你好" -project "研发群" - studio "研发 studio" - web.code.vimer "编辑器" args "'src/,usr/icebergs/,usr/volcanos/' main.go" - web.code.git.status "代码库" name repos - web.mall.goods "小商城" - web.team.plan "任务表" - web.wiki.word "上下文" - linux "系统 linux" - usr/linux-story/idc/idc.shy "平台" - usr/linux-story/iso/iso.shy "镜像" - usr/linux-story/src/main.shy "系统" - nginx "网关 nginx" - usr/nginx-story/src/main.shy "代理" - context "编程 context" - usr/golang-story/src/main.shy "编程" - redis "缓存 redis" - usr/redis-story/src/main.shy "数据缓存" - usr/redis-story/src/kafka/kafka.shy "消息队列" - usr/redis-story/src/pulsar/pulsar.shy "消息队列" - mysql "存储 mysql" - usr/mysql-story/src/main.shy "数据存储" - usr/mysql-story/src/elasticsearch/elasticsearch.shy "搜索引擎" - usr/mysql-story/src/clickhouse/clickhouse.shy "搜索引擎" -profile "测试群" - release "流程 release" - ~ web.code webpack compile publish - web.code.docker.client - web.space - web.dream - ~ web.code.git server status - toolkit "工具 toolkit" - ~ web.code favor xterm inner vimer bench pprof oauth - language "语言 language" - ~ web.code c sh py shy js go -operate "运维群" - aaa "权限 aaa" - - user totp sess role - web "应用 web" - - broad serve space dream - - share spide cache story - cli "系统 cli" - - qrcode daemon system runtime mirrors forever port - nfs "文件 nfs" - - cat dir pack tail trash