본문 바로가기

전체 글543

Github 액션 관련 요약 65 출처 유튜브 드림코딩 의 요약 내용 https://www.youtube.com/watch?v=iLqGzEkusIw&t=279s 깃허브 관련 개념 배경 과거 : Jenkins, Buildkite, circleci 등 외부 툴을 사용했어야 했다 2018년 이후 : GitHub Action을 많이 사용 핵심 개념 Event : push, merge, issue open 등 어떤 이벤트가 발생했는지 감지 Workflows : 이벤트 발생 시 어떤 일들을 수행할 것인가에 대한 수행 목록 Jobs : 워크플로우를 구성하는 일들의 유닛. 병렬적으로 수행. 순차적으로도 가능. 개별 steps들로 구성. Actions : 공유하여 재사용 가능한 actions.. 2023. 12. 9.
top50 linux commands list ls pwd cd mkdir mv cp rm touch in cat clear echo less man unman whoami tar grep head tail diff cmp comm sort export zip unzip ssh service ps kill and killall df mount chmod chown ifconfig traceroute wget ufw iptables apt, pacman, yum, rpm sudo cal alias dd whereis whatis top useradd passwd ls list files and directories in the current working directory. $ lspwd print current working director.. 2023. 12. 9.
OAuth 2.0 개념 https://inpa.tistory.com/491 OAuth란 무엇인가? OAuth는 인터넷 유저들이 직접 정보를 기입하지 않고 자신이 가입한 다른 사이트의 정보에 접근 권한을 부여하는 방식으로 인증을 하는 개방형 표준 방식이다. OAuth는 왜 하냐? Access Token을 발급받기 위함이다 OAuth 2.0과 1.0의 차이는? 1.0의 보안 문제를 개선한 것이 2.0 OAuth의 구성요소는? Resource Owner : 개인정보(resource) 소유자, 즉 로그인하는 유저 Client : 어플리케이션 서버. Resource server에 요청하는 client의 역할 Authorization Server : 권한을 부여해주는 서버 사용자는 ID, pW를 넘겨 authorization code를 .. 2023. 12. 9.
node.js 암호화 모듈 원리 및 사용법 암호화 모듈 종류 암호화 모듈 종류는 이렇게 있다. SHA-2(Secure Hash Algorithm 2) PBKDF2 Bcrypt Scrypt SHA-2 SHA-2은 Secure Hash Algorithm2의 약자 미국 NSA에서 설계한 암호화 해시 함수 digest size는 224, 256, 512 bit로 해시함수로 구성된다 연산속도가 빠른 GPU로 인해 password 암호화에는 부적절 PBKDF2 pbkdf2_hmac(해시함수(sha256..), password, salt, iteration, DLen) ISO 표준에 적합, NIST에서 승인한 알고리즘 해시함수의 컨테이너 역할 검증된 해시 함수만 사용 해시함수 유형, salt, 반복 회수를 지정할 수 있다 Bcrypt bcrypt.hashpw.. 2023. 12. 9.
recursion What is recursion Recursion is the fuction that calls itself. This is good tool to solve the big problem with divide and conquer approach. Rules Exit condition : stack overflow can occurs if there is no exit condition Divide-and-conquer approach Pibonacci Basic divide and conquer with $O(n^2)$ time complexity function getNthFibo(n) { if (n 2023. 12. 9.