728x90
728x90
sudo apt install -y \
     apt-transport-https \
     ca-certificates \
     curl \
     gnupg2 \
     software-properties-common
     
     
curl -fsSL https://download.docker.com/linux/$(. /etc/os-release; echo "$ID")/gpg | sudo apt-key add -

echo "deb [arch=$(dpkg --print-architecture)] https://download.docker.com/linux/$(. /etc/os-release; echo "$ID") \
     $(lsb_release -cs) stable" | \
    sudo tee /etc/apt/sources.list.d/docker.list

sudo apt update

sudo apt install -y --no-install-recommends \
    docker-ce \
    cgroupfs-mount
 
sudo systemctl enable --now docker
728x90
728x90

민감한 정보가 포함 된 오류 메시지 생성

 

e.printStackTrace();
log.error("Error");
728x90
728x90

정수 오버플로 또는 랩 어라운드

 

정수 체크

728x90
728x90

1. 현재 시간 넣기

ctrl + backspace

 

2. 순위

RANK() OVER (PARTITION BY ... ORDER BY ...)

DENSE_RANK OVER (PARTITION BY ... ORDER BY ...)

 

3.Oracle SQL Developer 행번호

도구 -> 환경설정 -> 코드편집기 -> 행여백 -> 행번호표시

 

4.이클립스 자동 서식 행 길이 수정

환경 설정 -> Java-> 코드 스타일-> 포맷터  프로파일 ->  줄 바꿈 탭 아래에 선 너비에 대한 기본 옵션

 

3.HTML 자동 서식 너비

Window - Proferences - Web - HTML Files - Editor

728x90
728x90

stroke-linecap 속성을 이용하자!

https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/stroke-linecap
<svg viewBox="0 0 6 6" xmlns="http://www.w3.org/2000/svg">
  <!-- Effect of the (default) "butt" value -->
  <line x1="1" y1="1" x2="5" y2="1" stroke="black" stroke-linecap="butt" />

  <!-- Effect of the "round" value -->
  <line x1="1" y1="3" x2="5" y2="3" stroke="black" stroke-linecap="round" />

  <!-- Effect of the "square" value -->
  <line x1="1" y1="5" x2="5" y2="5" stroke="black" stroke-linecap="square" />

  <!--
  the following pink lines highlight the
  position of the path for each stroke
  -->
  <path d="M1,1 h4 M1,3 h4 M1,5 h4" stroke="pink" stroke-width="0.025" />
</svg>
728x90
728x90
728x90

+ Recent posts