์ถ์ฒ: https://zenn.dev/schroneko/articles/gemini-cli-tutorial
- ๋ช ๋ น์ค์์ ๋ํํ์ผ๋ก ์ฌ์ฉํ ์ ์๋ ์คํ์์ค AI ์์ด์ ํธ
npx https://github.com/google-gemini/gemini-cli
๋ก ์ฆ์ ์ด์ฉ ์์@
๋ก ๋ก์ปฌ ํ์ผ์ด๋ ๋๋ ํ ๋ฆฌ๋ฅผ AI ์ปจํ ์คํธ์ ์ถ๊ฐ!
๋ก ์ ธ ๋ช ๋ น์ ์ง์ ์คํ, ์ ธ ๋ชจ๋๋ก์ ์ ํ๋ ๊ฐ๋ฅGEMINI.md
ํ์ผ๋ก ํ๋ก์ ํธ๋ณ ๋ง์ถค ์ง์๋ฅผ AI๊ฐ ๊ธฐ์ตํ๋๋ก ์ค์
- AI ์ฝ๋ฉ ์์ด์ ํธ์ ๋ฃฐ ํ์ผ์ ๊ด๋ฆฌํ๋ ํด์ ๋ง๋ค์๋ค
- LLM์ ์ ์ฝ์ ํ์ฉํ๋ ๊ฐ๋ฐ ๊ธฐ์
- VSCode GitHub Copilot์์ ใSerena MCPใ๋ฅผ ์ฌ์ฉํ๋ ๋ฐฉ๋ฒ
- LLM์ด ์ดํดํ ์ ์๋ ์ฝ๋์ ์ง๋ โ Serena MCP๋ก AI๊ฐ ๋๋ํด์ง๋ ๊ตฌ์กฐ
- ๋ฐ๋ผ ํ ์ ์๋ค! ๊ฐ์ธ ๊ฐ๋ฐํ ๋ ์ฒ์์ ์ค๋นํ ๋ฌธ์ 24์ข ๊ณผ ๊ธฐ๋ฅ ์๊ตฌ์ฌํญ์๋ฅผ ์ ์ฒด ๊ณต๊ฐ
์ถ์ฒ: https://news.hada.io/topic?id=18189
Introducing Randflake ID: a distributed, uniform, unpredictable, unique random ID generator
Randflake ID๋ ๋ถ์ฐ ํ๊ฒฝ์์ ์ฌ์ฉํ ์ ์๋ 64๋นํธ ๊ณ ์ ์๋ณ์ ์์ฑ ์์คํ
์ด๋ค.
- ์์ธก ๋ถ๊ฐ๋ฅ์ฑ: ๋ธ๋ก ์ํธ๋ฅผ ์ฌ์ฉํ์ฌ ๋ค์/์ด์ ID ์์ธก์ด ๋ถ๊ฐ๋ฅ
- ๊ณ ์ ์ฑ ๋ณด์ฅ: ํ์์คํฌํ, ๋ ธ๋ ID, ์ํ์ค ๋ฒํธ๋ฅผ ์กฐํฉ
- ๋ถ์ฐ ํ๊ฒฝ ์ง์: ์ต๋ 131,072๊ฐ์ ๋ ธ๋ ์ง์
- ๋์ ์ฒ๋ฆฌ๋: ์ด๋น ์ต๋ 17,179,869,184๊ฐ์ ID ์์ฑ ๊ฐ๋ฅ
์ด ๋ฌธ์๋ PHP 8 ๊ธฐ์ค์ผ๋ก ๊ฒ์ ์๋ฒ ๊ฐ๋ฐ์ ํ์ํ ํต์ฌ ๊ฐ๋ ๊ณผ ํจํด์ ์๊ฐํฉ๋๋ค. ๊ฐ ์น์ ๋ง๋ค ์์ ์ฝ๋์ ๊ฐ๋จํ ์ฐ์ต ๋ฌธ์ ๋ฅผ ํฌํจํ๊ณ ์์ต๋๋ค.
๋ผ์ฆ๋ฒ ๋ฆฌํ์ด ํผ์ฝ ์๊ฐ https://blog.naver.com/roboholic84/222276170515
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
import os | |
def write_code_to_markdown_split(repo_path, output_dir, max_size_mb=10): | |
""" | |
์ ์ฅ์ ๋ด์ ์์ค ์ฝ๋๋ฅผ ์ฌ๊ท์ ์ผ๋ก ์ฝ๊ณ , | |
Markdown ํ์์ผ๋ก 10MB ๋ฏธ๋ง์ ํ์ผ๋ก ๋ถํ ํด์ ์ถ๋ ฅํ๋ ์คํฌ๋ฆฝํธ | |
""" | |
if not os.path.exists(output_dir): | |
os.makedirs(output_dir) |
- (์ผ์ด) OpenAI์ Prompt Engineering Guide๋ก ๋ณด๋ค ์ข์ ๊ฒฐ๊ณผ๋ฅผ ์ป๋ ํ๋กฌํํธ ์์ง๋์ด๋ง ๋ฐฐ์ฐ๊ธฐ
- ์ธ์ง์ ํ๋กฌํํ
- (์ผ์ด) Prompt Engineering Guide
- (์ผ์ด) ๊ฐ์ธ์ ์ผ๋ก ์ข์ํ๋ ํ๋กฌํํธ ๋ชจ์
- (์ผ์ด) ํ๋กฌํํธ ์์ง๋์ด๋ง ๊ธฐ๋ฒ ๋ชจ์
- (์ผ์ด) LLM ํ๋กฌํํธ ๊ธฐ์ ์ ๋ฆฌ
- OpenAI GPT-4.1 ํ๋กฌํํ ๊ฐ์ด๋
NewerOlder