Skip to content

Instantly share code, notes, and snippets.

View kyh196201's full-sized avatar
🐢
Slow and steady

Seungwoo Kim kyh196201

🐢
Slow and steady
View GitHub Profile
@kyh196201
kyh196201 / README-Template.md
Created December 9, 2023 06:14 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@kyh196201
kyh196201 / .prettierrc.js
Last active December 9, 2023 04:56
prettier config for vue3
// ref: https://gist.github.com/karpolan/2c573b5767bc9b65db9936c7fad4daac
module.exports = {
endOfLine: "auto",
printWidth: 120, // max 120 chars in line, code is easy to read
useTabs: false, // use spaces instead of tabs
tabWidth: 2, // "visual width" of of the "tab"
/* trailingComma: "all", */
trailingComma: 'es5', // add trailing commas in objects, arrays, etc.
semi: true, // add ; when needed
singleQuote: true, // '' for stings instead of ""
@kyh196201
kyh196201 / isPrime.js
Last active September 11, 2021 08:54
javascript check number is prime
function isPrime(num) {
for(let i = 2, s = Math.sqrt(num); i <= s; i++) {
if(num % i === 0) return false;
}
return num > 1;
}
@kyh196201
kyh196201 / .gitignore
Created July 15, 2021 06:45 — forked from andreasonny83/.gitignore
Gitignore template for JavaScript projects
# See http://help.github.com/ignore-files/ for more about ignoring files.
# compiled output
/dist
/tmp
/out-tsc
# Runtime data
pids
*.pid
@kyh196201
kyh196201 / how-to-write-by-markdown.md
Created April 28, 2021 15:08 — forked from ihoneymon/how-to-write-by-markdown.md
마크다운(Markdown) 사용법

[공통] 마크다운 markdown 작성법

1. 마크다운에 관하여

1.1. 마크다운이란?

Markdown은 텍스트 기반의 마크업언어로 2004년 존그루버에 의해 만들어졌으며 쉽게 쓰고 읽을 수 있으며 HTML로 변환이 가능하다. 특수기호와 문자를 이용한 매우 간단한 구조의 문법을 사용하여 웹에서도 보다 빠르게 컨텐츠를 작성하고 보다 직관적으로 인식할 수 있다. 마크다운이 최근 각광받기 시작한 이유는 깃헙(https://github.com) 덕분이다. 깃헙의 저장소Repository에 관한 정보를 기록하는 README.md는 깃헙을 사용하는 사람이라면 누구나 가장 먼저 접하게 되는 마크다운 문서였다. 마크다운을 통해서 설치방법, 소스코드 설명, 이슈 등을 간단하게 기록하고 가독성을 높일 수 있다는 강점이 부각되면서 점점 여러 곳으로 퍼져가게 된다.

1.2. 마크다운의 장-단점

1.2.1. 장점

//App.js
//localStorage Name
const STORAGE_DATA = 'todoData'
function App(selector, title) {
if (!(this instanceof App)) {
throw new Error('New 키워드 없이 실행했습니다')
}