摘要:
alias|grep git g=git ga='git add' gaa='git add --all' gapa='git add --patch' gb='git branch' gba='git branch -a' gbd='git branch -d' gbda='git branch 阅读全文
摘要:
1) Loop for N times 2) Loop through a collection and return a deeply-nested property from each item 3) Create an array of N size and populate them wit 阅读全文
摘要:
1. (x) -> 'bar foo'.replace( /(..) (...)/, '$2 $1' ) -> "bfoo ar" 2. (x) -> "foo bar foo bar".match(/(bar) (foo)/, '$2 $1'); -> ["bar foo", "bar", "fo 阅读全文