how to compare 2 commits on github
just add the /compare in url after repo
https://github.com/manecocomph/art/compare
just add the /compare in url after repo
https://github.com/manecocomph/art/compare
static factory 优点:
-- Singleton;
-- Cache object;
-- Return object based on parameters;
缺点:
难找.
可以用 .from, .of, .valueOf, .instance, .getInstance, .create, .newInstance, .getType, .type, .newType.
使用iTerm2 自带的密码管理器输入密码



很多情况你可能在第一次ssh 一个新机器的时候会遇到接受认证的消息, 让你接受一个新的认证,给 yes/no, 其实有办法默认接受所有的认证:
编辑 ~/.ssh/config, 若没有,则新建. 改成如下类似, 我这里是如果机器名是 *.tianxiaohui.com, 则默认接受
[[email protected] ~]$ cat ~/.ssh/config
Host *.tianxiaohui.com
StrictHostKeyChecking no
如果修改了 ~/.ssh/config 之后, 报下面的错:
Bad owner or permissions on /export/home/xiatian/.ssh/config
则修改这个文件的权限:
chmod 600 ~/.ssh/config
命令:
dpkg-reconfigure console-setup
详细: https://www.raspberrypi-spy.co.uk/2014/04/how-to-change-the-command-line-font-size/
使用root 账号或者 sudo, 查看支持的分辨率
tvservice -m CEA
tvservice -m DMT
设置:
tvservice -e "CEA 4"
使它生效:(如果么有fbset 则安装它)
fbset -depth 8 && fbset -depth 16
参看这里: https://www.raspberrypi.org/forums/viewtopic.php?t=25933