본문 바로가기
반응형

분류 전체보기193

프랑스어 공부 https://www.notion.so/241b89781b2480a39be8dcd82dacbb9b?v=241b89781b24803c95c8000c83759e69&source=copy_link Notion | The connected workspace with site publishingHosted by Notion Sites — The easiest way to get a website up and running.www.notion.sohttps://www.notion.so/283b89781b2480b7828ced964afe9e3f?source=copy_linkhttps://www.notion.so/274b89781b2480818789dc52c0678ce1?v=274b89781b2480b39de5000c.. 2025. 9. 14.
git difftool 설정 Git에서 diff와 difftool은 다른 기능을 합니다: git diff: Git 내장의 diff 뷰어를 사용하여 변경 사항을 콘솔/터미널에서 직접 보여줍니다. git difftool: 외부 diff 도구를 사용하여 변경 사항을 보여줍니다. difftool은 사용자가 원하는 다른 도구(예: VSCode, Beyond Compare, WinMerge 등)로 diff를 보기 위해 사용됩니다. git difftool 설정 방법 VS(비쥬얼 스튜디오)의 커멘드 팔레트 툴에서 code라고 검색하고 Shell Command:Install 'code' command in PATH를 클릭한다. (터미널에서 "code ." 를 누르면 현재 디렉토리가 VS로 열리게 하는 설정임) 그런 다음 터미널에서 아래 명령어로 g.. 2023. 10. 22.
sudo dockerd 시 오류 발생 해결 sudo dockerd --iptables=false 명령은 Docker 데몬을 시작할 때 IP 테이블 (iptables) 규칙의 조작을 비활성화합니다. Docker는 기본적으로 호스트 시스템의 iptables 규칙을 조작하여 컨테이너 간의 네트워크 트래픽을 제어합니다. 이는 보안과 격리를 향상시키지만, 때로는 기존 방화벽 규칙이나 다른 네트워크 구성과 충돌할 수 있습니다. --iptables=false 옵션을 사용하면 Docker가 이러한 규칙을 자동으로 조작하는 것을 중지하고, 대신 시스템 관리자가 수동으로 필요한 규칙을 구성할 수 있게 해줍니다. 이 설정은 특별한 네트워크 요구 사항이 있거나 Docker와 호스트 시스템의 iptables 구성 간의 충돌을 해결하려는 경우 유용할 수 있습니다. 그러나.. 2023. 8. 5.
[PYTHON]파이썬 가상환경 설정 파이썬 가상 환경 설정 이유 필요한 라이브러리 설치할 때 파이썬은 기본적으로 전역으로 설치함. 이 때 각 프로젝트에서 필요한 동일한 라이브러리가 버전이 달라야 하는 경우 서로 격리시키기 위해서 각 프로젝트의 가상 환경을 설정하고 가상환경을 내에서 라이브러리를 설치할 수 있다. 파이썬 가상환경 설정 방법 가상 환경 폴더 생성 터미널을 열고 프로젝트 폴더의 루트 경로에서 아래의 명령어를 실행 myenv는 가상 환경에 대한 파일들을 담는 폴더의 이름이 된다. 따라서 본인이 원하는 이름으로 설정하면 된다. python -m venv myenv 가상 환경 실행 본인이 설정한 이름으로 프로젝트의 루트 경로에 새로운 폴더가 생성된 것을 확인한 후, 아래의 명령어를 실행한다. 여기서 myenv는 역시 본인이 설정한 이.. 2023. 7. 17.
[CSS]How to actively increase the size of the parent element so that the parent element wraps around the child element when the floating child element deviates from the parent element. Use the display: inline-block; attribute for the parent element. .parent { display: inline-block; } Because of the inline block property characteristics defined in the parent element, it will be as large as its own area. html Florence Florence Tour Ma quande lingues coalesce, li grammatica del resultant lingue es plu simplic e regulari quam ti del coalescent lingues. Li nov lingua franca va esse.. 2023. 2. 10.
[CSS] box-sizing: content-box, border-box defualt value of box-sizing: content-box content-box -> width doesn't count padding and border When give padding to figcaption which is saying florence, it exceed its parent width. because padding doesn't count as part of width. border-box -> width does include padding and border When give padding to figcaption which is saying florence, it doesn't exceed its parent width. because padding count a.. 2023. 2. 10.
clock(), clock_gettime, timespec_get 1) clock_t start = clock(); clock_t init_time = clock() - start; 2) clock_gettime(CLOCK_MONOTONIC, &start); clock_gettime(CLOCK_MONOTONIC, &end); double time_taken = (end.tv_sec - start.tv_sec) + (end.tv_nsec - start.tv_nsec) / 1000000.0; Q1) What is difference between those two code. The first code block measures the time using the clock function from the time.h library. It measures the time in.. 2023. 2. 9.
The malloc function can fail to allocate memory in several cases The malloc function can fail to allocate memory in several cases, including: Insufficient memory: If the system does not have enough memory to allocate the requested block of memory, malloc returns a NULL pointer, indicating that the memory allocation has failed. Out of address space: On some systems, a process has a limited amount of virtual address space. If the malloc function tries to alloca.. 2023. 2. 9.
How to customize github profile 깃허브 프로필을 커스텀하는 방법을 알아보자. 먼저 새로운 리포지토리를 생성하는 버튼을 클릭한다. 1. Repository name에 자신의 github username을 똑같이 기입한다. 2 .Public을 선택한다. 3. Add a README file을 선택한다. 그러면, 아래와 같이 profile용 README.md가 만들어질 것이다. 이후 이미지 오른쪽에 보이는 연필 모양의 버튼을 클릭하여 기존 README.md와 같이 markdown을 이용해 커스터마이징할 수 있다. 아래 사이트를 이용하면 Badge를 만들 수 있다. https://shields.io/ Shields.io: Quality metadata badges for open source projects Love Shields? Pleas.. 2023. 1. 13.
반응형