iMaeGoo

Results 102 comments of iMaeGoo

``` js const Bowser = require("[email protected]"); const browser = Bowser.getParser('Macintosh; Intel Mac OS X 11_0_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36'); console.log(browser.getOS()); // {name: "macOS", version: "11.0.0"} ```

Updated night mode for Icarus 3.0. https://github.com/imaegoo/hexo-theme-icarus/commit/fc3d016ae1c999347bd9ecbf3cc656e1382db06d

@ppoffice 请问是否有官方适配深色模式的计划? 最近许多朋友问我的 night mode 相关的问题,如果有计划把这个做成官方的功能,那就太好了。 我没有设计方面的才能,所以不太好意思提交这方面的 PR。

> > > ![image](https://user-images.githubusercontent.com/30945632/85091751-6876e800-b212-11ea-9f30-97404cc17a05.png) > where's the toggle button to activate night mode? @krisnaxda It should be at the top right of the page, did you follow the step to...

## Update: Icarus v4.1 night mode support Github diff: https://github.com/imaegoo/hexo-theme-icarus/commit/ac92cdc5f87671e9ac67f4dbb85eb546b68d9bf4 Full theme pack download: https://github.com/imaegoo/hexo-theme-icarus/archive/night4.zip

> @imaegoo anyway to make dark them the default and disable the button on top? @punksinatra `themes\icarus\layout\layout.jsx` ```diff - - + ``` `themes\icarus\layout\common\navbar.jsx` ```diff - - - ```

修改一个配置项即可 ``` plugins: # Enable page startup animations animejs: false ``` ![图片](https://user-images.githubusercontent.com/20182252/100338645-d0c4c380-3013-11eb-8166-79a9ab444d4f.png)

同样的问题+1 只有云引擎是运行状态,自唤醒才能成功,云引擎休眠状态,自唤醒总是失败。 我是从5月9日起开始遇到这个情况的。

> 是leancloud官方的问题。详情请看这里https://forum.leancloud.cn/t/topic/22595 免费体验版对定时自唤醒做了限制,基本上100%失败。 今天测试发现,即使将定时任务设置在非集中唤醒的时间(如每小时的26分26秒),也依旧收到400错误。 目前只能在别的云主机上写一个 crontab 去唤醒。

@sli1989 可参考 flexiston 的解决方法 https://www.flexiston.com/posts/25909.html