pm2 restart {id} --name {New name}
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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