mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-03-30 13:43:26 +08:00
Fix markdownlint errors from merge of affaan-m:main into main
Co-authored-by: pangerlkr <73515951+pangerlkr@users.noreply.github.com>
This commit is contained in:
@@ -581,7 +581,7 @@ LOGGING = {
|
||||
| 強力なシークレット | SECRET_KEYに環境変数を使用 |
|
||||
| パスワード検証 | すべてのパスワードバリデータを有効化 |
|
||||
| CSRF保護 | デフォルトで有効、無効にしない |
|
||||
| XSS防止 | Djangoは自動エスケープ、ユーザー入力で`|safe`を使用しない |
|
||||
| XSS防止 | Djangoは自動エスケープ、ユーザー入力で`|safe`を使用しない |
|
||||
| SQLインジェクション | ORMを使用、クエリで文字列を連結しない |
|
||||
| ファイルアップロード | ファイルタイプとサイズを検証 |
|
||||
| レート制限 | APIエンドポイントをスロットル |
|
||||
|
||||
@@ -71,14 +71,14 @@
|
||||
|
||||
## 归属
|
||||
|
||||
本《行为准则》改编自 \[Contributor Covenant]\[homepage],
|
||||
本《行为准则》改编自 [Contributor Covenant][homepage],
|
||||
版本 2.0,可在
|
||||
https://www.contributor-covenant.org/version/2/0/code\_of\_conduct.html 获取。
|
||||
<https://www.contributor-covenant.org/version/2/0/code_of_conduct.html> 获取。
|
||||
|
||||
社区影响指南的灵感来源于 [Mozilla 的行为准则执行阶梯](https://github.com/mozilla/diversity)。
|
||||
|
||||
[homepage]: https://www.contributor-covenant.org
|
||||
|
||||
有关本行为准则常见问题的解答,请参阅常见问题解答:
|
||||
https://www.contributor-covenant.org/faq。翻译版本可在
|
||||
https://www.contributor-covenant.org/translations 获取。
|
||||
<https://www.contributor-covenant.org/faq>。翻译版本可在
|
||||
<https://www.contributor-covenant.org/translations> 获取。
|
||||
|
||||
@@ -315,6 +315,6 @@ result = "".join(str(item) for item in items)
|
||||
| 海象运算符 (`:=`) | 3.8+ |
|
||||
| 仅限位置参数 | 3.8+ |
|
||||
| Match 语句 | 3.10+ |
|
||||
| 类型联合 (\`x | None\`) | 3.10+ |
|
||||
| 类型联合 (\`x \| None\`) | 3.10+ |
|
||||
|
||||
确保你的项目 `pyproject.toml` 或 `setup.py` 指定了正确的最低 Python 版本。
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
要在会话间共享记忆,最好的方法是使用一个技能或命令来总结和检查进度,然后保存到 `.claude` 文件夹中的一个 `.tmp` 文件中,并在会话结束前不断追加内容。第二天,它可以将其用作上下文,并从中断处继续。为每个会话创建一个新文件,这样你就不会将旧的上下文污染到新的工作中。
|
||||
|
||||

|
||||
*会话存储示例 -> https://github.com/affaan-m/everything-claude-code/tree/main/examples/sessions*
|
||||
*会话存储示例 -> <https://github.com/affaan-m/everything-claude-code/tree/main/examples/sessions>*
|
||||
|
||||
Claude 创建一个总结当前状态的文件。审阅它,如果需要则要求编辑,然后重新开始。对于新的对话,只需提供文件路径。当你达到上下文限制并需要继续复杂工作时,这尤其有用。这些文件应包含:
|
||||
|
||||
@@ -130,7 +130,7 @@ alias claude-research='claude --system-prompt "$(cat ~/.claude/contexts/research
|
||||
**定价参考:**
|
||||
|
||||

|
||||
*来源:https://platform.claude.com/docs/en/about-claude/pricing*
|
||||
*来源:<https://platform.claude.com/docs/en/about-claude/pricing>*
|
||||
|
||||
**工具特定优化:**
|
||||
|
||||
|
||||
@@ -211,7 +211,7 @@ git worktree add ../feature-branch feature-branch
|
||||
|
||||
流式传输和监视 Claude 运行的日志/bash 进程:
|
||||
|
||||
https://github.com/user-attachments/assets/shortform/07-tmux-video.mp4
|
||||
<https://github.com/user-attachments/assets/shortform/07-tmux-video.mp4>
|
||||
|
||||
```bash
|
||||
tmux new -s dev
|
||||
|
||||
@@ -129,7 +129,7 @@ CREATE INDEX orders_customer_id_idx ON orders (customer_id);
|
||||
| 索引類型 | 使用場景 | 運算子 |
|
||||
|----------|----------|--------|
|
||||
| **B-tree**(預設)| 等於、範圍 | `=`、`<`、`>`、`BETWEEN`、`IN` |
|
||||
| **GIN** | 陣列、JSONB、全文搜尋 | `@>`、`?`、`?&`、`?|`、`@@` |
|
||||
| **GIN** | 陣列、JSONB、全文搜尋 | `@>`、`?`、`?&`、`?|`、`@@` |
|
||||
| **BRIN** | 大型時序表 | 排序資料的範圍查詢 |
|
||||
| **Hash** | 僅等於 | `=`(比 B-tree 略快)|
|
||||
|
||||
|
||||
Reference in New Issue
Block a user