CodeTracer

(★ 88)

No description available.

파일 탐색기

파일 수가 많아 일부만 표시됩니다. 전체 파일은 위 다운로드 버튼으로 확인해 주세요.

  • .gitattributes
  • .gitignore
  • .pre-commit-config.yaml
  • LICENSE.md
  • README.md
  • SETUP.md

# CDN으로 사용하기

jsDelivr

jsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.

파일 목록이 많아 일부만 표시됩니다.

명령어 용어집

이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.

🔍

git clone

설명 보기 ▼

Clone an existing repository.

git clone {{remote_repository_location}} {{path/to/directory}}

Clone an existing repository into a new directory (the default directory is the repository name):

git clone --recursive {{remote_repository_location}}

Clone an existing repository and its submodules:

git clone {{[-n|--no-checkout]}} {{remote_repository_location}}

Clone only the `.git` directory of an existing repository:

🔍

huggingface-cli

설명 보기 ▼

이 명령은 `hf`의 별칭입니다.

tldr hf

자세한 내용은 원본 명령을 참고하세요:

🔍

llm

설명 보기 ▼

원격 API 및 로컬에서 설치 및 실행할 수 있는 모델을 통해 대형 언어 모델(LLM)과 상호 작용.
더 많은 정보: <https://llm.datasette.io/en/stable/help.html>.

llm keys set openai

OpenAI API 키 설정:

llm "{{Ten fun names for a pet pelican}}"

프롬프트 실행:

cat {{path/to/file.py}} | llm {{[-s|--system]}} "{{Explain this code}}"

파일에 대해 [s]시스템 프롬프트 실행:

🔍

pip install

설명 보기 ▼

Install Python packages.

pip install {{package1 package2 ...}}

Install one or more packages:

pip install {{package1 package2 ...}} {{[-U|--upgrade]}}

Upgrade all specified packages to the latest version, installing any that are not already present:

pip install {{package}}=={{version}}

Install a specific version of a package:

🔍

timeout

설명 보기 ▼

명령을 일정 시간 제한 내에서 실행.
더 많은 정보: <https://www.gnu.org/software/coreutils/manual/html_node/timeout-invocation.html>.

timeout 3s sleep 10

`sleep 10`을 실행하고 3초 후 종료:

timeout {{[-s|--signal]}} {{INT|HUP|KILL|...}} {{5s}} {{sleep 10}}

시간 제한이 만료되면 명령에 [s]ignal을 전송 (`TERM`이 기본, 모든 신호 목록은 `kill -l`):

timeout {{[-v|--verbose]}} {{0.5s|1m|1h|1d|...}} {{command}}

시간 초과 시 전송된 신호를 `stderr`에 [v]erbose 출력으로 표시:

// repository documentation