[글쓴이:] hart4u

  • 특정 확장자/디렉토리 git backup

    다음 명령어를 사용하면 하위 디렉토리의 모든 파일 확장자를 *.확장자 형식으로 변환하여 .gitignore-ext 파일로 내보낼 수 있습니다. 명령어 find . -type f | sed -n ‘s/.*\.\([a-zA-Z0-9]*\)$/*\.\1/p’ | sort | uniq > .gitignore-ext 작업 흐름 1. find . -type f: • 현재 디렉토리(.)와 하위 디렉토리에서 파일만 검색. 2. sed -n ‘s/.*\.\([a-zA-Z0-9]*\)$/*\.\1/p’: • 파일 경로에서 확장자를 추출하고 *.확장자…

  • node.js+express+redis+pm2 (windows/linux)

    Windows와 Linux에서 모두 사용할 수 있는 최종 버전을 구성하려면, 운영 체제에 따라 실행 경로와 명령어를 동적으로 설정할 수 있도록 스크립트를 작성해야 합니다. 아래는 Windows와 Linux 모두에서 동작하도록 확장된 구성입니다. 최종 디렉토리 구조 project-directory/ ├── node/                # Node.js 바이너리 │   ├── bin/            …

  • CentOS 6.10 yum repository

    [C6.10-extras]name=CentOS-6.10 – Extrasbaseurl=http://vault.epel.cloud/6.10/extras/$basearch/gpgcheck=1gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6enabled=1metadata_expire=never [C6.10-contrib]name=CentOS-6.10 – Contribbaseurl=http://vault.epel.cloud/6.10/contrib/$basearch/gpgcheck=1gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6enabled=0metadata_expire=never [C6.10-centosplus]name=CentOS-6.10 – CentOSPlusbaseurl=http://vault.epel.cloud/6.10/centosplus/$basearch/gpgcheck=1gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6enabled=0metadata_expire=neverEOF

  • Hello world!

    Welcome to WordPress. This is your first post. Edit or delete it, then start writing!