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
| { | |
| "servers": { | |
| "drawio": { | |
| "command": "npx", | |
| "args": ["@drawio/mcp"] | |
| } | |
| } | |
| } |
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
| $npm i -g cline | |
| $cline | |
| @@ | |
| @@@@@@ | |
| @@@@@@@@@@@@@@@@ | |
| @@@@@@@@@@@@@@@@@@@@ | |
| @@@@@@@@@@@@@@@@@@@@@@ | |
| @@@@@ @@@@ @@@@@ | |
| @@@@@@ *@@@ @@@@@@ |
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
| $npx skills add testdino-hq/playwright-skill | |
| ███████╗██╗ ██╗██╗██╗ ██╗ ███████╗ | |
| ██╔════╝██║ ██╔╝██║██║ ██║ ██╔════╝ | |
| ███████╗█████╔╝ ██║██║ ██║ ███████╗ | |
| ╚════██║██╔═██╗ ██║██║ ██║ ╚════██║ | |
| ███████║██║ ██╗██║███████╗███████╗███████║ | |
| ╚══════╝╚═╝ ╚═╝╚═╝╚══════╝╚══════╝╚══════╝ |
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
| $uvx schemathesis run https://petstore.swagger.io/v2/swagger.json --checks all | |
| Installed 41 packages in 55ms | |
| Schemathesis v4.12.2 | |
| ━━━━━━━━━━━━━━━━━━━━ | |
| ✅ Loaded specification from https://petstore.swagger.io/v2/swagger.json (in | |
| 2.73s) | |
| Base URL: https://petstore.swagger.io/v2 | |
| Specification: Open API 2.0 |
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
| // Java 25 | |
| $java -version | |
| openjdk version "25" 2025-09-16 | |
| OpenJDK Runtime Environment (build 25+35-3488) | |
| OpenJDK 64-Bit Server VM (build 25+35-3488, mixed mode, sharing) | |
| $java Hello.java | |
| Hello | |
| Goodbye |
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
| package main | |
| import ( | |
| "fmt" | |
| ) | |
| type HeavyService struct{} | |
| func (s *HeavyService) MethodA() { fmt.Println("A") } | |
| func (s *HeavyService) MethodB() { fmt.Println("B") } // This will be stripped if unused |
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
| $bash -c "$(curl -fsSL https://qwen-code-assets.oss-cn-hangzhou.aliyuncs.com/installation/install-qwen.sh)" -s --source qwenchat | |
| ========================================== | |
| Qwen Code Installation Script | |
| ========================================== | |
| ℹ️ System: Darwin 25.2.0 | |
| ℹ️ Shell: zsh |
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
| from google import genai | |
| from google.genai import types | |
| MODEL_ID = "gemini-embedding-2-preview" | |
| client = genai.Client() # Assumes that the environment variable GOOGLE_API_KEY is set | |
| # This example shows how to embed both text and an image using the Gemini embedding model. | |
| with open("gemini-embedding-2.jpg", "rb") as f: | |
| image_bytes = f.read() |
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
| # 1. ติดตั้ง Ollama | |
| $curl -fsSL https://ollama.com/install.sh | sh | |
| # 2. Check version ต้องเป็น v 0.17 ขึ้นไปเท่านั้น | |
| $ollama -v | |
| ollama version is 0.17.7 | |
| # 3. ทำการติดตั้ง OpenClaw ผ่าน Ollama model | |
| # โดยใช้งาน kimi model บน cloud | |
| # https://ollama.com/library/kimi-k2.5 |
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
| # ในการใช้งาน ไม่ควรใช้ root user นะครับ | |
| # ดังนั้นให้ทำการสร้าง non-root user เข้ามาก่อนติดตั้ง เพื่อความปลอดภัย | |
| $sudo adduser openclaw | |
| $sudo usermod -aG sudo openclaw | |
| $su openclaw | |
| # NodeJS 22+ | |
| $npm install -g openclaw@latest |