07 2016 档案
摘要:echo要变换颜色的时候,要使用参数-e 格式: echo -e "\033[字背景颜色;字体颜色m字符串\033[0m" 名称 echo - 显示一行文本 概要 echo [选项]... [字符串]... 描述 向标准输出输出字符串。 -n 不输出换行符 -e 打开反斜杠ESC转义 -E 取消反斜
阅读全文
摘要:ENV : Android M 6.0.1 锁屏之上应该如何显示Toast呢? 看下面的实现: public class KeyguardToast { public static Toast makeText(Context context, CharSequence text, int dura
阅读全文
摘要:2016/06/10 一 if语句 1. if-then语句格式,有两种 第一种: if command then commands fi 第二种: if command; then commands fi 2.if-then-else语句格式 if command then commands el
阅读全文