글

[python] surface_plot

매개 변수가 이차원이어야 하기 때문에  meshgrid를 쓴다.  x y 짝지어줌 여기 설명 좋음 https://m.blog.naver.com/choi_s_h/221659462973 예제 여기서 보기 https://wikidocs.net/14647

[python] np array에서 앞뒤에 새로운 원소 추가

 concatenate를 사용하는 방법이 있다. np.concatenate([[front],a,[back]]) https://stackoverflow.com/questions/32828922/insert-elements-to-beginning-and-end-of-numpy-array

파이썬은 함수에서 리턴값이 여러개일 수 있다.

 예시
파이썬 리스트1=리스트2 복사가 아닌 참조! c언어도 그랬던거 같은데

마크다운 문서를 작성하는데 도움이 되는 사이트

  수형도 랑 간단한 그래프 그리는 mermaid generator Mermaid live editor (mermaid-js.github.io) mathjax 목록 MathJax basic tutorial and quick reference - Mathematics Meta Stack Exchange mathjax 기호 그려서 찾기 Detexify LaTeX handwritten symbol recognition (kirelabs.org) 표 생성기 Markdown Tables generator - TablesGenerator.com 마크다운 cheetsheet Markdown Cheatsheet · adam-p/markdown-here Wiki · GitHub

only integers, slices (`:`), ellipsis (`...`), numpy.newaxis (`None`) and integer or boolean arrays are valid indices

  only integers, slices (`:`), ellipsis (`...`), numpy.newaxis (`None`) and integer or boolean arrays are valid indices index가 float가 돼서 그런듯

sorting algorithm

 quick sort merge sort heap sort bubble sort insertion sort select sort bucket sort radix sort

오늘의 영어 단어와 뜻 정리

추천 영어 단어 외우기 영어 단어 뜻은 네이버 영어사전. implementation   [U] 이행 , 실행 ; 완성 , 성취 ; 충족     criteria    규준 , 표준 , 기준 , criterion 의 복수형 .           protocol 외교 의례 , 의전 , 초안 [ 원안 ]; 보충 협약 , 프로토콜 , 통신 규약 optimization        최적화 , 최대한의 이용 [ 활용 ]., 최적화 , 가장 적합한 조건 , 가장 효과적인 상태 .         comprise            … 으로 구성되다 [ 이뤄지다 ], 구성하다 , 차지하다         immune 면역성이 있는 , … 의 영향을 받지 않는 , … 에 면역이 된           compatible         호환이 되는 , 양립될 수 있는 , 화합할 수 있는 [ 사이좋게 지낼 ]      constraint           제약 , 제한 , 통제   violation 위반 , 위배 , 방해 , 침해 , 침입 , 모독 , 성폭행 , 바이얼레이션       given that        ...

cannot push these commits as they contain an email address marked as private on github

이미지
  github desktop에서 push 하는데 나온 에러 cannot push these commits as they contain an email address marked as private on github 최근에 github 이메일을 private으로 설정을 바꿨기 때문에 일어난 일. 깃허브 공식 문서 참고 https://docs.github.com/en/github/setting-up-and-managing-your-github-user-account/setting-your-commit-email-address github > settings > emails 에서 keep my email address 설정을 해제하거나 설정을 유지하려면 github > settings > emails에 있는 숫자+아이디@users.noreply.github.com을 desktop file>option>git>email 에 있는 이메일 설정을 바꾸면 된다.

raspberrypi imager로 micro sd에 OS 깔기

이미지
imager 여기서 다운받는다 https://www.raspberrypi.org/software/ imager 사용하는 법  간단한 유튜브 설명 동영상 https://www.youtube.com/watch?v=J024soVgEeM 우분투 따로 다운로드 하려면 https://ubuntu.com/download/raspberry-pi choose OS에서 OS 선택하고 choose card에서 카드 선택하고 write 누르면 끝~ 아주 간편하다 other general purpose OS에서 ububtu를 다운 받을 수 있다 우분투 서버(gui 없는 거) 선택했다 write를 눌러서 설치가 완료되었다. 나는 5분정도 걸림

Hello, blogger!

이미지
 My first post in blogger! 아래는 문서 작성을 테스트해보며 작성한 것 입니다. blogger에서는 글을 문서처럼 작성할 수 있다 사진도 넣을 수 있다! 글씨체를 다양하게 사용하고 (한글을 기본 글꼴이 많이 없다) use various fonts 정렬도  다양하게  할 수 있다 💀💀이모지 색깔 하이라이트 취소선 언더라인 기울기 볼드체

STUDY

@GetMapping("/proxy-download") public ResponseEntity<Resource> proxyDownload() {     String sourceUrl = "https://example.com/file-to-download.bin";     ResponseEntity<byte[]> response = restTemplate.exchange(         sourceUrl,         HttpMethod.GET,         null,         byte[].class     );     byte[] fileBytes = response.getBody();     // 👉 원본 Content-Disposition 헤더에서 파일 이름 추출     String disposition = response.getHeaders().getFirst(HttpHeaders.CONTENT_DISPOSITION);     String filename = "default.bin"; // fallback     if (disposition != null && disposition.contains("filename=")) {         // Content-Disposition: attachment; filename="some_file.bin"         filename = disposition.split("filename=")[1].replace("\"", "").trim();     }     HttpHeaders ...