본문 바로가기
728x90

분류 전체보기578

firebase tools 지워보기 자꾸 deploy 하는데 Invalid source token 이런 오류가 많이 떴다.. 특별한 함수를 추가한 것도 아닌데! .. 오류가 너무 많이 나는 것 같아서 firebase tools를 통째로 지웠다가 다시 깔아보았다. https://stackoverflow.com/questions/59386943/how-to-uninstall-firebase-cli-firebase-tools How to uninstall Firebase CLI (firebase-tools) I install Firebase CLI (firebase-tools) https://github.com/firebase/firebase-tools by this code: curl -sL firebase.tools | bash How to.. 2022. 11. 16.
.md markdown preview 홈페이지 html 파일을 쉽게 작성하도록 만들어진 .md파일, 그런데 md 파일을 테스트하는 프로그램 또는 웹페이지가 찾기가 어려웠는데 아주 간단히, 바로 확인할 수 있는 홈페이지가 있었음! (무설치) https://markdownlivepreview.com Markdown Live Preview # Markdown syntax guide ## Headers # This is a Heading h1 ## This is a Heading h2 ###### This is a Heading h6 ## Emphasis *This text will be italic* _This will also be italic_ **This text will be bold** __This will also be bold__ _You *.. 2022. 11. 15.
firebase function에서 transaction 사용하기 transaction은 중요하다. db를 저장할 때 모든 작업을 완수했다는 것을 보장하는 것. 하나가 안 되었으면 나머지도 안되도록 하는 것.transaction은 db의 오류를 줄여주는 기능을 한다. function에서 사용하는 방법은 찾아보니 아래와 같았다. https://firebase.google.com/docs/firestore/manage-data/transactions 트랜잭션 및 일괄 쓰기 | Firestore | Firebase Firebase Summit에서 발표된 모든 내용을 살펴보고 Firebase로 앱을 빠르게 개발하고 안심하고 앱을 실행하는 방법을 알아보세요. 자세히 알아보기 이 페이지는 Cloud Translation API를 통해 번역되었습니 firebase.google.com 2022. 11. 15.
custom exception https://stackoverflow.com/questions/13579982/how-to-create-a-custom-exception-and-handle-it-in-dart How to create a custom exception and handle it in dart I have written this code to test how custom exceptions are working in the dart. I'm not getting the desired output could someone explain to me how to handle it?? void main() { try { stackoverflow.com 다음과 같이 쓸 수 있다! CustomException은 일단 util 쪽에 .. 2022. 11. 14.
728x90