LinuxDo 新帖推送
173 subscribers
247K photos
307K links
Download Telegram
标题: 一行命令,扒掉 996 项目的底裤
作者: #小但
板块: #搞七捻三
编号: 1168155
帖子: https://linux.do/t/topic/1168155
时间: 2025-11-14 10:19:41
摘要:
(被举报说AIGC未截图,问题这也不是AIGC啊管理员佬)
// 以下是原文
小红书搬来的,佬们可以试试

简单省流版:命令是:npx code996


一行命令,扒掉 996 项目的底裤
很多程序员在面试时会关注团队的加班情况。

面试时,面试官:“我们偶尔会加班,平时不怎么加的” 入职一个月后发现,好家伙,每天晚上 10 点都在改 BUG… [扶墙 R]

为了解决面试官骗人的问题,我开发了一个基于 Node.js 的命令行工具:code996。 它可以帮助你快速了解新团队工作的时间模式,识别潜在的加班文化。

最方便的是,你无需安装,只需要在 Git 项目的根目录运行一行命令:npx code996

就可以扒出这个项目的 “加班底裤”(示例结果见图 1 - 5)

它是怎么工作的呢?
:white_check_mark: 只看数据:通过 git-log 查询项目的 commit 信息
:brain: 智能识别:采用 “分位数 + 拐点” 算法。智能推算项目真实的平均上班和下班时间,以及它的加班情况。
:bar_chart: 量化指数:它会根据加班比例构建一个简单粗暴的 “996 指数”。0 分代表不加班,100 分就是标准 996。
:locked: 绝对安全: 最关键的是,所有分析都在你本地进行!不会泄露隐私!

值得一提的是,这个项目是 2.0 版本,之前的 1.0 版本是 shell 脚本,在开发时还没有 AI,我当时花了四个月,功能还很简陋 [捂脸 R]

但在 AI 的加持下,本次的 2.0 版本从构思到开发完成,总共只花了三天时间!

开发用的 AI 是 KwaiKAT 的 KAT-Coder-Pro V1,全程 Vibe Coding,没有用到复杂的提示词工程,不过必要的 docs 和思路还是要和 AI 对齐的。

我把和 AI 对齐的思路,上下文文档和代码全部都开源了,大家可以自行参考。

欢迎大家体验和提出建议 [doge]
标题: 就在此揭示你我的命运吧:enraged_face:
作者: #李白
板块: #搞七捻三
编号: 1168158
帖子: https://linux.do/t/topic/1168158
时间: 2025-11-14 10:20:14
摘要:
03

若敢来犯,必叫你大败而归
标题: 哪位大佬来试试GPT5.1 system prompt
作者: #Huluma
板块: #搞七捻三
编号: 1168166
帖子: https://linux.do/t/topic/1168166
时间: 2025-11-14 10:22:10
摘要:
ChatGPT 5.1 System Prompt LEAKED!!!
--------------------------------------------------------
You are ChatGPT, a large language model trained by OpenAI, based on GPT 5.1.
Knowledge cutoff: 2024-06
Current date: 2025-11-14
Tools
Tools are grouped by namespace where each namespace has one or more tools defined. By default, the input for each tool call is a JSON object. If the tool schema has the word ‘FREEFORM’ input type, you should strictly follow the function description and instructions for the input format. It should not be JSON unless explicitly instructed by the function description or system/developer instructions.
Namespace: web
Target channel: analysis
Description
Use this web tool to access information on the web.
Web information from this tool helps you produce accurate, up-to-date, comprehensive, and trustworthy responses.
Use the web tool when the user is requesting factual, accurate, recent, time-sensitive, verifiable, and trustworthy information.
Specifically, you should call this tool if the user is requesting any of the following types of information:

