就是终端里的 cal 命令了。之所以喜欢用这个首先是因为快:我平时固定是开着终端的(作为 vscodium 的底部面板),码字过程中直接打个 cal(pun intended)就能看当月日历,比打开日历应用或者 menubar item 都要快。其次因为是终端输出,就是纯文本,可以直接复制到笔记里参考或者进一步标注。当然缺点就是比较简陋,不过我本来就喜欢这种野兽派纯文本风格,所以反而是加分项了。
以下是一些常用选项和参数:
# 显示 2025 全年
cal 2025 # shorthand for `cal -y 2025`
# 显示今年 3 月
cal -m 3
# 显示本月和紧邻的前后月份
cal -3
# 旋转行和列(每周为一列)并显示周数
ncal -w # shorthand for `cal -N -w`更多用法可以看手册页 man cal。如其中的 history 一节
Marcin Wichary:
But there’s a trick [to invert black and white while preserving colors]: do a regular invert and then rotate the hue halfway through. Through the magic of math, this is the same as inverting just L in the HSL space, which means the colors are preserved.
…and, more importantly, [this is] available in CSS as a filter: instead of invert(1), use hue-rotate(180deg) invert(1).
by zhangxinxu from https://www.zhangxinxu.com/wordpress/?p=12203
本文可全文转载,但需要保留原作者、出处以及文中链接,AI抓取保留原文地址,任何网站均可摘要聚合,商用请联系授权。
一、focus()的两种控制
平时让一个输入框聚焦,我们可以这么设置:
input.focus();
默认情况下,控件元素通过focus()方法获取焦点,浏览器会通过滚动的方式让元素重定位到页面可视区域内。
但有时候,这种行为会影响体验,毕竟页面会突然跳一下。
如果不希望这种滚动行为触发,可以这么设置。
input.focus({
preventScroll: true
})
此特性已支持多年,我也多次在生产环境使用。
那么本文要介绍的focusVisible又是什么呢?
二、focusVisible参数的作用
focusVisible可以控制
这里记录每周值得分享的科技内容,周五发布。
本杂志开源,欢迎投稿。另有《谁在招人》服务,发布程序员招聘信息。合作请邮件联系(yifeng.ruan@gmail.com)。
封面图
去年开放的浙江省安吉县的安吉文化艺术中心。当地盛产竹子,屋顶都采用竹叶造型。(daemin_kg@ig)
Token 费用难以负担
上周,OpenClaw(龙虾)的创始人彼得·斯坦伯格(Peter Steinberger)贴出了自己的 Token 使用量。
他不是故意炫耀,自己用了多少 Token,而是为了介绍工具软件 CodexBar。这个菜单栏小工具可以统计你的 Token 使用量,计算出对应的费用。
大家猜猜看,他用了多少 Token?
根据截图,他一个月发出了760万个请求,消耗的 Token 数量为6030亿。根据预设的费率,这些 Token 价值130万美元!
The HTTP Archive Web Almanac has been tracking color contrast failures for years. The numbers have barely moved. After half a decade of design system tooling, accessibility linters, and entire JavaScript libraries dedicated to computing readable text colors, 70% of websites still fail basic WCAG contrast checks in 2025. The WebAIM Million paints an even grimmer picture — 83.9% of homepages flagged
Some text effects are relatively hard to pull in CSS, the main reason being we are unable to target individual characters (something many of us want in the form of ::nth-letter(), although we have basis for it with ::first-letter that gives us access to a box element’s first glyph.
But maybe there are a few things we can use today with what we already have.
For example, the CSS letter-sp
调研日期: 2026-05-23
调研范围: 9 个项目
调研工具: GitHub API + Brave Search + Exa Web Fetch
1. 赛道概述
AI Agent Orchestrator 是一类新兴基础设施,核心使命是:把多个 AI coding agent(Claude Code、Codex、Gemini CLI 等)编排成一支”虚拟团队”,实现任务分配、进度跟踪、成本控制、技能复用等管理能力。
为什么火:
– 2025 下半年 Claude Code / Codex CLI 爆发,开发者开始同时开 10-20 个 agent 终端
– 手动管理不可持续 → 需要”agent 项目经理”
– “Zero-human company” 叙事驱动资本和社区关注
– Stars 增速极快:头部项目 3 个月内从 0 到 50k+
赛道分层:
– L1 编排层:管