tools

wikix

a tool to execute commands from wiki page easily.

wikix() {
    curl -fsSL "https://brucekomike.github.io/om-docs/remote/misc/wikix.sh" | bash -s -- "$@"
}

usage:

wikix <wiki_url>?action=raw

or if your wiki have been configured to use a shortten patten

wikix <url>?raw

mdx

just like the one before, but for markdown

mdx() {
    curl -fsSL "https://brucekomike.github.io/om-docs/remote/misc/mdx.sh" | bash -s -- "$@"
}

usage:

mdx <sphinx_url>/_sources/page.md.txt

example

export md_url=https://brucekomike.github.io/om-docs/_sources
mdx $md_url/server/ubuntu/mediawiki/install.md.txt