본문 바로가기
728x90

전체 글551

list에 있는 값들 모두 합치기 [1,2,3,4,5,6] 이걸 다 합치면 몇이 될까? for 를 쓰면 쉽게 되겠지 코드가 너무 길 것 같아서 줄일 수 있는 방법을 찾아보았다. https://stackoverflow.com/questions/10405348/what-is-the-cleanest-way-to-get-the-sum-of-numbers-in-a-collection-list-in-dart What is the cleanest way to get the sum of numbers in a collection/list in Dart? I don't like using an indexed array for no reason other than I think it looks ugly. Is there a clean way to sum .. 2022. 8. 23.
firebase function으로 puppeteer 사용하기 firebase function을 사용하면서 크롤링을 사용해야하는 경우가 종종 있다. 그런데 문제는 이 친구가.. memory limit exceed 로 작동을 하지 않는다는 것이었다. 그러나 나의 구세주 파베방장님은 답을 알려주셨다. firebase function memory를 늘려주면 되는 것이었다. 찾아보니 firebase doc 안에 그 기능이 있었다! 나는 바로 적용해주었다. https://firebase.google.com/docs/functions/manage-functions?hl=ko#set_timeout_and_memory_allocation 함수 관리 | Firebase용 Cloud Functions 의견 보내기 함수 관리 Firebase CLI 명령어를 사용하거나 함수 소스 코드에.. 2022. 8. 22.
크롤링 시에 query selector 사용할 때 도움이 되는 페이지 https://www.w3schools.com/jsref/met_document_queryselector.asp HTML DOM Document querySelector() Method W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more. www.w3schools.com 2022. 8. 20.
node.js 를 위한 자바스크립트 학습 홈페이지 https://ko.javascript.info 모던 JavaScript 튜토리얼 ko.javascript.info https://developer.mozilla.org/ko/ MDN Web Docs The MDN Web Docs site provides information about Open Web technologies including HTML, CSS, and APIs for both Web sites and progressive web apps. developer.mozilla.org 2022. 8. 16.
728x90