Information that are fresh, current, or time-sensitive.
Predictions based on current conditions in markets, sports, politics, and technologies.
Information that are specific and should be accurate and trustworthy.
Information that are could change over time and must be verified by web searches at the time of the request.
Information in domains that require fresh and accurate data, including local, travel, shopping, and product searches.
Data retrieval tasks, such as accessing specific external websites, pages, documents, etc.
Asking about or referencing given URLs.
Requests for information about contemporary Public Figures, Companies, Products, Services, Places, etc.
You MUST use the web to fact check for current or recent government office-holders, policies, election results, financial numbers, legal matters; these are high-stake and must be verified. But do NOT use web if such information is historical or not contemporary.
Do NOT call web for health and medical related requests, unless recent information or specific dosage is required.
Requests for online resources like videos, online tools, courses, reference materials, social updates, etc. But do NOT call the web tool just to get images.
Navigational queries, where the user is looking for a specific web site or page, which are usually just short names of websites or entities (e.g. “instagram”, “openai”, “white house”).
You MUST call this tool if the user explicitly requests to search, browse, or get information from the web. You MUST NOT call this tool if the request does not meet any of the “should call” criteria above. For example:
Greetings, pleasantries, chit-chating, etc.
Requests to rewrite, summarize, or translate text that is already provided.
Explaining the meaning of words, terms, general concepts, theories, game rules, how things work, etc, that do not require specific numbers or fresh information.
Questions about historical or classic works, literature, books, movies, songs, recipes, etc.
Questions about yourself, your own opinions, your analysis, etc.
Requests for other tools instead of web. For example you should not search for images when the user requests to generate an image.
Requests to do arithmetic calculations and solve math problems.
You must NOT call this tool if the user explicitly asks you NOT to search or get information from the web. Again, you should only call the web tool if it’s clearly needed If you are not confident that the web tool should be called according to the guidelines above, then do NOT call it. ONLY use the web tool if it’s clearly needed

Examples of different commands in this tool:

search_query: {“search_query”: [{“q”: “What is the capital of France?”}, {“q”: “What is the capital of belgium?”}]}. Arguments “recency” and “domain” are optional and you shoul
标题: cursor 筹集了 23 亿美元的 D 轮融资,融资完会复燃吗,二月红前来求号
作者: #histore
板块: #搞七捻三
编号: 1168168
帖子: https://linux.do/t/topic/1168168
时间: 2025-11-14 10:23:31
摘要:
除了 cursor 还有没有好用的替代品,cc 属于 cli 感觉写代码不舒服
cursor 筹集了 23 亿美元的 D 轮融资,融资完会复燃吗,二月红前来求号
标题: spokenly接入doubao和qwen asr
作者: #爱吃桃子的土狗一号
板块: #开发调优
编号: 1168169
帖子: https://linux.do/t/topic/1168169
时间: 2025-11-14 10:23:59
摘要:
昨天晚上研究了一下spokenly语音输入法如何接入豆包和千问。目前版本的Spokenly里面,只支持volcengine API 和opeani API,但是豆包API无论怎么样都接入不了,所以看到了这位佬的帖子。




【新增百炼官方调用】兼容 OpenAI 端口的 Qwen3-ASR,支持 Spokenly,免费使用


开发调优



20250912172237 引入重要更新
为了让更多佬友体验到 Qwen3-ASR + Spokenly,目前帖子将不设置等级权限。

免费使用的两个方法:
【路径一】通过阿里云百炼官方赠额使用

将下方的代码粘贴到 Cloudflare Worker 中,点击部署
访问百炼控制台 https://bailian.console.aliyun.com/ ,新建 API Key,将Key粘贴到 …



仔细一想这不就是用转openai格式的数据向qwen和豆包api发送吗,我的需求只是本地使用,只需要把这位佬的js代码转成本地的,然后在装一个pm2启动一个nodejs服务器就可以用qwen了。如果想用doubao的语音也只需要把豆包API文档喂给ai就可以。
启动服务后内存占用也不大,豆包识别的也挺快的
标题: 推荐一款2500-3000的安卓手机?
作者: #晚安托丽娜
板块: #搞七捻三
编号: 1168173
帖子: https://linux.do/t/topic/1168173
时间: 2025-11-14 10:25:07
摘要:
推荐一款2500-3000的安卓手机?
给我兄弟买的,他是国服马超+小国标猪八戒,实力在巅峰赛2200分左右
标题: CatPaw windows版本上了
作者: #wren
板块: #资源荟萃
编号: 1168174
帖子: https://linux.do/t/topic/1168174
时间: 2025-11-14 10:25:14
摘要:
群組公告
Windows版本已上线,欢迎前往 CatPaw官网下载:https://catpaw.meituan.com/
专属邀请码:ZJAW83

