pm2 restart {id} --name {New name}
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 모듈 Import, 실제 사용에서는 fetch, yesno 모듈은 제거되며 Web3 Module은 etherjs 모듈로 Migration 됨 | |
// Migration 방법에 관련된 문서는 https://docs.ethers.io/v5/migration/web3/ 참고 | |
const Web3 = require('web3'); // Migration to etherjs | |
const fetch = require('node-fetch'); // Migration to Axios | |
// 네트워크 체인 ID 설정 | |
const chainId = 56; | |
// Web3 RPC URL 설정, 추후 web3 provider에 인자로 들어감 | |
const web3RpcUrl = 'https://bsc-dataseed.binance.org'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Image from 'next/image' | |
<div> | |
<div className="md:hidden"> | |
<Image src="Banner-767x500.webp" height={500} width={767} /> | |
</div> | |
<div className="hidden md:inline-flex lg:hidden"> | |
<Image src="Banner-1023x500.webp" height={500} width={1023} /> | |
</div> | |
<div className="hidden lg:inline-flex xl:hidden"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://im-first-rate.tistory.com/35?category=827433 | |
// Array의 prototype을 지정해주고, shuffle이라는 이름을 가진 함수를 생성 | |
Array.prototype.shuffle = function () { | |
var length = this.length; | |
// 아래에서 length 후위 감소 연산자를 사용하면서 결국 0이된다. | |
// 프로그래밍에서 0은 false를 의미하기에 0이되면 종료. | |
while (length) { | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Document</title> | |
<link rel="stylesheet" href="style.css" /> | |
</head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 글씨 드래그를 막아주는 css */ | |
.no-drag { | |
-ms-user-select: none; | |
-moz-user-select: -moz-none; | |
-khtml-user-select: none; | |
-webkit-user-select: none; | |
user-select: none; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hr { | |
border-width:1px 0px 0px 0px; | |
border-style:solid; | |
border-color:#808080; | |
opacity: 0.3; | |
height:1px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.target li br { | |
content: ""; | |
display: block; | |
margin-bottom: -4px; | |
} | |
.target li img{ | |
width:100%; | |
border:0; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link href="https://fonts.googleapis.com/css?family=Material+Icons|Material+Icons+Outlined|Material+Icons+Two+Tone|Material+Icons+Round|Material+Icons+Sharp" rel="stylesheet"> | |
<!-- import any icon from here --> | |
<!-- https://fonts.google.com/icons --> | |
<span class="material-icons-outlined">done</span> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 부모 밑의 자식 div를 부모의 전체넓이를 기준으로 중앙정렬 할 때 */ | |
.target { | |
position: relative; | |
top: 50%; | |
left: 50%; | |
margin: 0 0 0 -480px; | |
width: 960px; | |
} | |
/* 콘텐츠 컨테이너 영역을 정렬할 때 사용함 */ |
NewerOlder