본문 바로가기
반응형

전체 글155

iterm2 단축키 지정하기 1. 메뉴로 들어가기 cmd + , 를 통해 진입하거나 메뉴의 iTerm2 -> Settings...로 들어가거나 2. 하단의 Presets... 왼쪽 +를 통해 추가할 수 있다 3. 추가할 내용 1. 한 단어씩 왼쪽으로 커서 이동: option(⌥) + ← => Action: Send Escape Sequence => Esc + b 2. 한 단어씩 오른쪽으로 커서 이동: option(⌥) + → => Action: Send Escape Sequence => Esc + f 3. 커서의 왼쪽 단어 지우기: option(⌥) + backspace(⌫) => Action: Send Hex Code => 0x17 4. 커서의 오른쪽 단어 지우기: option(⌥) + delete => Action: Send E.. 2023. 7. 24.
[spring boot + jpa + mariadb] M1 Macbook에서 설치하면서 해야 했던 것들 Mac m1 openjdk 설치 (tistory.com) Mac m1 openjdk 설치 먼저 아래 사이트에 접속 합니다. https://www.azul.com Home Introducing Cloud Native Compiler Offload JIT compilation with the Cloud Native Compiler to enhance the performance of Java applications in any compute environment. www.azul.com 우측 goateedev.tistory.com Docker - 도커로 Mariadb 컨테이너 간편하게 설치하기 (tistory.com) Docker - 도커로 Mariadb 컨테이너 간편하게 설치하기 도커(Docker)를 이용.. 2023. 6. 4.
MacOS에서 ssh 사용을 위해 rsa key 생성하기 RSA란? 아래 블로그 참고 공개키 암호화! 원리와 사용방법을 알아보자! (tistory.com) 공개키 암호화! 원리와 사용방법을 알아보자! 암호화 종류의 마지막인 공개키 암호화입니다. 이전 포스팅에서는 단방향 암호화, 대칭키 암호화를 올려드렸었습니다. 마지막인 공개키 암호화는 국제 표준으로도 있을 만큼 굉장히 많이 사용 koonsland.tistory.com 아무튼 rsa 알고리즘을 통한 ssh는 여러 서비스에 사용되고 있다. MacOS에서 ssh key를 생성하는 방법은 아래와 같다. 1. 먼저 현재 키가 있는지 확인해본다. id_rsa(개인키), id_rsa.pub(공개키)이 없다면 키가 없는 것이다. % ll ~/.ssh total 24 drwx------ 5 aaa staff 160 Apr 8.. 2023. 5. 27.
pip install beautifulsoup 에서 오류가 발생하면 아래와 같이 오류가 발생한다면 python version이 높아 설치가 안되는 것일 듯. PS D:\Program\python> pip install beautifulsoup Collecting beautifulsoup Using cached BeautifulSoup-3.2.2.tar.gz (32 kB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [7 lines of output] Traceback (most recent call last): File "", line 2, in File.. 2022. 5. 12.
github의 pulls, issues 가져오기 from bs4 import BeautifulSoup import requests server = "https://github.com" url = server + "/~~~path~~~/pulls" request = requests.get(url) result = request.text # f = open("d:/program/python/result.txt", "r", encoding="utf-8") # result = f.read() # f.close() soup = BeautifulSoup(result, "html.parser") # pulls # issues for item in soup.select("div.flex-auto.min-width-0.p-2.pr-3.pr-md-2 a.Link--pr.. 2022. 5. 12.
Rust로 up down 게임 작성해 보기 rust를 배우고자 처음 작성해본 코드 생각보다 어렵지만 생각보다 쉬움? code block에 rust가 없네 ㅠㅠㅠㅠㅠㅠㅠ use std::io::{self, Write, BufRead}; use rand::Rng; fn selected_number() -> u32 { let mut num_string = String::new(); std::io::stdin() .lock() .read_line(&mut num_string) .expect("error"); let num: u32 = num_string.trim().parse().unwrap(); num } fn main() { let max_try_count: u32 = 10; println!("Up & down: up to 2 digits"); pr.. 2022. 5. 8.
반응형