본문 바로가기

기타19

.git pre-commit 훅에서 커밋 메시지 가져오기 #!/bin/bash commit_message_file=".git/COMMIT_EDITMSG" commit_message=$(cat "$commit_message_file") 이를 응용하면 커밋 메시지를 강제(?)로 꾸며줄 수도 있다. 2023. 7. 27.
tailwindcss purge option 이슈 더보기warn - The `purge`/`content` options have changed in Tailwind CSS v3.0.warn - Update your configuration file to eliminate this warning.warn - https://tailwindcss.com/docs/upgrade-guide#configure-content-sourcestailwindcss가 3.0으로 오면서 purge옵션이 content로 옮겨갔기 때문에 뜨는 경고.  기존 tailwind.config.js/** @type {import('tailwindcss').Config} */module.exports = { purge: ['./src/**/*.{js,jsx,ts,tsx}', './pu.. 2023. 7. 24.
[Github Actions - 1] 깃헙 액션 알아보기 1. 깃헙 액션이란?GitHub Actions is a continuous integration and continuous delivery (CI/CD) platform that allows you to automate your build, test, and deployment pipeline. You can create workflows that build and test every pull request to your repository, or deploy merged pull requests to production.공식 문서에서는 깃헙액션을 "빌드, 테스트, 배포 파이프라인을 자동화할수 있는 CI/CD 플랫폼" 이라고 소개하고 있다.개인적으로는 Github을 쓰고 있다면 깃헙 액션을 쓰지 않을 이.. 2022. 9. 18.
[Docker] 도커 이미지 디스크 초과 에러 아침부터 예상치 못한 에러를 만나 시간을 허비했다.할 일 많은데!failed to register layer: Error processing tar file(exit status 1): write /usr/local/opt/sam-cli/lib/python3.7/site-packages/samcli/local/docker/__pycache__/exceptions.cpython-37.pyc: no space left on device CDK로 빌드 중에 에러가 떠서 뭐지 이게 했는데 도커 이미지 디스크 용량이 초과해서 발생한 에러였다. 해결방법애초부터 그냥 무지막지한 용량을 할당해준다. 안쓰는 친구들을 지워준다.docker system prune​ 2022. 2. 17.