随笔分类 -  others

该文被密码保护。
posted @ 2020-06-12 15:31 聪明不绝顶 阅读(0) 评论(0) 推荐(0)
摘要:设计模式6大原则: 1.单一职责原则(Single Responsibility Principle, SRP) 2.开闭原则(Open-Closed Principle, OCP) 3.里氏代换原则(Liskov Substitution Principle, LSP) 4.依赖倒转原则(Depe 阅读全文
posted @ 2019-04-19 10:31 聪明不绝顶 阅读(105) 评论(0) 推荐(0)
摘要:git status git diff git stash // 修改入栈 git checkout *** // 切分支 git stash list // 显示栈内的修改 git show stash@{0} // 显示修改 git stash apply stash@{1} // 将对应修改应用过来 阅读全文
posted @ 2019-02-01 16:39 聪明不绝顶 阅读(146) 评论(0) 推荐(0)
摘要:repo遍历所有git仓库: repo forall -c 命令 其中,参数有: -c:后面可以带的任何可以被系统支持的shell命令(ls,cp,pwd等) -p:在shell命令输出之前列出项目名称 -v:列出执行shell指令输出的错误信息 -c:后面可以带的任何可以被系统支持的shell命令 阅读全文
posted @ 2019-01-31 10:35 聪明不绝顶 阅读(5583) 评论(0) 推荐(0)
摘要:退出串口: ctrl+A Z X Y log换行(lineWrap on/off): ctrl+A Z W 阅读全文
posted @ 2018-07-31 11:41 聪明不绝顶 阅读(214) 评论(0) 推荐(0)
摘要:logcfg -c logtagname1 logtagname2:D logcat -s logtagname1 loatagname2 -v time&logcat -b radio // 性能log 阅读全文
posted @ 2018-07-20 14:01 聪明不绝顶 阅读(747) 评论(0) 推荐(0)