Jeff Tian

Results 41 comments of Jeff Tian

好吧,我自己写了一个,也能配合 SSokit 使用,代码见: https://github.com/JeffTrain/socket ,使用效果见: ![socket](https://github.com/rangaofei/SSokit-qmake/assets/3367820/96e75961-c510-4005-b776-56baaa80edc8)

I met the same issue, and thanks, @thinkovation, for the inspiration! I fixed it by removing the `fingerprint` option, as, by default, it's not needed. The thing is that my...

I am looking forward to the fix! It could be more enjoyable every time I paste links in the GitHub README with Chinese characters following it can SMARTLY display them...

我用一般的手机号输入习惯重现了 Phone Number is Invalid 的错误,看了一下这个 provider 用了 https://github.com/google/libphonenumber 来校验手机号,它默认需要输入区号。 比如输入 13066667777 就会报错,但是输入:“+8613066667777” 就可以了。 你可以试试看 Phone Number is Invalid 的问题能不能解决? ![WechatIMG338](https://github.com/cooperlyt/keycloak-phone-provider/assets/3367820/53419308-e4b9-49cf-bbc3-f7f31cc37fc7)

个人觉得对于 power-assert,应该这样用更直观: API | Jest | power-assert -- | -- | -- 简单值类型比对 | expect(received).toBe(expected) | assert(received === expected) 复杂对象类型比对 | expect(received).toEqual(expected) | assert.deepEqual(received, expected) 数组长度比对 | expect(received).toHaveLength(expected) | assert(received.length...

再补充点细节: egg 项目和第三方打交道,有些第三方抛错,不会写 message,导致 egg 抛错时,会是这样: ![image](https://user-images.githubusercontent.com/3367820/68753306-bd7ccb00-063f-11ea-9453-4a5ea6a15ae3.png)

以上改动如果通过,那么对这种 non-error object,会是这样: ![image](https://user-images.githubusercontent.com/3367820/68756714-9b864700-0645-11ea-8cbb-f4230ffc066c.png) 即把非 `message` 字段,比如 `details` 都加上,对排查错误更方便。 鉴于此 PR 一直没有合,已经写了一个 egg 插件:https://github.com/Jeff-Tian/egg-error-display 来做这件事情。

I didn't run it locally, but I referenced this repo and deployed to netlify, it works like a charm! You can test it here: https://unibeta.netlify.app/.netlify/functions/hello-lambda The build log: ``` 1:53:33...

I changed the `admin/src/components/CKEditorInput/index.js` and succeeded. Currently it works good enough for my use case: ```js const handleChangeAssets = assets => { let assetsHtmlString = ''; assets.map(asset => { const...