본문 바로가기
  • 경제적 자유를 얻는 그날까지
728x90
반응형

엔지니어링/프로그래밍12

728x90
반응형
GIT 명령어를 사용하여 remote에 프로젝트 업로드 1. 프로젝트 폴더를 git local로 생성 $ git init 결과 hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' .. 2023. 12. 30.
Github.io 블로그 만들기(3) - Jekyll에 테마 적용하기 앞글을 못보신 분은 차근차근~ 1) Github.io 블로그 생성하기 https://swiftcam.tistory.com/647 Github.io 블로그 만들기(1) - 생성하기 1. Github에서 새로운 Repository 생성하기 repository name에 반드시 username.github.io로 새로운 repository를 만들어주어야 한다. Create repository 하면 아래와 같이 메인 페이지가 보이는 repository가 생성된다. 2. L swiftcam.tistory.com 2) Github.io 블로그의 Jekyll Local 서버 설정하기 https://swiftcam.tistory.com/648 Github.io 블로그 만들기(2) - Local 서버 설정 블로그 생성하.. 2023. 1. 26.
Github.io 블로그 만들기(2) - Local 서버 설정 블로그 생성하기 내용은 아래 게시글 참고 https://swiftcam.tistory.com/647 Github.io 블로그 만들기(1) - 생성하기 1. Github에서 새로운 Repository 생성하기 repository name에 반드시 username.github.io로 새로운 repository를 만들어주어야 한다. Create repository 하면 아래와 같이 메인 페이지가 보이는 repository가 생성된다. 2. L swiftcam.tistory.com 생성된 블로그를 꾸미는 방법 시작~! 1. jekyll 및 기타 프로그램 설치 설치하기전 기존의 github.io에 있던 README.md과 index.html 파일은 모두 삭제한다. 터미널을 열고 아래 명령어로 jekyll을 설치한.. 2023. 1. 26.
Github.io 블로그 만들기(1) - 생성하기 1. Github에서 새로운 Repository 생성하기 repository name에 반드시 username.github.io로 새로운 repository를 만들어주어야 한다. Create repository 하면 아래와 같이 메인 페이지가 보이는 repository가 생성된다. 2. Local로 내려받기 녹색으로 된 Code 버튼을 클릭하면 나의 주소를 복사할 수 있다. https://github.com/shlee853/shlee853.github.io.git 내려받을 폴더를 지정하고, 터미널을 열어서 아래 명령어로 remote에서 local로 자료를 내려받는다. $ git clone https://github.com/shlee853/shlee853.github.io.git swift@swift-HP.. 2023. 1. 26.
Docker의 개념, 설치 및 사용방법 1. Docker 의 개념 Image 환경을 구성하기 위한 Instruction이 들어가 있는 저장소 Container Image의 Instruction을 이용하여 만들어진 환경 하나의 Image를 이용하여 여러 종류의 Container를 만들어낼 수 있음 2. Docker 설치하기 기존의 Docker 가 설치되어 있는지 확인후 설치를 진행 swift@swift-HP-Pavilion-dv6-Notebook-PC:~/workspace/project/ros/catkin_ws/src$ sudo apt-get remove docker docker-engine docker.io containerd runc [sudo] password for swift: Reading package lists... Done Bui.. 2021. 8. 21.
[프로그래밍 일반] GIT 사용법 및 팁 버전 관리가 필요한 이유? 지난 과정을 확인 가능 수정한 현재코드에 문제가 생길 경우 이전 버전으로 돌아갈 수 있음 Git 사용의 필요성 버전관리 협업 다른 컴퓨터에 작업물을 보내기(github) Git의 구성요소 1. Repository 저장소, commit이 저장되는 공간 .git 디렉토리 프로젝트의 초창기 부터 버전별 스냅샷 및 설명이 있음 2. commit 프로젝트 디렉토리의 현재의 모습의 하나의 버전으로 만드는 행위와 결과물 Git을 이용한 프로젝트 관리 1) git init 현재 디렉토리를 git repository로 생성하고, git 설정을 초기화함 .git이 생성됨 2) git config commit 하기전 사용자의 이름과 메일을 git에게 알려주어야 함 3) git add commit .. 2021. 8. 18.
Ubuntu 20.04에서 VSCode를 이용하여 ROS 개발환경 구축하기 1. ROS 플러그인 설치하기 Ctrl+Shift + X를 눌러 ros 를 검색하여 플러그인을 설치한다. 그리고 XML툴도 함께 설치한다. vscode에서 Ctrl+,를 누르면 Setting을 할 수 있는 항목들의 검색창이 나타난다. ROS를 검색하여 자신에게 맞는 distro를 적어준다. Ubuntu 20.04이면 noetic이므로 noetic 을 적어주면 된다. 그리고 ~/.bashrc에 아래와 같이 setup.bash를 추가한다. source devel/setup.bash mavros 관련 패키지들을 설치한다. swift@swift-HP-Pavilion-dv6-Notebook-PC:~$ sudo apt-get install ros-noetic-mav* [sudo] password for swift:.. 2021. 8. 17.
Ubuntu 20.04에서 VSCode를 이용하여 OpenCV 프로젝트 개발 $ sudo apt-get install python2.7-dev python3-dev python-numpy python3-numpy 1. 필수 라이브러리 설치 이미지처리와 비전 라이브러리에 관한 패키지설치 $ sudo apt-get install libjpeg-dev libpng-dev libtiff-dev 카메라 스트림으로 비디오 파일을 처리할 수있는 패키지 $ sudo apt-get install libavcodec-dev libavformat-dev libswscale-dev libv4l-dev v4l-utils libxvidcore-dev libx264-dev libxine2-dev 비디오 스트리밍 관련 패키지 $ sudo apt-get install libgstreamer1.0-dev lib.. 2021. 8. 16.
Ubuntu 20.04에서 CMake Toolkit을 이용하여 프로젝트 빌드와 디버깅하기 tasks.json 파일을 사용하면 복수의 파일을 컴파일하거나 디버깅하기가 어렵다. 이 부분은 CMake Toolkit을 이용하여 해결할 수가 있는데 CMake Toolkit를 이용하여 프로젝트를 Configuration, Build, Debugging 하는 것을 살펴본다. CMake Tools 플러그인 설치와 프로젝트 예제 파일들은 아래 작성된 포스팅을 참고한다. https://swiftcam.tistory.com/389 Ubuntu 20.04에서 VSCode를 이용하여 CMake 컴파일하기 1. CMake 컴파일러 및 VSCode용 플러그인 설치 복수의 소스코드를 컴파일하기 위해서는 cmake 가 필요하므로 Ubuntu에서 아래와 같이 설치한다. swift@swift-HP-Pavilion-dv6-No.. 2021. 8. 16.
Ubuntu 20.04에서 VSCode를 이용하여 CMake 컴파일하기 1. CMake 컴파일러 및 VSCode용 플러그인 설치 복수의 소스코드를 컴파일하기 위해서는 cmake 가 필요하므로 Ubuntu에서 아래와 같이 설치한다. swift@swift-HP-Pavilion-dv6-Notebook-PC:~/Desktop$ sudo apt install cmake [sudo] password for swift: Reading package lists... Done Building dependency tree Reading state information... Done The following package was automatically installed and is no longer required: libllvm11 Use 'sudo apt autoremove' to rem.. 2021. 8. 16.