See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope> is optional
| //Import Statements | |
| public class ActivityName extends AppCompatActivity { | |
| private RecyclerView mRecyclerView; | |
| private RecyclerView.Adapter mAdapter; | |
| private RecyclerView.LayoutManager mLayoutManager; | |
| @Override | |
| protected void onCreate(Bundle savedInstanceState) { | |
| super.onCreate(savedInstanceState); |
(note: replace ORGANIZATION and PROJECT)
git clone git clone [email protected]:ORGANIZATION/PROJECT.git my-repository
| default partial alphanumeric_keys modifier_keys | |
| xkb_symbols "pc105" { | |
| key <ESC> { [ Escape ] }; | |
| // The extra key on many European keyboards: | |
| key <LSGT> { [ less, greater, bar, brokenbar ] }; | |
| // The following keys are common to all layouts. | |
| key <BKSL> { [ backslash, bar ] }; |
| #!/usr/bin/env bash | |
| # MIT © Sindre Sorhus - sindresorhus.com | |
| # git hook to run a command after `git pull` if a specified file was changed | |
| # Run `chmod +x post-merge` to make it executable then put it into `.git/hooks/`. | |
| changed_files="$(git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD)" | |
| check_run() { | |
| echo "$changed_files" | grep --quiet "$1" && eval "$2" |
| # 中西文切換鍵的默認設置寫在 default.yaml 裏面 | |
| # 以下的 default.custom.yaml 在全局範圍重定義該組快速鍵 | |
| # | |
| # 可用的按鍵有 Caps_Lock, Shift_L, Shift_R, Control_L, control_R | |
| # Mac 系統上的鼠鬚管不能區分左、右,因此只有對 Shift_L, Control_L 的設定起作用 | |
| # | |
| # 已輸入編碼時按切換鍵,可以進一步設定輸入法中西文切換的形式。 | |
| # 可選的臨時切換策略有三: | |
| # inline_ascii 在輸入法的臨時西文編輯區內輸入字母、數字、符號、空格等,回車上屏後自動復位到中文 | |
| # commit_text 已輸入的候選文字上屏並切換至西文輸入模式 |