摘要: https://ybleeho.github.io/2019/06/07/Redux-vs-Mobx%E6%AF%94%E8%BE%83/ 阅读全文
posted @ 2019-06-07 12:27 ybleeho 阅读(171) 评论(0) 推荐(0) 编辑
摘要: https://ybleeho.github.io/2019/05/18/sequelize-%E5%85%B3%E4%BA%8Ewarning-a-promise-was-created-but-was-not-returned-from-it/ 阅读全文
posted @ 2019-05-18 22:46 ybleeho 阅读(347) 评论(0) 推荐(0) 编辑
摘要: https://ybleeho.github.io/2019/05/04/Postgresql%E5%B9%B6%E5%8F%91%E6%8E%A7%E5%88%B6%E4%B9%8B%E4%BA%8B%E5%8A%A1%E9%9A%94%E7%A6%BB%E7%95%8C%E5%88%AB%E7% 阅读全文
posted @ 2019-05-05 20:28 ybleeho 阅读(191) 评论(0) 推荐(0) 编辑
摘要: https://ybleeho.github.io/2019/04/24/Sequelize%E4%B8%BA%E4%BB%80%E4%B9%88%E9%9C%80%E8%A6%81%E4%BD%BF%E7%94%A8Maigration/ 阅读全文
posted @ 2019-04-24 22:56 ybleeho 阅读(211) 评论(1) 推荐(0) 编辑
摘要: 有几种方法可用于Vue.js中的组件间通信。对于大多数情况,正常的情况下Props和Events应该足够了,但是也可以使用其他方法。Props&Events 通常的通信方法涉及Props和Events。这种通用模式提供了一种强大的组件之间通信方式,而不会对涉及哪些组件产生任何依赖性或限制。Props:Props允许将任何数据类型传递给子组件,并允许控制组件接收的数据类型。支持更新也是被动的,允许子... 阅读全文
posted @ 2019-04-21 10:04 ybleeho 阅读(328) 评论(0) 推荐(1) 编辑
摘要: 使用 ant design 当中总结的一些小tips 和issue 1.<!--?xml version="1.0" encoding="UTF-8"?--> 时间类组件的 value 类型为 moment 对象,所以在提交服务器前需要预处理。如Timepicker,Datepicker。 2.Ti 阅读全文
posted @ 2019-02-13 23:27 ybleeho 阅读(1380) 评论(0) 推荐(0) 编辑
摘要: ERROR: type "enum_xxx_status" already exist reason: Dropping an enum column does not drop the enum itself. Postgre issue https://github.com/sequelize/ 阅读全文
posted @ 2019-01-05 12:13 ybleeho 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 1.查找特定字符的上下文 grep -A 2 -B 1 'str' file 2.查看cat more less tail head cat:命令可以一次显示整个文件,如果文件比较大,使用不是很方便;more:命令可以让屏幕在显示满一屏幕时暂停,按空格往前翻页,按b往后翻页。less:命令也可以分页 阅读全文
posted @ 2018-12-02 18:21 ybleeho 阅读(264) 评论(0) 推荐(0) 编辑
摘要: 1. login remote server without password ssh-copy-id name@server.com 2.generate ssh key on server ssh-keygen - t rsa 3. copy the server ssh key to the 阅读全文
posted @ 2018-11-11 14:04 ybleeho 阅读(441) 评论(0) 推荐(0) 编辑
摘要: use function date_trunc sql: SELECT date_trunc('day',"createdAt") FROM "IAPRecords" WHERE "IAPRecords"."UserId" = 1 GROUP BY date_trunc('day',"created 阅读全文
posted @ 2018-11-08 18:34 ybleeho 阅读(721) 评论(0) 推荐(0) 编辑