This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//I 艾欧泽亚时间 | |
//1. 当前艾欧泽亚时间 | |
let nowET = new EorzeaClock(); // EorzeaClock {date: Sun Jul 27 2955 22:23:11 GMT+0800 (中国标准时间)} | |
// 注意这里的date元素在打印的时候加上了本地时区,但是实际的艾欧泽亚时间是取UTC的时间 | |
//2. 小时分钟字符串(常见表示形式) | |
nowET.toHourMinuteString(); // 14:24 | |
//3. 基于小时的时间差计算(其他的不常用就没有提供) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git init # 初始化本地git仓库(创建新仓库) | |
git config --global user.name "xxx" # 配置用户名 | |
git config --global user.email "[email protected]" # 配置邮件 | |
git config --global color.ui true # git status等命令自动着色 | |
git config --global color.status auto | |
git config --global color.diff auto | |
git config --global color.branch auto | |
git config --global color.interactive auto | |
git config --global --unset http.proxy # remove proxy configuration on git | |
git clone git+ssh://[email protected]/VT.git # clone远程仓库 |