Skip to content

Instantly share code, notes, and snippets.

View DillonMemo's full-sized avatar
🥱
Working

동원 DillonMemo

🥱
Working
View GitHub Profile
@DillonMemo
DillonMemo / javascript.js
Created April 7, 2021 13:11
Difference javascript and typescript
/** example */
function addition(a, b) {
const result = a + b;
return console.log(typeof result, result);
}
const num1 = 10;
const num2 = "20";
addition(num1, num2); // log: string 1020
@DillonMemo
DillonMemo / README.md
Last active February 16, 2021 10:25
finally NestJS configure practice
NestJS
  ├─src
  │  ├─users  
  │  │  ├─dtos
  │  │  │  └─create-user.dto.ts
  │  │  ├─entities
  │  │  │  └─users.entitiy.ts
  │  │  ├─users.module.ts  
 │ │ └─users.resolver.ts
@DillonMemo
DillonMemo / README.md
Last active February 16, 2021 09:59
set NestJS global scoped pipes
NestJS
  ├─src
  │  ├─users  
  │  │  ├─users.module.ts  
  │  │  └─users.resolver.ts
  │  ├─app.module.ts
  │  └─main.ts
  ├─test
 │ └─...test files
@DillonMemo
DillonMemo / README.md
Last active February 16, 2021 09:21
NestJS Configure Practice with TypeORM
NestJS
  ├─src
  │  ├─users  
  │  │  ├─users.module.ts  
  │  │  └─users.resolver.ts
  │  ├─app.module.ts
  │  └─main.ts
  ├─test
 │ └─...test files
@DillonMemo
DillonMemo / README.md
Last active February 16, 2021 08:53
Apply resolver to NestJS configure practice
NestJS
  ├─src
  │  ├─users  
  │  │  ├─users.module.ts  
  │  │  └─users.resolver.ts
  │  ├─app.module.ts
  │  └─main.ts
  ├─test
 │ └─...test files
@DillonMemo
DillonMemo / README.md
Last active February 16, 2021 08:17
NestJS Configure Practice
NestJS
  ├─src
  │  ├─app.module.ts
  │  ├─main.ts
  ├─test
  │  └─...test files
  └─eslint,env,prettier etc config files
/**
* Test Data
* const DATA = [
* ['오백삼십조칠천팔백구십만천오백삼십구', '삼조사천이만삼천구'],
* ['육십사억삼천십팔만칠천육백구', '사십삼'],
* ['구백육십조칠천억팔천백삼십이만칠천일', '사십삼조오천이백억육천구백십만일'],
* ['이천구백육십조천오백칠십만삼천구백구십', '삼천사백오십조일억이천만육백사십삼'],
* ['사십오억삼천육십만오백구십', '칠십억천이백삼십오만칠천구십이'],
* ['천백십일', '구천오백구십구'],
* ['오억사천', '백십일'],