본문 바로가기
728x90
uint32_t 자료형이란? C와 CPP에 등록되어 있는 자료형은 아니고, 에 typedef 되어 자료형처럼 사용! 앞에 u가 붙어있으면 unsigned라는 뜻 uint32_t = unsigned int 32비트 자료형 밑에 코드는 stdint.h에 정의된 자료형 typedef signed char int8_t; typedef short int16_t; typedef int int32_t; typedef long long int64_t; typedef unsigned char uint8_t; typedef unsigned short uint16_t; typedef unsigned int uint32_t; typedef unsigned long long uint64_t; typedef signed char int_least8_t; t.. 2022. 1. 14.
Git 협업 할 때 branch 생성 후 pull request까지의 과정 1. 원격 저장소에서 내용을 로컬 저장소로 가져온다 로컬 저장소가 없을 시 : git clone ~ 로컬 저장소가 이미 있을 시 : git pull origin master 2. 로컬 저장소에서 작업할 브랜치를 생성 후 해당 브랜치로 이동한다 git branch 브랜치이름 git checkout 브랜치이름 위에 명령어를 한 번에 치고 싶으면 : git checkout -b 브랜치이름 3. 브랜치 안에서 원하는 작업을 수행한다 4. 브랜치에서 수행한 작업을 git에 올린다 (작업 중인 브랜치 안에서 명령어 실행) git add . git commit -m ~ 원격 저장소에 해당 브랜치가 이미 존재할 때 : git push 원격 저장소에 해당 브랜치가 없을 때 : git push origin 브랜치이름 원격.. 2022. 1. 14.
Sourcetree 토큰 에러 에러가 길지만 정리하면 git 토큰을 설정 안 해서 생긴 에러이다! 더보기 Pushing to https://github.com/komskoms/OhJiHwan_CAN_OBD.git remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead. remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information. fatal: Authentication failed for 'https://github.c.. 2022. 1. 13.
Git Remote Origin Head Master 차이 Remote 내 로컬 PC 저장소가 아닌 네트워크 상의 다른 위치에 존재하는 Git 저장소 ex) GitHub, GitLab Origin 원격 저장소(remote)의 주소 ✍️ 현재 로컬 파일에 원격 저장소 추가 명령어 git remote add git remote add origin Head 내가 있는 브랜치의 위치 master branch에서 작업을 하면 head = master head -> master : 이 커밋이 로컬 저장소의 최종 커밋 origin/master : 원격 저장소의 최종 커밋 Master 가장 중심이 되는 branch repository 생성할 때 기본적으로 생기는 branch 2022. 1. 13.
Git GUI Client Sourcetree 사용법 git 형상관리를 효율적으로 하기 위해 GitGUI tool를 사용해보기로 함! 더보기 형상 관리란? 소프트웨어의 변경사항을 체계적으로 추적하고 통제하는 것 어떤 문서나 파일이 변경되었을 경우 변경된 내역을 기록하여 나중에 변경 원인과 변경 사항을 확인 가능하게 하는 것 jira와 confluence를 만든 Atlassian 회사의 Sourcetree를 사용하기로 결정했다 git의 형상 변화를 직관적으로 볼 수 있나를 중점으로 tool를 결정했다 Sourcetree 장단점 장점 국내 사용자가 많아 오류나 사용법에 대한 레퍼런스가 많음 git flow 기능 내장 UI가 직관적 메뉴 한글화가 잘 되어 있음 여러 개의 repository를 관리하기 용이 단점 아직 사용 전이라 모르겠다 (사용해보고 단점이 발.. 2022. 1. 13.
프로젝트 관리 에자일 프로세스 도입 주 5일제로 진행 온라인 : 오전 9시 ~ 오후 6시 오프라인 : 오전 10시 ~ 오후 6시 (장소 : 서초 오랑) 점심시간 : 오후 12시 ~ 1시 스프린트 주에 한 번, 스프린트 회고, 스프린트 계획을 진행 ✔️ 스프린트 회고 KPT 기법을 활용하여 진행, 이전 스프린트 평가, 코드 리뷰 더보기 KPT 기법이란? keep : 스프린트를 진행하면서 좋았던 부분, 계속 유지되었으면 좋을 부분 problem : 스프린트를 진행하면서 문제였던 부분 try : problem에서 나온 문제점을 해결할 방안 ✔️ 스프린트 계획 스프린트 회고를 베이스로 다음 스프린트에서 진행할 task를 정하기 스크럼 매일매일 일을 시작하기 전에 진행 어제 진행한 내용과 오늘 할 task를 브리팅 5분에서 1.. 2022. 1. 13.
leetcode 701) Insert into a Binary Search Tree LV. Medium 🧐 https://leetcode.com/problems/insert-into-a-binary-search-tree/ Insert into a Binary Search Tree - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 문제 You are given the root node of a binary search tree (BST) and a value to insert into the tree. Return the root node of .. 2022. 1. 12.
leetcode 1022) Sum of Root To Leaf Binary Numbers LV. Easy 😎 https://leetcode.com/problems/sum-of-root-to-leaf-binary-numbers/ Sum of Root To Leaf Binary Numbers - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 문제 You are given the root of a binary tree where each node has a value 0 or 1. Each root-to-leaf path represents a binar.. 2022. 1. 11.
leetcode 67) Add Binary LV. Easy 😎 https://leetcode.com/problems/add-binary/ Add Binary - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 문제 Given two binary strings a and b, return their sum as a binary string. Example 1: Input: a = "11", b = "1" Output: "100" Example 2: Input: a = "1010", b = "1011" Out.. 2022. 1. 10.
vscode에서 아두이노 빌드 오류 ⚠️ Error! 더보기 /Users/eeun/.platformio/packages/framework-arduino-avr/cores/arduino/USBCore.cpp:73:29: error: 'USB_VID' was not declared in this scope Build는 컴파일만 해보는 것(Upload가 아두이노에 설치까지)이기에 포트 설정을 딱히 해주지 않았는데.. 이런 오류를 접했다.. 해결법! "platformio.ini" 파일에 upload_port = COM5 코드를 추가해준다 아두이노 연결을 안해서 연결된 포트가 없지만, 일단은 임의로 COM5로 설정해줬다 [env:32u416m] ; atmelavr = avr microcontroller development platform plat.. 2022. 1. 10.
728x90