라이브러리 yarn add worker-loader worker 관련 라이브러리 설치 worker-loader 파일 설정 custom.d.ts declare module "worker-loader!*" { class WebpackWorker extends Worker { constructor(); } export default WebpackWorker; } worker 파일 작성 TestWorker.js /* eslint-disable no-unused-vars */ /* eslint-disable no-restricted-globals */ const ctx: Worker = self as any; // Respond to message from parent thread ctx.addEventListe..
참조: https://docs.sheet.best/?javascript#aggregating-data sheet.best Documentation QuickStart Welcome Welcome to sheet.best API Documentation. Our documentation is available in RESTful architectural style. Here you will find a quick guide on how to start getting your Sheet data and integrating it to your application. How to Prepare your docs.sheet.best sheet best API 이용 // COLUMN_NAME 이라는 컬럼에 Tes..

참조: https://nankisu.tistory.com/67 CORS 에러: The request client is not a secure context and the resource is in more-private address space `local`. 웹서비스를 개발 하던 중 위와 같은 에러를 만났다. 서버 응답에 Access-Control-Allow-Origin: * 와 같은 CORS 허용 헤더를 다 넣어줬지만, 위와 같은 에러가 계속 발생했다. 알고보니 origin 보다, 더 낮은 nankisu.tistory.com 개발서버 -> 개발서버로 호출 시 도메인 주소가 달라 CORS 에러 발생 chrome://flags/#block-insecure-private-network-requests 에 ..

스프레드 시트 데이터 조회 https://sheet.best/?gclid=Cj0KCQjwxtSSBhDYARIsAEn0thRWdQcMu-fIjRCKdzgfJLbVxbIFYfFP7nbjdekuYQXRKVtYSlo9c88aApD5EALw_wcB Turn your google sheets into a REST API Turn your google sheets, google drive or excel file into a REST API with sheet.best. Acess your spreadsheets data via a REST API and use it as a CMS. sheet.best 1. sheet.best 계정 생성 2. 커넥션 버튼 클릭 3. 커넥션 정보 입력 Connection URL에 구..
참조 : https://seongtak-yoon.tistory.com/52 [MySQL] 두개의 컬럼을 IN 절로 비교하기 쿼리 조건을 구성하다보면 멀티키와 같은 컬럼 중 일부를 제외하고 싶을 때가 있습니다. 1건이 아니라 여러건을 조회할 때 기대치 : 1-a, 2-b, 3-c만 원할 때 SELECT * FROM foo WHERE id IN (1, 2, 3) AND bar IN.. seongtak-yoon.tistory.com SELECT * FROM foo WHERE (id, bar) IN ((1, 'a'), (2, 'b'), (3, 'c'))
참조: https://loglevel.tistory.com/7 local에 저장되어 있는 git계정 clear 하기 한 컴퓨터에서 여러 git 서비스를 사용하는 경우 혹은 여러사람이 한 컴퓨터를 사용하는 경우 미리 저장되어 있는 git 계정때문에 권한 문제로 git push가 안되거나 git clone이 안되는 경우가 종종발 loglevel.tistory.com git config --system --unset credential.helper git config credential.helper erase 위 명령어 실행 시 로컬에 저장된 Git 계정 삭제 git config credential.helper store 위 명령어 실행 시 로컬에서 로그인한 깃 계정 저장 git config credentia..