SentinelDeck

(★ 19)

Passive attack-surface scanner: turn a domain into a risk grade, copy-paste fixes, and a client-ready report. Safe DNS, HTTP, TLS, email, and certificate-transparency checks.

파일 탐색기

  • .gitignore
  • .pre-commit-config.yaml
  • CHANGELOG.md
  • CODE_OF_CONDUCT.md
  • CONTRIBUTING.md
  • LICENSE
  • pyproject.toml
  • README.md
  • RELEASING.md
  • SECURITY.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:

🔍

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:

🔍

pip

설명 보기 ▼

Python 패키지 관리자.
`install`와 같은 일부 하위 명령어는 별도의 사용 문서가 존재.
더 많은 정보: <https://pip.pypa.io/en/stable/cli/pip/>.

pip install {{package}}

패키지 설치 (더 많은 설치 예시는 `pip install`를 참고):

pip install --user {{package}}

시스템 전체 기본 위치 대신 사용자 디렉터리에 패키지 설치:

pip install {{[-U|--upgrade]}} {{package}}

패키지 업그레이드:

🔍

pipx

설명 보기 ▼

Python 애플리케이션을 격리된 환경에서 설치하고 실행.
더 많은 정보: <https://manned.org/pipx>.

pipx run {{pycowsay}} {{moo}}

임시 가상 환경에서 앱 실행:

pipx install {{package}}

가상 환경에 패키지 설치 및 진입점을 경로에 추가:

pipx uninstall {{package}}

설치된 패키지 나열:

🔍

pytest

설명 보기 ▼

Python 테스트 실행.
더 많은 정보: <https://docs.pytest.org/en/latest/how-to/usage.html>.

pytest {{path/to/test_file1.py path/to/test_file2.py ...}}

특정 파일에서 테스트 실행:

pytest -k {{expression}}

특정 [k]eyword 표현식과 일치하는 테스트 실행:

pytest {{[-x|--exitfirst]}}

테스트가 실패하거나 오류가 발생하면 즉시 종료:

🔍

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 시작:

🔍

python3

설명 보기 ▼

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

tldr python

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

🔍

ruff check

설명 보기 ▼

An extremely fast Python linter. `check` is the default command - it can be omitted everywhere.
If no files or directories are specified, the current working directory is used by default.

ruff check {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}

Run the linter on the given files or directories:

ruff check --fix

Apply the suggested fixes, modifying the files in-place:

ruff check --watch

Run the linter and re-lint on change:

🔍

watch

설명 보기 ▼

명령어를 반복 실행하고 출력 결과를 전체 화면 모드로 모니터링합니다.
더 많은 정보: <https://manned.org/watch>.

watch {{command}}

현재 디렉토리의 파일 모니터링:

watch {{[-n|--interval]}} 60 {{command}}

디스크 공간을 모니터링하고 변경 사항 강조 표시:

watch {{[-d|--differences]}} df

"node" 프로세스를 3초마다 새로고침하며 모니터링:

🔍

where

설명 보기 ▼

명령의 모든 알려진 인스턴스를 보고.
이는 `$PATH` 환경 변수에 있는 실행 파일, 별칭 또는 셸 내장 명령일 수 있습니다.
더 많은 정보: <https://zsh.sourceforge.io/Doc/Release/Shell-Builtin-Commands.html>.

where {{command}}

명령의 모든 인스턴스 찾기:

tldr where-object

파일 패턴의 위치 표시:

where {{file_pattern}}

파일 크기와 날짜를 포함하여 파일 패턴의 위치 표시:

// repository documentation