ETC
-
Homebrew & node,npm,yarn 설치ETC/MacOS,Rancher 2022. 9. 20. 11:27
Homebrew 설치 $ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" Homebrew Path 설정 /Users/{사용자}/.zprofile 파일에 아래와 같이 설정 echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' eval "$(/opt/homebrew/bin/brew shellenv)" 터미널 재시작 후 아래와 같이 확인 $ brew help node, npm, yarn 설치 # homebrew 최신 버전 업데이트 명령어 $ brew update # node, npm homebrew 이용 설치 $ brew install node $ bre..
-
REST API 정리ETC/programing 2022. 9. 2. 15:20
개발할때 마다 매번 다르게 생각해서 구성하는데 지금생각을 문서로 정리해놓고 api을 제공할때 최상의 방법을 생각해보자. POST : 리소스를 생성(Create) GET : 리소스의 정보를 조회(Read) PUT : 리소스를 수정(Update) DELETE : 리소스를 삭제(Delete) POST : 인증 (Authentication & Authorization) - OAuth2.0 및 JWT 인증 (조금 틀리지만 아래로 퉁치자) - REQUEST curl -X POST \ 'https://test.api.com/api/v1/oauth/token' \ -H 'Authorization: Basic {base64_encode({client_id}:{client_secret})}' \ -H 'Content-Ty..
-
티스토리 글 목록 thumbnail 이미지 꽉차게 보여주기ETC/일상다반사 2021. 3. 19. 10:51
티스토리 글목록 이미지쪽 스킨 변경 방법 이쁘지 않아! 이쁘지 않아! 간단하게 꽉차게 나오게 하려고 합니다. 1. 스킨변경 화면으로 이동 스킨편집 화면으로 이동 HTML 편집 클릭 CSS 편집 탭 클릭 2. 원인 찾기 이미지 마우스 오른쪽 버튼 -> 검사 영향주는놈 발견 background-size: cover; -> background-size: contain; 변경해 본다. 잘되네.! 3. 스킨 편집 최종적으로 실제 스킨 변경해서 새로고침 적용해보고 잘나오면 적용 버튼 누르고 끝 일단 요렇게 했을때 특별한 다른 문제는 안보이니깐 이대로 쓰자. 문제생기면 그때 다시 봐꾸지머..!