chromium

一次依赖注入不慎引发的一连串事故

只愿长相守 提交于 2020-07-27 05:13:12
一次依赖注入不慎引发的一连串事故 起因和现象 偶尔会看到线上服务启动的时候第一波流量进来之后, 迟迟没有任何的响应,同时服务的监控检查接口正常, 所以 K8S 集群认为服务正常,继续放入流量。 查看日志基本如下: [2020-06-05T13:00:30.7080743+00:00 Microsoft.AspNetCore.Hosting.Diagnostics INF] Request starting HTTP/1.0 GET http://172.16.2.52/v1/user/test [2020-06-05T13:00:30.7081525+00:00 Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware DBG] The request path /v1/user/test/account-balance does not match a supported file type [2020-06-05T13:00:31.7074253+00:00 Microsoft.AspNetCore.Server.Kestrel DBG] Connection id "0HM09A1MAAR21" started. [2020-06-05T13:00:31.7077051+00:00 Microsoft.AspNetCore

URL Manager Pro for mac(URL管理器)

吃可爱长大的小学妹 提交于 2020-07-26 01:52:06
如何用直观的方式存储和操作URL站点书签?小编推荐使用URL管理器—URL Manager Pro mac,该软件为您提供了一系列强大的功能,可用于收集,处理和使用非常大的URL集合,非常不错需要的来macdown体验吧~ URL Manager Pro 版软件介绍 随着Internet的持续指数增长,许多人发现当今浏览器的内置书签功能并不擅长处理大多数人想要维护的URL数量。URL Manager pro解决了跟踪书签的许多问题。URL Manager pro为您提供了一系列强大的功能,可用于收集,处理和使用非常大的URL集合。不仅是Web站点的URL,而且还有电子邮件地址,新服务器,ftp站点,Telnet主机等的URL。 URL Manager Pro mac版功能介绍 URL Manager pro的功能包括: 系统范围的访问:您可以通过附加菜单访问任何应用程序中的书签。 集成:您可以从浏览器的菜单栏和Dock中访问书签。 可访问性:您的书签存储在URL Manager pro书签文件中,您可以以直观的方式存储和操作它们。无需在浏览器首选项文件夹中寻找书签。您可以将应用程序设置为以特定的时间间隔自动保存,以及在每次保存时将书签文档的备份副本备份到外部设备。您可以轻松地将书签保存到Dropbox。 历史记录:您可以使用几种不同的浏览器浏览网络,URL Manager

[Asp.Net Core] Blazor Server Side 扩展用途

扶醉桌前 提交于 2020-07-26 01:17:09
前言 大概3个星期之前立项, 要做一个 CEF+Blazor+WinForms 三合一到同一个进程的客户端模板. 这个东西在五一的时候做出了原型, 然后慢慢修正, 在5天之前就上传到github了. 地址 : https://github.com/BlazorPlus/BlazorCefApp 但是一直在忙各种东西, 没有时间写博客. 情况 情况是这么一个情况 , 这个东西能运行, 够用. 也写了7个例子. 离当初的目标还有一些距离. 需要更多的时间去填坑. CEF方面, 是按需包装, 没有用到的功能是没处理的. 不过按照原先设想, 大部分人都不会有去定制这个CEF的需要. 测试 看这篇博文的网友, 如果不想从github下载编译, 从 http://opensource.spotify.com/ 另行下载 CEF 的资源包, 可以直接在微云上下载 已经编译好的版本 : https://share.weiyun.com/oibpnIro 项目模板 如图, 这是一个标准的 Blazor server side 工程. 有 Program.cs , 有 Startup.cs , 有 Shared/Pages, 有 wwwroot 其中引用的包是 CefLibCore , 源代码在 https://github.com/BlazorPlus/CefLite ,

一次依赖注入不慎引发的一连串事故

