하루하나
close
프로필 배경
프로필 로고

하루하나

  • ALL (217)
    • 쿠베플로우 kubeflow (1)
    • React Native (1)
      • Expo (1)
    • Programming (187)
      • spring+jwt+react (4)
      • wordpress (3)
      • Vultr (1)
      • Flutter (3)
      • Vue-project (1)
      • Vue-tip (17)
      • AngularJS (12)
      • Bootstrap (2)
      • Book (1)
      • CentOS (5)
      • Code (0)
      • Css (13)
      • Docker (7)
      • Eclipse (1)
      • Freemarker (1)
      • Git (9)
      • Front-End (6)
      • Error (7)
      • Gulp.js (0)
      • Java (12)
      • Python (5)
      • Javascript (19)
      • JPA (5)
      • jQuery (2)
      • Mac (6)
      • MySql (4)
      • Springboot (21)
      • Springboot-blog (0)
      • Daily (1)
      • Springboot-tip (3)
      • Spring (1)
      • Thymeleaf (1)
      • Tomcat (1)
      • Typescript (3)
      • Tool (5)
      • Sql (1)
      • prisma (1)
      • react (1)
    • Life (14)
      • Review (0)
      • Tip (3)
      • 리뷰 (8)
      • 부동산 (2)
  • 홈
  • 태그
  • 미디어로그
  • 위치로그
  • 방명록

node-telegram-bot-api deprecated Automatic enabling of cancellation of promises is deprecated.

잘실행되던 node가 갑자기 실행해보니 아래와 같이 에러가 발생 node-telegram-bot-api deprecated Automatic enabling of cancellation of promises is deprecated. In the future, you will have to enable it yourself. See https://github.com/yagop/node-telegram-bot-api/issues/319. node:internal/modules/cjs/loader:1099:14 제일 쉬운 해결방법은 제일 상단에 아래와 같이 선언 process.env.NTBA_FIX_319 = 1 자세한 내용은 아래 글 참조 https://stackoverflow.com/questions/6..

  • format_list_bulleted Programming/Javascript
  • · 2023. 11. 7.
  • textsms

[javascript] 객체안에 특정값의 총합을 구하는 방법

let arr = [ { name: 'apple', price: 1000 }, { name: 'banana', price: 500 }, { name: 'orange', price: 800 } ]; let sum = 0; for (let i = 0; i < arr.length; i++) { sum += arr[i].price; } console.log(sum); // 2300​ 숫자배열이 아닌 객체안에서 특정값을 구할때는 아래와 같이 한다. // 숫자배열 합 for문이용 let arr = [1, 2, 3, 4, 5]; let sum = 0; for (let i = 0; i < arr.length; i++) { sum += arr[i]; } console.log(sum); // 15 // reduce 이용 ..

  • format_list_bulleted Programming/Javascript
  • · 2023. 3. 10.
  • textsms

[js] 3자리마다 콤마(,) 넣어주는 javascript 코드

function addCommas(num) { return num.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ","); } addCommas("1000") => 1,000

  • format_list_bulleted Programming/Javascript
  • · 2023. 2. 21.
  • textsms

사각형이 겹치는지를 확인하는 javascript 코드

function checkOverlap(rectangles) { for (let i = 0; i < rectangles.length; i++) { const rect1 = rectangles[i]; // 첫번째 사각형의 왼쪽, 오른쪽, 위, 아래 좌표를 구합니다. const left1 = rect1[0]; const right1 = rect1[1]; const top1 = rect1[2]; const bottom1 = rect1[3]; for (let j = i + 1; j < rectangles.length; j++) { const rect2 = rectangles[j]; // 두번째 사각형의 왼쪽, 오른쪽, 위, 아래 좌표를 구합니다. const left2 = rect2[0]; const right2..

  • format_list_bulleted Programming/Javascript
  • · 2023. 2. 20.
  • textsms

[billboard.js] point 마우스오버시 확대 끄기

billboard.js mouserover expand disable 마우스 오버시 확대되는걸 막을때 사용 point: { focus: { expand: { enabled: false } } }

  • format_list_bulleted Programming/Javascript
  • · 2023. 1. 20.
  • textsms

[javascript] 그달의 최대주차 구하기

해당 달이 몇주가 있는지 확인할 때 function maxWeeksInMonth(year, month) { var firstOfMonth = new Date(year, month-1, 1); var lastOfMonth = new Date(year, month, 0); var used = firstOfMonth.getDay() + lastOfMonth.getDate(); return Math.ceil( used / 7); }

  • format_list_bulleted Programming/Javascript
  • · 2023. 1. 20.
  • textsms
  • navigate_before
  • 1
  • 2
  • 3
  • 4
  • navigate_next
반응형
공지사항
전체 카테고리
  • ALL (217)
    • 쿠베플로우 kubeflow (1)
    • React Native (1)
      • Expo (1)
    • Programming (187)
      • spring+jwt+react (4)
      • wordpress (3)
      • Vultr (1)
      • Flutter (3)
      • Vue-project (1)
      • Vue-tip (17)
      • AngularJS (12)
      • Bootstrap (2)
      • Book (1)
      • CentOS (5)
      • Code (0)
      • Css (13)
      • Docker (7)
      • Eclipse (1)
      • Freemarker (1)
      • Git (9)
      • Front-End (6)
      • Error (7)
      • Gulp.js (0)
      • Java (12)
      • Python (5)
      • Javascript (19)
      • JPA (5)
      • jQuery (2)
      • Mac (6)
      • MySql (4)
      • Springboot (21)
      • Springboot-blog (0)
      • Daily (1)
      • Springboot-tip (3)
      • Spring (1)
      • Thymeleaf (1)
      • Tomcat (1)
      • Typescript (3)
      • Tool (5)
      • Sql (1)
      • prisma (1)
      • react (1)
    • Life (14)
      • Review (0)
      • Tip (3)
      • 리뷰 (8)
      • 부동산 (2)
최근 글
인기 글
최근 댓글
태그
  • #Vue
  • #error
  • #GIT
  • #javascript
  • #MySQL
  • #JPA
  • #sts
  • #css
  • #springboot
  • #AngularJS
전체 방문자
오늘
어제
전체
Copyright © 쭈미로운 생활 All rights reserved.
Designed by JJuum

티스토리툴바