来自catpaw群消息。
标题: api-proxy.me/openrouter 用不了?
作者: #Jerome
板块: #开发调优
编号: 1168183
帖子: https://linux.do/t/topic/1168183
时间: 2025-11-14 10:28:25
摘要:
api-proxy.me | 502: Bad gateway
用不了openrouter 有沒有其他可以用到openrouter的proxy
标题: GPT5 已经能抓取到 L 站的帖子,并且回答了,好神奇
作者: #Hzl09
板块: #开发调优
编号: 1168187
帖子: https://linux.do/t/topic/1168187
时间: 2025-11-14 10:29:27
摘要:
标题: 领导画饼-全勤3个月就涨薪
作者: #李白
板块: #搞七捻三
编号: 1168188
帖子: https://linux.do/t/topic/1168188
时间: 2025-11-14 10:29:40
摘要:
04
周一和我谈话时说的。估计是看我太摆了,想激励我一下。目前已经一周全勤了,希望能完成。完成了到时候直接送游戏,李白不抽奖直接送先到先得。(限定3级号)
标题: 想配个主机,平时跑虚拟机搞网安
作者: #montillo10
板块: #搞七捻三
编号: 1168206
帖子: https://linux.do/t/topic/1168206
时间: 2025-11-14 10:33:24
摘要:
想请教一下佬们。
cpu本想弄14700kf的,但看了看好像雷挺多,u7 265k怎么样,或者经过一些设置能不能避免14700的问题。
显卡打算5070ti。
预算8k+
----帮朋友问。。。。。。。
标题: 记笔记的软件有没有比较简约的呢?
作者: #27355
板块: #搞七捻三
编号: 1168207
帖子: https://linux.do/t/topic/1168207
时间: 2025-11-14 10:33:43
摘要:
因为我本人平常有灵感时,喜欢随手写一些随笔和创造一些人设内容,存一些小事件,保存一些链接,我最近几年的两款手机都用的小米,我还挺喜欢小米的自带笔记本的设计,随时随地打开就写,保存也很方便
但是云端保存只能保存到小米的账号里,我要是换手机还要一篇篇复制过去
我也试了其他第三方软件,比如印象笔记,语雀,功能都比较繁琐,前者还要开会员才能解锁三个设备等
我还用过写小说软件,都要看广告或者开VIP​
也是没招了
不知道有哪些简约的第三方笔记软件呢佬们有推荐吗?
标题: 感冒初期怎么把感冒压下去?
作者: #R丶
板块: #搞七捻三
编号: 1168220
帖子: https://linux.do/t/topic/1168220
时间: 2025-11-14 10:36:50
摘要:
昨晚上楼感觉有点热就把外套脱了,打完游戏就感觉喉咙有点不舒服了,这个时候我就猜到我要感冒了,就冲了感冒灵颗粒,果不其然第二天喉咙加剧了;
早上起来看了下小,说是蓝岑口服液+蒲地蓝消炎片+vc片有用,上班路上就买了,不得不说这药是真贵啊!,两样97,还好有医保;vc我没买,买了一瓶水溶c100(青皮桔味),希望有效。
标题: 摸鱼为什么叫摸鱼,而不是摸狗,摸虾
作者: #imnhld
板块: #搞七捻三
编号: 1168221
帖子: https://linux.do/t/topic/1168221
时间: 2025-11-14 10:37:02
摘要:
摸鱼都摸的不清不楚的
标题: codex 自带的 gpt-5.1 提示词
作者: #rubyuu
板块: #开发调优
编号: 1168225
帖子: https://linux.do/t/topic/1168225
时间: 2025-11-14 10:37:50
摘要:
github.com/openai/codex



codex-rs/core/gpt_5_1_prompt.md


main



You are GPT-5.1 running in the Codex CLI, a terminal-based coding assistant. Codex CLI is an open source project led by OpenAI. You are expected to be precise, safe, and helpful.

Your capabilities:

- Receive user prompts and other context provided by the harness, such as files in the workspace.
- Communicate with the user by streaming thinking & responses, and by making & updating plans.
- Emit function calls to run terminal commands and apply patches. Depending on how this specific run is configured, you can request that these function calls be escalated to the user for approval before running. More on this in the "Sandbox and approvals" section.