天涯浪子 提交于 2020-07-24 00:32:39
一次依赖注入不慎引发的一连串事故 起因和现象 偶尔会看到线上服务启动的时候第一波流量进来之后, 迟迟没有任何的响应,同时服务的监控检查接口正常, 所以 K8S 集群认为服务正常,继续放入流量。 查看日志基本如下: [2020-06-05T13:00:30.7080743+00:00 Microsoft.AspNetCore.Hosting.Diagnostics INF] Request starting HTTP/1.0 GET http://172.16.2.52/v1/user/test [2020-06-05T13:00:30.7081525+00:00 Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware DBG] The request path /v1/user/test/account-balance does not match a supported file type [2020-06-05T13:00:31.7074253+00:00 Microsoft.AspNetCore.Server.Kestrel DBG] Connection id "0HM09A1MAAR21" started. [2020-06-05T13:00:31.7077051+00:00 Microsoft.AspNetCore

Puppeteer: Chromium instances remain active in the background after browser.disconnect

随声附和 提交于 2020-07-09 12:51:27
问题 My environment Puppeteer version: 3.1.0 Platform / OS version: Windows 10 Node.js version: 12.16.1 My problem is: I have a for...of loop to visit 3000+ urls with puppeteer. I use puppeteer.connect to wsEndpoint so I can reuse one browser instance. I disconnect after each visit and close the tab. first 100 urls page.goto 's open the urls immediately, above 100 page.goto uses 2-3 retries per url, above 300 page.goto uses 5-8 retries per url, above 500 I get TimeoutError: Navigation timeout of

Why is the execution time of this function call changing?

大憨熊 提交于 2020-07-04 20:07:11
问题 Preface This issue seems to only affect Chrome/V8, and may not be reproducible in Firefox or other browsers . In summary, the execution time of a function callback increases by an order of magnitude or more if the function is called with a new callback anywhere else. Simplified Proof-of-Concept The same callback logic is stored in two different variables. Calling test(callback1) arbitrarily many times works as expected, but once you call test(callback2) , the execution time of the test

Play mp4 in chromium with puppeteer, windows

帅比萌擦擦* 提交于 2020-06-26 06:41:53
问题 I'm developing with puppeteer in node on windows 10. The problem is that when I open a site playing an mp4 file the browser says me that it is not supported. I found this package: chromium-codecs-ffmpeg-nonfree; but it is for linux! How can I play .mp4 in Chromium with puppeteer on windows? 回答1: The Puppeteer Documentation has an answer for this: Q: What features does Puppeteer not support? You may find that Puppeteer does not behave as expected when controlling pages that incorporate audio

How do you derive walltime from timestamp using Chrome's debugger protocol?

不打扰是莪最后的温柔 提交于 2020-06-16 04:26:25
问题 I've been building a Chrome extension using in part the Chrome debugger protocol. Certain events in the Network domain like requestWillBeSent include a "timestamp" as well as a "wallTime." The walltime is a regular seconds since 1970 format, but the timestamp is in seconds but its not clear where its 0 is, and many events have no wallTime so I'm really trying to figure out how to derive wallTime from timeStamp. Based on this I believed to be based on the navigationStart value but that did not

How to use Puppeteer to take Screenshots of Pages that Contain Video

喜欢而已 提交于 2020-06-11 11:17:31
问题 I'm currently using Puppeteer to open a site and take a screenshot of a video. However, the default Chromium browser that puppeteer runs doesn't work with video types. I launched with a local version of Chrome with Puppeteer and everything is working. Is there a way to open an actual chrome browser instance with puppeteer without having to specify a local link to the .exe to make it more scalable and less reliant on a directory when being hosted? Puppeteer 2.0.0 Note: I'm running a non

How to use Puppeteer to take Screenshots of Pages that Contain Video

做~自己de王妃 提交于 2020-06-11 11:17:31
问题 I'm currently using Puppeteer to open a site and take a screenshot of a video. However, the default Chromium browser that puppeteer runs doesn't work with video types. I launched with a local version of Chrome with Puppeteer and everything is working. Is there a way to open an actual chrome browser instance with puppeteer without having to specify a local link to the .exe to make it more scalable and less reliant on a directory when being hosted? Puppeteer 2.0.0 Note: I'm running a non