【每日时报】2019.06.27

#1

2019.06.27

[文章] 《把一生过成两辈子:颠覆你时间观的两个概念》,了解到了纯时间和暗时间:https://mp.weixin.qq.com/s/CvrbpDE55upLgjjujI7KMA

[文章] 《Webpack 高级配置技巧》,如果你还不清楚怎么能搭建一套符合线上环境的 Webpack 配置,不防看看它:https://www.robinwieruch.de/webpack-advanced-setup-tutorial/

[类库] 让你的命令行,支持语法高亮:https://github.com/felixfbecker/cli-highlight

[类库] ESLint 支持 GraphQL 语法检查了:https://github.com/apollographql/eslint-plugin-graphql

[类库] PHP 的中国农历(阴历)与阳历(公历)转换与查询工具:https://github.com/overtrue/chinese-calendar

配图 - 让你的命令行,支持语法高亮

配图 - ESLint 支持 GraphQL 语法检查

示例 - PHP 的中国农历(阴历)与阳历(公历)转换与查询工具

use Overtrue\ChineseCalendar\Calendar;

$calendar = new Calendar();

$result = $calendar->solar(2017, 5, 5); // 阳历
$result = $calendar->lunar(2017, 4, 10); // 阴历
$result = $calendar->solar(2017, 5, 5, 23) // 阳历,带 $hour 参数

今日图 - 原型 VS 演示 Demo

查看更多:https://wubaiqing.github.io/zaobao/2019/06/27.html
GitHub:https://github.com/wubaiqing/zaobao