This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .cursorrules | |
# Development Steps for CLI Application in Go | |
## 1. Overall Design | |
- Define the purpose and scope of the CLI application. | |
- Identify the target audience and their needs. | |
- Outline the main features and functionalities. | |
- Create a high-level architecture diagram. | |
- **Improve Specifications/Features:** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// --- Configuration --- | |
// --- ここから設定 --- | |
// 1. Your Google Cloud Project API Key for Vertex AI (Gemini API) | |
// Google Cloudプロジェクトで生成したVertex AI API(Gemini API)のAPIキー | |
const API_KEY = ''; // <-- ここにAPIキーを貼り付けてください (Paste your API key here) | |
// 2. Your Google Cloud Project ID | |
// Google CloudプロジェクトID | |
const PROJECT_ID = ''; // <-- ここにプロジェクトIDを貼り付けてください (Paste your project ID here) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
注意:まだベータにもなっていない段階のコードベースで、設定も精査せず、ベンチマーククライアントも同一マシンに置いて、とりあえず測定をしてみた、というだけのものなので、その程度のものであり、結果であるというところは、ご承知おき下さい。 | |
●前提情報 | |
■実施日 | |
2025/4/5 | |
■測定環境(自作デスクトップ) | |
AMD Ryzen 7 5700X 8-Core Processor 4.50 GHz | |
Memory 64GB | |
WD_Black SN770 NVMe WDS100T3X0E 1TB M.2 PCI-Express Gen4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>ブロック崩しゲーム</title> | |
<style> | |
body { | |
margin: 0; | |
overflow: hidden; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def basic_filter_message(username, message_text): | |
if not message_text or len(message_text) < 8: return False | |
patterns = [r"^(はい|ええ|うん|OK|了解|承知しました|わかりました|なるほど)$", r"^(ありがとうございます|ありがとう|どうも)$", | |
r"^(お疲れ様です|おつかれさまです)$", r"^(お願いします|よろしくお願いいたします|よろしくです)$", | |
r"^(笑|w+|草)$", r"^\s*(スタンプ)\s*$", r"^そうですね$|^ですねー$|^たしかに$"] | |
for p in patterns: | |
if re.fullmatch(p, message_text, re.IGNORECASE): return False | |
return True | |
# --- プロンプト作成関数 --- |
OlderNewer