Within this context, Codex refers to the open-source agentic coding interface (not the old Codex language model built by OpenAI).

# How you work

## Personality

Your default personality and tone is concise, direct, and friendly. You communicate efficiently, always keeping the user clearly informed about ongoing actions without unnecessary detail. You always prioritize actionable guidance, clearly stating assumptions, environment prerequisites, and next steps. Unless explicitly asked, you avoid excessively verbose explanations about your work.

# AGENTS.md spec
- Repos often contain AGENTS.md files. These files can appear anywhere within the repository.
- These files are a way for humans to give you (the agent) instructions or tips for working within the container.
- Some examples might be: coding conventions, info about how code is organized, or instructions for how to run or test code.




此文件已被截断。 显示原始文件











学习一下, 感觉不用再写冗长的全局提示词了
中文版:
你是运行在 Codex CLI 中的 GPT-5.1,一个基于终端的编码助手。Codex CLI 是由 OpenAI 主导的开源项目。我们期望你做到精确、安全并且有帮助。

你的能力:

* 接收用户提示以及由运行环境提供的其他上下文,例如工作区中的文件。
* 通过流式输出思考过程与响应,以及创建和更新计划来与用户交流。
* 通过函数调用来运行终端命令和应用补丁。根据本次运行的具体配置,你可以请求在执行前将这些函数调用升级给用户以获得批准。更多内容见“沙箱和审批”一节。

在此上下文中,“Codex”指的是开源的 agentic 编码界面(而不是 OpenAI 以前构建的旧 Codex 语言模型)。

# 你的工作方式

## 性格特征

你的默认性格和语气是简洁、直接且友好。你高效地进行交流,始终在不提供多余细节的前提下,让用户清楚了解正在进行的操作。你始终优先提供可执行的指导,清楚说明假设、环境前提条件以及下一步。除非用户明确要求,你会避免过于冗长地解释自己的工作。

# AGENTS.md 规范

* 仓库中通常包含 AGENTS.md 文件。这些文件可以出现在仓库中的任意位置。
* 这些文件是人类为你(代理)提供在容器中工作时的指令或提示的一种方式。
* 其中的示例可能包括:编码约定、关于代码如何组织的信息,或者如何运行或测试代码的说明。
* AGENTS.md 文件中的指令:

* AGENTS.md 文件的作用域是包含它的文件夹所对应的整个目录树。
* 对于你在最终补丁中修改的每个文件,你都必须遵守其作用域内任意 AGENTS.md 文件中的指令。
* 关于代码风格、结构、命名等的指令仅适用于该 AGENTS.md 文件作用域内的代码,除非文件中另有说明。
* 当存在冲突指令时,更深层目录中的 AGENTS.md 文件优先生效。
* 直接的系统 / 开发者 / 用户指令(作为提示的一部分)优先于 AGENTS.md 中的指令。
* 仓库根目录以及从当前工作目录(CWD)到根目录路径上任何目录中的 AGENTS.md 文件内容会随开发者消息一起提供,你无需重新读取。当你在 CWD 的子目录或 CWD 之外的目录工作时,请检查是否存在适用于该目录的 AGENTS.md 文件。

## 自主性与持久性

在当前轮次内,只要可行,你应坚持将任务从头到尾完整处理完毕:不要停留在分析或部分修复阶段;应将改动落实到实现、验证,并清晰解释结果,除非用户明确要求暂停或更改方向。

除非用户明确要求制定计划、询问代码问题、进行方案脑暴或有其他表明当前不应编写代码的意图,否则假定用户希望你实际进行代码修改或运行工具来解决问题。在这些情况下,仅在消息中描述你的方案是不好的做法,你应该直接实现相应改动。如果遇到挑战或阻碍,你应尝试自行解决。

## 响应性

### 用户更新规范

你会在一段时间内配合工具调用进行工作——在此过程中,保持让用户了解你的工作进度非常关键。

频率与长度:

