From 04360ccb7eb94ff4d9ea466554e29586d9cde19f Mon Sep 17 00:00:00 2001 From: shaoying Date: Fri, 7 Aug 2020 16:48:49 +0800 Subject: [PATCH] opt some --- etc/miss.sh | 7 +++---- src/main.shy | 20 ++++++++++++++++++++ usr/publish/order.js | 42 +++++++++++++++++++++--------------------- 3 files changed, 44 insertions(+), 25 deletions(-) diff --git a/etc/miss.sh b/etc/miss.sh index 7b6e8567..31b50a91 100644 --- a/etc/miss.sh +++ b/etc/miss.sh @@ -1,5 +1,5 @@ #!/bin/bash -git &>/dev/null || yum install -y git +# git &>/dev/null || yum install -y git [ -f ~/.ish/plug.sh ] || [ -f ./.ish/plug.sh ] || git clone https://github.com/shylinux/intshell ./.ish [ "$ISH_CONF_PRE" != "" ] || source ./.ish/plug.sh || source ~/.ish/plug.sh @@ -8,10 +8,10 @@ require show.sh require help.sh require miss.sh -ish_miss_prepare_compile +# ish_miss_prepare_compile # ish_miss_prepare_install # ish_miss_prepare_develop -ish_miss_prepare_session miss +# ish_miss_prepare_session miss ish_miss_prepare_volcanos ish_miss_prepare learning @@ -35,5 +35,4 @@ ish_miss_prepare_vim() { [ -f ~/.vim/syntax/go.vim ] || ln etc/conf/go.vim ~/.vim/syntax/go.vim [ -f ~/.vim/syntax/javascript.vim ] || ln etc/conf/javascript.vim ~/.vim/syntax/javascript.vim } - ish_miss_prepare_vim diff --git a/src/main.shy b/src/main.shy index 62f14035..c44ab6b4 100644 --- a/src/main.shy +++ b/src/main.shy @@ -1 +1,21 @@ title "contexts" + +chapter "实践" +label "实践" ` +code wiki chat team mall +linux nginx golang redis mysql +zsh tmux docker git vim +` stroke blue fill yellow + +chapter "理论" +label "理论" ` +重复性 复杂性 可用性 +模块化 集群化 自动化 +` stroke yellow fill black + +chapter "项目" +label "项目" ` +volcanos icebergs intshell +learning toolkits contexts +` stroke red fill black + diff --git a/usr/publish/order.js b/usr/publish/order.js index 4e4745bf..41f2a5d1 100644 --- a/usr/publish/order.js +++ b/usr/publish/order.js @@ -1,16 +1,16 @@ Volcanos("onengine", { river: { "serivce": {name: "运营群", storm: { "wx": {name: "wx", action: [ - {name: "微信公众号", help: "wx", index: "web.wiki.word", args: ["icebergs/misc/wx/wx.shy"]}, + {name: "微信公众号", help: "wx", index: "web.wiki.word", args: ["usr/icebergs/misc/wx/wx.shy"]}, ]}, "mp": {name: "mp", action: [ - {name: "微信小程序", help: "mp", index: "web.wiki.word", args: ["icebergs/misc/mp/mp.shy"]}, + {name: "微信小程序", help: "mp", index: "web.wiki.word", args: ["usr/icebergs/misc/mp/mp.shy"]}, ]}, "lark": {name: "lark", action: [ - {name: "飞书机器人", help: "lark", index: "web.wiki.word", args: ["icebergs/misc/lark/lark.shy"]}, + {name: "飞书机器人", help: "lark", index: "web.wiki.word", args: ["usr/icebergs/misc/lark/lark.shy"]}, ]}, "share": {name: "share", action: [ - {name: "系统上下文", help: "shylinux/contexts", index: "web.wiki.word", args: ["learning/社会/管理/20200724.shy"]}, + {name: "系统上下文", help: "shylinux/contexts", index: "web.wiki.word", args: ["usr/learning/社会/管理/20200724.shy"]}, ]}, }}, "product": {name: "产品群", storm: { @@ -28,43 +28,43 @@ Volcanos("onengine", { river: { {name: "wubi", help: "五笔", index: "web.code.input.find", args: ["你好", "line"]}, ]}, "context": {name: "context", action: [ - {name: "context", help: "编程", index: "web.wiki.word", args: ["learning/社会/管理/context.shy"]}, + {name: "context", help: "编程", index: "web.wiki.word", args: ["usr/learning/社会/管理/context.shy"]}, ]}, "learning": {name: "learning", action: [ - {name: "golang", help: "编程", index: "web.wiki.word", args: ["golang-story/src/main.shy"]}, + {name: "golang", help: "编程", index: "web.wiki.word", args: ["usr/golang-story/src/main.shy"]}, {name: "tmux", help: "粘贴", index: "web.code.tmux.text"}, - {name: "study", help: "学习", index: "web.wiki.word", args: ["learning/study.shy"]}, + {name: "study", help: "学习", index: "web.wiki.word", args: ["usr/learning/study.shy"]}, ]}, }}, "project": {name: "研发群", storm: { "cli": {name: "cli", action: [ - {name: "tmux", help: "命令行", index: "web.wiki.word", args: ["icebergs/misc/tmux/tmux.shy"]}, - {name: "git", help: "代码库", index: "web.wiki.word", args: ["icebergs/misc/git/git.shy"]}, - {name: "vim", help: "编辑器", index: "web.wiki.word", args: ["icebergs/misc/vim/vim.shy"]}, - {name: "zsh", help: "命令行", index: "web.wiki.word", args: ["icebergs/misc/zsh/zsh.shy"]}, + {name: "tmux", help: "命令行", index: "web.wiki.word", args: ["usr/icebergs/misc/tmux/tmux.shy"]}, + {name: "git", help: "代码库", index: "web.wiki.word", args: ["usr/icebergs/misc/git/git.shy"]}, + {name: "vim", help: "编辑器", index: "web.wiki.word", args: ["usr/icebergs/misc/vim/vim.shy"]}, + {name: "zsh", help: "命令行", index: "web.wiki.word", args: ["usr/icebergs/misc/zsh/zsh.shy"]}, ]}, "web": {name: "web", action: [ - {name: "HTML5", help: "浏览器", index: "web.wiki.word", args: ["icebergs/misc/chrome/chrome.shy"]}, + {name: "HTML5", help: "浏览器", index: "web.wiki.word", args: ["usr/icebergs/misc/chrome/chrome.shy"]}, ]}, "linux": {name: "linux", action: [ - {name: "linux", help: "系统", index: "web.wiki.word", args: ["linux-story/src/main.shy"]}, + {name: "linux", help: "系统", index: "web.wiki.word", args: ["usr/linux-story/src/main.shy"]}, ]}, "nginx": {name: "nginx", action: [ - {name: "nginx", help: "代理", index: "web.wiki.word", args: ["nginx-story/src/main.shy"]}, + {name: "nginx", help: "代理", index: "web.wiki.word", args: ["usr/nginx-story/src/main.shy"]}, ]}, "golang": {name: "golang", action: [ - {name: "golang", help: "编程", index: "web.wiki.word", args: ["golang-story/src/main.shy"]}, + {name: "golang", help: "编程", index: "web.wiki.word", args: ["usr/golang-story/src/main.shy"]}, ]}, "redis": {name: "redis", action: [ - {name: "redis", help: "缓存", index: "web.wiki.word", args: ["redis-story/src/main.shy"]}, + {name: "redis", help: "缓存", index: "web.wiki.word", args: ["usr/redis-story/src/main.shy"]}, ]}, "mysql": {name: "mysql", action: [ - {name: "mysql", help: "数据", index: "web.wiki.word", args: ["mysql-story/src/main.shy"]}, + {name: "mysql", help: "数据", index: "web.wiki.word", args: ["usr/mysql-story/src/main.shy"]}, ]}, "context": {name: "context", action: [ - {name: "think", help: "智库", index: "web.wiki.word", args: ["learning/"]}, - {name: "index", help: "索引", index: "web.wiki.word", args: ["learning/index.shy"]}, - {name: "context", help: "编程", index: "web.wiki.word", args: ["learning/自然/编程/context.shy"]}, + {name: "think", help: "智库", index: "web.wiki.word", args: ["usr/learning/"]}, + {name: "index", help: "索引", index: "web.wiki.word", args: ["usr/learning/index.shy"]}, + {name: "context", help: "编程", index: "web.wiki.word", args: ["usr/learning/自然/编程/context.shy"]}, ]}, }}, "profile": {name: "测试群", storm: { @@ -91,7 +91,7 @@ Volcanos("onengine", { river: { "web.code.tmux.session", ]}, "os": {name: "os", action: [ - {name: "操作系统", help: "os", index: "web.wiki.word", args: ["learning/自然/编程/system.shy"]}, + {name: "操作系统", help: "os", index: "web.wiki.word", args: ["usr/learning/自然/编程/system.shy"]}, ]}, }}, }, })