TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: What are some devtool hacks you use on a daily basis?

6 点作者 Exorust超过 2 年前
What are some of the cool devtools or devtool hacks you use on a daily basis?

4 条评论

throwaway0asd超过 2 年前
Simplified browser test automation without use of CDP that uses tests composed of a data structure that simply walks the DOM. Quick and easy event execution.<p>A small script that converts a few key files so that the rest of the Node application builds as commonJS instead of ECMA modules.<p>Custom DOM methods to get elements by text or get elements by attribute or attribute value or content type.<p>An https certificate generator and domains that point to loopback IPs.<p>Automated command line documentation for all the options and various switches of the many various commands in my big terminal application.<p>A terminal clock tool shows how long each step and groups of steps take to execute in test automation and build tasks in nanoseconds.<p>Embedding state data directly into the HTML so that it’s there when the page is first accessed by JavaScript without a call for additional state artifacts.
jhoelzel超过 2 年前
I handle all my clients in a dev container with visual studio code.<p>This way im perfectly able to jump from client to client without having them share any base at all.<p>It also possible to simply use ssh to another machine, but having the dev container gives me the possibility to separate everything from each other and having a versioned dockerfile helps to quickly jump between different kubernetes versions or any other dependency that i have.<p>Another one is distroless deployments. I know it sounds moot, but havinga tool you need setup in a container that you can just freshly build from sources and run it, is a really nice touch. Especially since they are usually less than 100 mb
Blakhack超过 2 年前
<a href="https:&#x2F;&#x2F;www.facebook.com&#x2F;tira.gapay" rel="nofollow">https:&#x2F;&#x2F;www.facebook.com&#x2F;tira.gapay</a>
nicbou超过 2 年前
$0 to reference to the currently selected element. For example, $0.innerHTML.