AgentStop

(★ 17)

AgentStop: Terminating Local AI Agents Early to Save Energy in Consumer Devices

파일 탐색기

  • .gitignore
  • install.sh
  • LICENSE
  • pyproject.toml
  • README.md
  • SECURITY.md

# CDN으로 사용하기

jsDelivr

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

명령어 용어집

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

🔍

brew install

설명 보기 ▼

Install a Homebrew formula or cask.

brew install {{formula|cask}}

Install a formula/cask:

brew install {{[-s|--build-from-source]}} {{formula}}

Build and install a formula from source (dependencies will still be installed from bottles):

brew install {{[-n|--dry-run]}} {{formula|cask}}

Download the manifest, print what would be installed but don't actually install anything:

🔍

brew tap

설명 보기 ▼

Tap a Homebrew formula repository. If no arguments are provided, list all installed Homebrew taps.

brew tap

List installed Homebrew taps:

brew tap {{github_username}}/{{github_repository_name}}

Tap a Git repository hosted on GitHub:

brew tap {{username}}/{{repository_name}} {{git_clone_url}}

Tap a Git repository hosted outside of GitHub:

🔍

brew

설명 보기 ▼

macOS와 Linux를 위한 패키지 관리자.
더 많은 정보: <https://docs.brew.sh/Manpage>.

brew install {{formula|cask}}

공식(formula) 혹은 캐스크(cask)의 최신 안정 버전을 설치:

brew list

설치된 모든 공식(formulae)과 캐스크(casks) 나열:

brew upgrade {{formula|cask}}

설치된 특정 공식(formula) 혹은 캐스크(cask) 업그레이드 (옵션이 주어지지 않으면 모든 공식과 캐스크 업그레이드):

🔍

cmake

설명 보기 ▼

네이티브 빌드 시스템을 위한 빌드 설정 파일을 생성하는, 크로스 플랫폼 빌드 자동화 도구.
더 많은 정보: <https://cmake.org/cmake/help/latest/manual/cmake.1.html>.

cmake {{path/to/project_directory}}

프로젝트 디렉터리의 `CMakeLists.txt`를 사용해 현재 디렉터리에 빌드 설정을 생성:

cmake --build {{path/to/build_directory}}

지정한 디렉터리의 빌드 설정을 사용해 빌드 산출물을 생성:

cmake --install {{path/to/build_directory}} --strip

빌드 산출물을 `/usr/local/`에 설치하고 디버그 심볼을 제거:

🔍

colima

설명 보기 ▼

최소한의 설정으로 macOS 및 Linux용 컨테이너 런타임을 제공.
더 많은 정보: <https://github.com/abiosoft/colima>.

colima start

백그라운드에서 데몬을 시작:

colima start --edit

구성 파일을 생성하고 사용:

colima start --runtime containerd

containerd 시작 및 설정 (`nerdctl`을 통해 containerd를 사용하려면 `nerdctl` 설치):

🔍

conda activate

설명 보기 ▼

Activate a conda environment.
See also: `conda deactivate`.

conda activate myenv

Activate an existing environment named `myenv`:

conda activate {{path/to/myenv}}

Activate an existing environment located at custom path:

conda activate --stack myenv

Stack `myenv` environment on top of a previous environment making libraries/commands/variables from both accessible:

🔍

conda create

설명 보기 ▼

Create new conda environments.

conda create {{[-y|--yes]}} {{[-n|--name]}} py39 python=3.9 "numpy>=1.11" scipy

Create a new environment named `py39`, install Python 3.9, NumPy v1.11 or above in it, and the latest stable version of SciPy. Say yes to all confirmations:

conda create {{[-n|--name]}} myenv --file {{file1.yml}} --file {{file2.yml}}

Create a new environment named `myenv` and install packages listed in files:

conda create {{[-p|--prefix]}} {{path/to/myenv}}

Create a new environment at a custom path (i.e. prefix):

🔍

docker context

설명 보기 ▼

Switch between contexts to manage multiple Docker environments.

docker context create {{context_name}} --docker "host={{tcp://remote-host:2375}}"

Create a context using a specific Docker endpoint:

docker context create {{context_name}}

Create a context based on the `$DOCKER_HOST` environment variable:

docker context use {{context_name}}

Switch to a context:

🔍

gem

설명 보기 ▼

Ruby 프로그래밍 언어용 패키지 관리자.
더 많은 정보: <https://guides.rubygems.org/command-reference/>.

gem search {{regex}} {{[-a|--all]}}

원격 gem을 검색하고 사용 가능한 모든 버전을 표시:

gem install {{gem_name}}

최신 버전의 gem을 설치:

gem install {{gem_name}} {{[-v|--version]}} {{1.0.0}}

특정 버전의 gem을 설치:

🔍

git checkout

설명 보기 ▼

Checkout a branch or paths to the working tree.

git checkout -b {{branch_name}}

Create and switch to a new branch:

git checkout -b {{branch_name}} {{reference}}

Create and switch to a new branch based on a specific reference (branch, remote/branch, tag are examples of valid references):

git checkout {{branch_name}}

Switch to an existing local branch:

🔍

git fetch

설명 보기 ▼

Download objects and refs from a remote repository.

git fetch

Fetch the latest changes from the default remote upstream repository (if set):

git fetch {{remote_name}}

Fetch new branches from a specific remote upstream repository:

git fetch --all

Fetch the latest changes from all remote upstream repositories:

🔍

glances

설명 보기 ▼

크로스 플랫폼 시스템 모니터링 도구.
관련 항목: `htop`, `atop`, `top`, `btm`, `btop`.
더 많은 정보: <https://nicolargo.github.io/glances/>.

glances

터미널에서 실행:

glances {{[-w|--webserver]}}

웹 서버 모드에서 실행하여 브라우저에 결과를 표시:

glances {{[-s|--server]}}

other Glances 클라이언트의 연결을 허용하려면 서버 모드에서 실행:

🔍

ollama

설명 보기 ▼

대규모 언어 모델 실행기.
사용 가능한 모델 목록은 <https://ollama.com/library>를 참조하세요.
더 많은 정보: <https://docs.ollama.com/cli>.

ollama serve

다른 명령을 실행하는 데 필요한 데몬 시작:

ollama run {{model}}

모델을 실행하고 대화:

ollama run {{model}} --think=false "{{prompt}}"

단일 프롬프트로 모델을 실행하며, thinking 기능을 비활성화:

🔍

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:

🔍

python

설명 보기 ▼

Python 언어 인터프리터.
더 많은 정보: <https://docs.python.org/using/cmdline.html>.

python

REPL(대화형 셸) 시작:

python {{path/to/file.py}}

특정 Python 파일 실행:

python -i {{path/to/file.py}}

특정 Python 파일 실행 후 REPL 시작:

🔍

unzip

설명 보기 ▼

Zip 아카이브에서 파일/디렉토리를 추출.
관련 항목: `zip`.
더 많은 정보: <https://manned.org/unzip>.

unzip {{path/to/archive1.zip path/to/archive2.zip ...}}

특정 아카이브에서 모든 파일/디렉토리를 현재 디렉토리에 추출:

unzip {{path/to/archive1.zip path/to/archive2.zip ...}} -d {{path/to/output}}

아카이브에서 파일/디렉토리를 특정 경로로 추출:

unzip -c {{path/to/archive1.zip path/to/archive2.zip ...}}

아카이브에서 파일/디렉토리를 추출하고 추출된 파일 이름과 함께 `stdout`으로 출력:

// repository documentation