记录
1 git ssh
ssh-keygen -t rsa -C "your_email@example.com"
2 网址匹配正则表达式
- /([a-zA-Z0-9][-a-zA-Z0-9]{0,62}(\.[a-zA-Z0-9][-a-zA-Z0-9]{0,62})+\.?)|(www.|FTP:\/\/|Ftp:\/\/|ftp:\/\/|HTTPS:\/\/|HTTP:\/\/|Http:\/\/|http:\/\/|https:\/\/)((\w|=|\?|\.|\/|%|&|-)+)/g
3 CentOS 7 安装图形界面
# yum groupinstall "KDE Plasma Workspaces"
# yum groupinstall "GNOME Desktop"
# startx
4 switch 与 if 效率对比
一句话终结争论,switch 使用lookup table 或着hash list 查找分支
4 气愤
如果你感到气愤,那就用啊、是来回答