厘米碎碎念
3.17K subscribers
5.83K photos
228 videos
20 files
7.4K links
Download Telegram
Forwarded from Reorx’s Forge
我使用 atuin 已经有一段时间了,这是一个命令行历史查询和同步工具,原本我用的是 fzf,但 atuin 的跨设备同步能力打动了我,于是我自部署了一个 atuin server, 并把它和 fzf 结合起来使用(我更喜欢 fzf 简洁的界面,但 autin 自己的 TUI 做的也不错)。

今天发现 atuin 团队做了一个新产品,Atuin Desktop,一个以文档的方式记录、运行命令的桌面工具,有点像 Jupyter Notebook, 只不过其中的 cell 是 bash shell。除了 shell, 它也可以接入 postgres, prometheus 等服务,向它们发送命令来执行。所以本质上它是一个专为 infra 管理设计的 Jupyter。

这个将文档与命令结合的点子非常妙,既使得碎片化的命令便于维护,又让文档活了过来,从单纯的信息变成了可运行的应用程序。作为干过运维的人,我察觉到这个工具很适合给 DevOps 团队用来管理和使用 SOP;对于个人开发者来说,也能用来记录经常执行的命令。

如果你没有用过 atuin,强烈建议在本地安装一个试试。也可以通过这个链接来加入Atuin Desktop 的 waitlist: wt.ls/atuin/GavXrgpc
chatgpt 终于把生成的图放在了一个地方。
👀1
GoogleChromeLabs/jsbi 时隔三年,居然更新了。
服务器优化就是成吨的省钱。
现在都是直接丢给 AI 一个截图让他给组件起名字,我选一个就行了。
Ah, I understand now. You want a specific name for this particular usage of the segmented control, specifically for selecting time intervals.
Here are a few good name suggestions:
TimeRangeSelector: This is clear and accurately describes its function of selecting a time range.
TimeSpanSelector: Similar to the above, emphasizes selecting a span of time.
DurationSelector: Focuses on the length of time being selected.
IntervalPicker: A more generic term, but still applicable.
I would recommend TimeRangeSelector as it's descriptive and commonly understood in UI development.
厘米碎碎念
现在都是直接丢给 AI 一个截图让他给组件起名字,我选一个就行了。 Ah, I understand now. You want a specific name for this particular usage of the segmented control, specifically for selecting time intervals. Here are a few good name suggestions: TimeRangeSelector: This is clear and accurately…
还是让 AI 给组件起名字吧,彻底放弃自我。
根据选项的内容("Trending"、"Top searches"、"Newest"),这个组件应该命名为 ExploreOptionsSegment 或 DiscoveryFilterControl,因为它似乎是用于探索或发现内容的不同方式。
AI 做海报还是放得开的。
chrome 新功能。
chrome://settings/adPrivacy
json 结构的提示词。效果很好。
https://json.visuals.zip/
👍1