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
| 🌞 Morning 52 commits ██▊░░░░░░░░░░░░░░░░░░ 13.2% | |
| 🌆 Daytime 136 commits ███████▏░░░░░░░░░░░░░ 34.4% | |
| 🌃 Evening 175 commits █████████▎░░░░░░░░░░░ 44.3% | |
| 🌙 Night 32 commits █▋░░░░░░░░░░░░░░░░░░░ 8.1% |
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 React, { useState, useRef } from "react"; | |
| export default function LinkParse() { | |
| const [focus, setFocus] = useState(false); | |
| const renderTag = (line, idx) => { | |
| let result = line.value; | |
| if (line.isBlank || (!line.isURL && line.value)) result += " "; | |
| if (line.isURL) |
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
| commit time |
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
| commit time |
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
| const bn1 = 12347943875394802934875 | |
| const bn2 = 123479438753948029348759 | |
| const fillZero = (num) => { | |
| const len = num.toString().length | |
| if (len === 2) { | |
| return "0" + num | |
| } else if (len === 1) { | |
| return "00" + num | |
| } else { |
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
| const str1 = "삼조" | |
| const str2 = "삼" | |
| const scaleTable = { | |
| "조": Math.pow(10, 12), | |
| "억": Math.pow(10, 8), | |
| "만": Math.pow(10, 4), | |
| "천": Math.pow(10, 3), | |
| "백": Math.pow(10, 2), | |
| "십": Math.pow(10, 1), | |
| "일": 1 |