zoukankan      html  css  js  c++  java
  • 终端字形logo

      网上有很多的项目都有一个自己的字形logo,而我也在开发一个小的项目,也想要生成一个终端字形的logo,于是找到这款小工具,分享给大家:FIGlet

      “FIGlet is a program for making large letters out of ordinary text”

    Mac OS X

    starnight:~ starnight$ brew install figlet        # 安装
    starnight:~ starnight$ figlet "hello world"
     _          _ _                            _     _
    | |__   ___| | | ___   __      _____  _ __| | __| |
    | '_  / _  | |/ _     / / / _ | '__| |/ _` |
    | | | |  __/ | | (_) |   V  V / (_) | |  | | (_| |
    |_| |_|\___|_|_|\___/    \_/\_/ \___/|_|  |_|\__,_|

      看起来是不是有点样子。

    Ubuntu

      我猜安装命令是这样的:

    root@starnight:~# apt-get install figlet
    root@starnight:~# figlet kid
     _    _     _ 
    | | _(_) __| |
    | |/ / |/ _` |
    |   <| | (_| |
    |_|\_\_|\__,_|
                  

      就这样简单介绍到这,给出示例看起来更方便。

  • 相关阅读:
    QQ列表展示
    拖动条SeekBar
    信息提示框、对话框
    键盘事件、触摸事件
    时间日期事件处理,长按事件
    图片切换示例
    索引值的应用
    this的应用
    自定义属性应用1
    自定义属性应用
  • 原文地址:https://www.cnblogs.com/Hi-blog/p/8490457.html
Copyright © 2011-2022 走看看