출처: https://zenn.dev/schroneko/articles/gemini-cli-tutorial
- 명령줄에서 대화형으로 사용할 수 있는 오픈소스 AI 에이전트
npx https://github.com/google-gemini/gemini-cli로 즉시 이용 시작@로 로컬 파일이나 디렉토리를 AI 컨텍스트에 추가!로 셸 명령을 직접 실행, 셸 모드로의 전환도 가능GEMINI.md파일로 프로젝트별 맞춤 지시를 AI가 기억하도록 설정
출처: 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 기준으로 게임 서버 개발에 필요한 핵심 개념과 패턴을 소개합니다. 각 섹션마다 예제 코드와 간단한 연습 문제를 포함하고 있습니다.
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) |
NewerOlder