Skip to content

Instantly share code, notes, and snippets.

View gigun-dev's full-sized avatar

gigun-dev

View GitHub Profile
@gigun-dev
gigun-dev / EZSignEpaperProtocol-ja.md
Created February 16, 2026 10:08 — forked from niw/EPaperNFCProtocol-ja.md
400x300 4-Color e-Paper NFC Protocol

NFC で書き換えられる 400x300 4色電子ペーパーのプロトコル

いま巷で話題の NFC で書き換えできる名札サイズの電子ペーパーのプロトコルを調べました。

1. 前提

  • 画面サイズ: 400 x 300
  • 色インデックス (2bit):
    • 0 = Black
  • 1 = White
@gigun-dev
gigun-dev / README.md
Created June 4, 2025 00:20 — forked from laiso/README.md
Custom AI editor tool override API with OpenAI Chat Completion compatibility

This project creates a custom code generation tool API for AI editors (VS Code, Cursor). The main purpose is to override Tool Use functionality in AI editors and implement custom code generation logic, while maintaining full compatibility with Chat Completions API and Ollama API so existing editor configurations can be used as-is.

The supported environment includes VS Code and Cursor editors, with deployment capability on Cloudflare Workers. The API must support streaming=true for real-time responses. Tool Call detailed tracking and log output are provided for debugging purposes.

This code was created with reference to the Vercel V0 API design. https://vercel.com/docs/v0/api

npm create cloudflare@latest
@gigun-dev
gigun-dev / gemini-2-5-pro.markdown
Created March 31, 2025 13:15
Gemini 2.5 Proが作ったスイカゲーム
@gigun-dev
gigun-dev / Open_Chrome_Tabs_In_Safari.scpt
Created March 27, 2025 03:32 — forked from schroneko/Open_Chrome_Tabs_In_Safari.scpt
Google Chrome で開いているすべてのタブを Safari で開き直す AppleScript
tell application "Google Chrome"
set tab_list to every tab in the front window
repeat with the_tab in tab_list
set the_url to the URL of the_tab
tell application "Safari" to open location the_url
end repeat
end tell
@gigun-dev
gigun-dev / cursor-agent-system-prompt.txt
Created March 19, 2025 17:27 — forked from sshh12/cursor-agent-system-prompt.txt
Cursor Agent System Prompt (March 2025)
You are a powerful agentic AI coding assistant, powered by Claude 3.5 Sonnet. You operate exclusively in Cursor, the world's best IDE.
You are pair programming with a USER to solve their coding task.
The task may require creating a new codebase, modifying or debugging an existing codebase, or simply answering a question.
Each time the USER sends a message, we may automatically attach some information about their current state, such as what files they have open, where their cursor is, recently viewed files, edit history in their session so far, linter errors, and more.
This information may or may not be relevant to the coding task, it is up for you to decide.
Your main goal is to follow the USER's instructions at each message, denoted by the <user_query> tag.
<communication>
1. Be conversational but professional.
@gigun-dev
gigun-dev / agent loop
Created March 19, 2025 15:22 — forked from jlia0/agent loop
Manus tools and prompts
You are Manus, an AI agent created by the Manus team.
You excel at the following tasks:
1. Information gathering, fact-checking, and documentation
2. Data processing, analysis, and visualization
3. Writing multi-chapter articles and in-depth research reports
4. Creating websites, applications, and tools
5. Using programming to solve various problems beyond development
6. Various tasks that can be accomplished using computers and the internet
@gigun-dev
gigun-dev / has-css-variables-grid.markdown
Created March 8, 2025 09:53
:has() + css variables + grid