Skip to content
#

thinking

Here are 41 public repositories matching this topic...

sunmaobin
sunmaobin commented Nov 28, 2018

一、修改MySQL的配置文件

MySQL的配置文件 my.cnf ,所在位置一般在:/etc/my.cnf,如果不在这个目录下,可以搜索下:whereis my.cnf

修改每个对应项为 utf8mb4 编码:

[client]
default-character-set=utf8mb4
 
[mysql]
default-character-set=utf8mb4
 
[mysqld]
character-set-server = utf8mb4
collation-server = utf8mb4_unicode_ci
init_connect = 'SET NAMES utf8mb4'
character-set-client-handshake = false

修改完成后,重启MySQL,然后查看配置

FishPlusOrange
FishPlusOrange commented Aug 23, 2018

在使用 babel 过程中往往涉及到两个重要的概念,babel-polyfillbabel-plugin-transform-runtime。因为 babel 在编译时默认只转换新的 JavaScript 语法糖,不会编译新的 API,比如 PromiseSymbolSet 等等。这时候就需要 babel-polyfillbabel-plugin-transform-runtime

babel-polyfill

由于 babel 不会编译新的 JavaScript API,所以需要使用 babel-polyfill 为当前环境提供一个垫片

从入口文件(lib/index.js)的源码可以看到,babel-polyfill 主要由两个部分组成:core-js 和 `regenerat

yangwenmai
yangwenmai commented Jan 14, 2019

[Tutorial] Asynchronous Flutter chat client with Go chat server which are powered by gRPC (simple…

Aleksandr Sokolovskii Jan 13 I opened Flutter for myself few weeks ago. It dramatically changes mobile app development. I would call it now — development with…



January 14, 2019 at 01:32PM

via Instapaper [https://medium.com/@amsokol.com/tutorial-asynchron

Pines-Cheng
Pines-Cheng commented Jul 9, 2018

展望 2018 年 JavaScript Testing

2018年 JavaScript 测试领域最值得关注的框架、工具和方法论等。综合多篇讨论了类似话题的优秀文章。

根据功能,测试工具可以被分为下面几类,其中有些专注在一个测试类型上;有些则是像搭积木一样,开发者通过自由搭配不同的工具整合适合项目的测试方法。

即使用一个测试框架可能就能满足当前需求,但出于长远考虑,为了提高扩展性,多数开发者还是会选择自由组合各种工具。

  • 提供测试结构:Mocha, Jasmine, Jest, Cucumber
  • 有断言测试:Chai, Jasmine, Jest, Unexpected
  • 生成、展示和监控测试结果:Mocha, Jasmine, Jest, Karma
  • 通过对比生成

Improve this page

Add a description, image, and links to the thinking topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the thinking topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.