Skip to content

Instantly share code, notes, and snippets.

View FourteenWey's full-sized avatar

FourteenWey FourteenWey

  • Under12 Group.Inc
  • China
View GitHub Profile
@zyzsdy
zyzsdy / doc.js
Last active December 27, 2023 03:23
FFXIV简易版时间和天气计算库
//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. 基于小时的时间差计算(其他的不常用就没有提供)
@guweigang
guweigang / git_toturial
Last active June 15, 2024 10:46
git命令大全
git init # 初始化本地git仓库(创建新仓库)
git config --global user.name "xxx" # 配置用户名
git config --global user.email "xxx@xxx.com" # 配置邮件
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://git@192.168.53.168/VT.git # clone远程仓库