rails blank
看到 rails 的 blank 源码:
1 | class String |
[[:space]] 是个什么东西,查了查资料,叫
POSIX Bracket Expressions,
可以当做 正则的简略写法吧。

Git
你通过 git pull 更新内容的时候,是不是要经常的输入密码,你厌倦了么?
试试 git config credential.helper store吧
然后在输入密码,下次输入就不需要密码了,这是咋做到的?
打开 vim ~/.git-credentials, git 已 明文记录了你的用户/密码 , 所以你要注意安全了。