Skip to content

Latest commit

 

History

History
88 lines (66 loc) · 1.97 KB

README.md

File metadata and controls

88 lines (66 loc) · 1.97 KB

cmd

step0:

git clone https://github.com/monaco-io/cmd.git
cd cmd

ascii_art 命令行炫酷文案

Installation

step1:

make ascii_art

step2

# add this to your .zshrc/.bashrc
ascii_art --name=bilibili.com
# ascii_art --name=tencent.com

Usage

# monaco @ monacos-MacBook-Pro in ~/workspace/cmd on git:main o [17:32:27]
$ zsh
                        //
           \\          //
            \\        //
    ##DDDDDDDDDDDDDDDDDDDDDDDD##
    ## DDDDDDDDDDDDDDDDDDDDDD ##   ________   ___   ___        ___   ________   ___   ___        ___
    ## hh                  hh ##   |\   __  \ |\  \ |\  \      |\  \ |\   __  \ |\  \ |\  \      |\  \
    ## hh     //    \\     hh ##   \ \  \|\ /_\ \  \\ \  \     \ \  \\ \  \|\ /_\ \  \\ \  \     \ \  \
    ## hh    //      \\    hh ##    \ \   __  \\ \  \\ \  \     \ \  \\ \   __  \\ \  \\ \  \     \ \  \
    ## hh                  hh ##     \ \  \|\  \\ \  \\ \  \____ \ \  \\ \  \|\  \\ \  \\ \  \____ \ \  \
    ## hh       wwww       hh ##      \ \_______\\ \__\\ \_______\\ \__\\ \_______\\ \__\\ \_______\\ \__\
    ## hh                  hh ##       \|_______| \|__| \|_______| \|__| \|_______| \|__| \|_______| \|__|
    ## MMMMMMMMMMMMMMMMMMMMMM ##
    ##MMMMMMMMMMMMMMMMMMMMMMMM##                    live.bilibili.com  game.bilibili.com  www.bilibili.com

fanyi 中英翻译工具

Installation

make fanyi

Usage

~ fanyi i have an apple
我有一个苹果
~ fanyi 我有一个苹果
I have an apple

timestamp 时间戳转换工具

Installation

make timestamp

Usage

# monaco @ monacos-MacBook-Pro in ~/workspace/cmd on git:main o [17:42:21]
$ timestamp now
2022/09/09 17:42:24 now
unix timestamp now is: 1662716544

# monaco @ monacos-MacBook-Pro in ~/workspace/cmd on git:main o [17:42:24]
$ timestamp 1662716544
2022/09/09 17:42:33 1662716544
tims is: 2022-09-09T17:42:24+08:00