TOKYO60 V3 KIT DFU

L_SHIFT+R_SHIFT+B

2020/05/01

sourcetree custom pull request

2020/03/20

前端的不可见字符

Read more   2020/01/20

cordova Error:moudle not specified

  1. Run --> Edit configurations...
  2. + Android App
  3. File --> Sync Project With Gradle Files
2019/12/31

mockjs

https://github.com/nuysoft/Mock/wiki

占位符:

@占位符
@占位符(参数 [, 参数])

Read more   2019/12/12

Mac默认输入法及修改中英文切换按键

2019/10/09

redmine关联gitlab

1. 安装redmine_gitlab_hook

  1. 下载:https://github.com/phlegx/redmine_gitlab_hook/releases
  2. 解压后文件夹名字修改为redmine_gitlab_hook
  3. 放到redmine安装目录的plugins文件夹下
  4. 重启redmine

2. 插件设置

  1. 打开redmine的管理 - 配置 - 版本库
  2. 选择SCM - git
  3. 勾选自动获取程序变更、启用用于版本库管理的Web Service
  4. 点击生成一个key
  5. 修改用于引用问题的关键字添加*号(用于捕获所有提交内容):refs,references,IssueID,*
  6. 跟踪标签可以设置关键字对应的状态和进度
Read more   2019/09/26

new Date('yyyy-MM-dd hh:mm:ss')在Safari中的问题

如:new Date('2019-09-04 09:00:41') 得到的是 Invalid Date

使用 new Date('2019/09/04 09:00:41') 是正常的

MDN: a simplification of the ISO 8601 calendar date extended format

The standard string representation of a date time string is a simplification of the ISO 8601 calendar date extended format (see Date Time String Format section in the ECMAScript specification for more details). For example, "2011-10-10" (date-only form), "2011-10-10T14:48:00" (date-time form), or "2011-10-10T14:48:00.000+09:00" (date-time form with milliseconds and time zone) can be passed and will be parsed. When the time zone offset is absent, date-only forms are interpreted as a UTC time and date-time forms are interpreted as local time.

2019/09/04

PhantomJS not found on PATH

非网络原因可能是因为环境未安装bzip2工具

yum -y install bzip2

2019/08/12