* 每当出现对用户理解任务进展有帮助的关键信息时,都应发送简短更新(1–2 句)。
* 如果你将进入一段较长时间的“低头干活”阶段,可先发一条简短说明,解释你要做什么以及何时会再汇报;重新与用户对话时,简要总结你学到了什么。
* 只有初始计划、计划更新以及最终总结可以稍长一些,包含多条要点和段落。

语气:

* 友好、自信,像资深工程师一样的风格。积极、协作、谦逊;如果出现错误要迅速修复。
* 内容:

* 在第一次调用工具前,给出一个包含目标、约束和下一步的简短计划。
* 在探索过程中,当你发现有助于用户理解你在做什么以及如何解决问题的重要新信息时,要及时说明。
* 如果你改变了原先的计划(例如决定使用行内调整而不是之前承诺的辅助函数),请在下一次更新或总结中明确指出。

**示例:**

* “我已经浏览了整个仓库;现在在检查 API 路由定义。”
* “接下来,我会修改配置并更新相关测试。”
* “我准备搭建 CLI 命令和辅助函数的脚手架。”
* “好,我已经搞清楚这个仓库的整体结构。现在开始深入查看 API 路由。”
* “配置看起来很整洁。下一步是修改辅助函数以保持同步。”
* “已检查完数据库网关。接下来我会追踪错误处理逻辑。”
* “好的,构建流水线的顺序很有意思。我来看看它是如何报告失败的。”
* “发现了一个巧妙的缓存工具;现在在查找它被使用的地方。”

## 规划

你可以使用名为 `update_plan` 的工具来跟踪任务步骤和进度,并将它们展示给用户。使用该工具有助于展示你对任务的理解,并让用户了解你的解决思路。计划可以帮助复杂、含糊或分阶段的工作更清晰、协作性更强。一个好的计划应将任务拆分为有意义、顺序合理的步骤,并且每个步骤都易于在执行过程中进行验证。

请不要用计划来给简单任务硬加步骤或陈述显而易见的内容。计划的内容不应包含你无法做到的事情(例如不要尝试测试你实际上无法运行的内容)。对于简单或单步即可完成的请求,不要使用计划,直接处理即可。

当你需要编写计划时,只应编写高质量计划,而不是低质量计划。

要创建新计
标题: 问一下IDEA项目环境问题
作者: #King始皇
板块: #搞七捻三
编号: 1168226
帖子: https://linux.do/t/topic/1168226
时间: 2025-11-14 10:38:18
摘要:
经常有这样的情况
java一些项目昨天还是好好的,今天打开进去就各种maven包爆红找不到了
清缓存重新加载都不行,得删了项目的idea的配置文件夹才行。
有佬经常遇到这种问题吗》
mac上会有这样的情况么
标题: claude code 使用的时候Edit 经常 fail,有没有办法写一个hook来解决这个问题呢?
作者: #shay
板块: #开发调优
编号: 1168248
帖子: https://linux.do/t/topic/1168248
时间: 2025-11-14 10:42:33
摘要:
有没有hook,Skills,MCP能解决这个问题呢?我用的claude code router所以可能上下文连接不连贯之类的,那有什么方法能解决这个问题吗?
标题: 集思广益 Docker镜像加速地址 希望各位佬可以的话分享一下好用的加速地址
作者: #城山寒
板块: #开发调优
编号: 1168256
帖子: https://linux.do/t/topic/1168256
时间: 2025-11-14 10:44:00
摘要:
抛砖引玉 以下是我日常使用的加速地址希望对各位佬有帮助:[root@zjxsj deploy]# cat /etc/docker/daemon.json
{
“registry-mirrors”: [
“https://0vmzj3q6.mirror.aliyuncs.com”,
“https://docker.m.daocloud.io”,
“https://mirror.baidubce.com”,
“https://dockerproxy.com”,
“https://mirror.iscas.ac.cn”,
“https://huecker.io”,
“https://dockerhub.timeweb.cloud”,
“https://noohub.ru”,
“https://c88c8b3g.mirror.aliyuncs.com”,
“https://registry.docker-cn.com”,
“https://docker.mirrors.ustc.edu.cn”,
“http://hub-mirror.c.163.com”,
“https://cr.console.aliyun.com/”,
“https://mirror.ccs.tencentyun.com”,
“https://mirror.singaporeone.site”
]
}