My Mac Configuration Journey

Switch Caps Lock and Ctrl

Systems Settings -> Keyboard -> Keyboard Shortcuts -> Modifier Keys -> Change Caps Lock key to Control -> Change Control key to Caps Lock key

ZSH

#Git command Alias                                                                                                                                                                                                    
alias gst='git status'
alias gp='git push'
alias gc='git commit'
alias gb='git branch'
alias gco='git checkout'

#Show Git branch information on terminal
COLOR_DEF=$'%f'
COLOR_USR=$'%F{243}'
COLOR_DIR=$'%F{197}'
COLOR_GIT=$'%F{39}'
setopt PROMPT_SUBST
export PROMPT='${COLOR_USR}%n ${COLOR_DIR}%~ ${COLOR_GIT}$(parse_git_branch)${COLOR_DEF} $ '

MQTT基础文档翻译(五):话题和相关的实践
MQTT基础文档翻译(四):发布、订阅和取消订阅
ProtoBuf为什么比Json快

Protocol buffers are Google’s language-neutral, platform-neutral, extensible mechanism for serializing structured data – think XML, but smaller, faster, and simpler.

MQTT基础文档翻译(三):MQTT客户端和Broker和MQTT服务器和连接建立的解释
MQTT基础文档翻译(二):发布和订阅
MQTT基础文档翻译(一):MQTT协议介绍
Qt信号槽机制浅析

Qt是一个跨平台的C++软件开发框架,而Qt的核心机制是信号槽,关于信号槽,Qt官方的表述是:

© 2020 Liujianfeng
Powered by hexo | Theme is blank