본문 바로가기

전체 글

(54)
[flutter] ios firebase 연동 1. firebase에 접속한다. https://firebase.google.com/?hl=ko Firebase Firebase는 고품질 앱을 빠르게 개발하고 비즈니스를 성장시키는 데 도움이 되는 Google의 모바일 플랫폼입니다. firebase.google.com 2. firebase에서 오른쪽 위 콘솔로 이동하고 새로운 프로젝트 생성을 클릭한다. 3. 프로젝트를 생성한 후 ios 버튼을 클릭하여서 ios기기 연동을 준비한다. 4. firebase에 앱 등록 - ios 번들 ID - Bundle Identifier (com.company.(넣고자 하는 이름)) - App 닉네임 - 내부용 식별자 - App store ID - 나중에 추가 가능 5. firebase 구성 파일 추가 - GoogleSer..
[Github] VScode를 통해서 github에 올리기 github에서 new repository를 생성하고 파일을 올리니 master branch에만 올라가고 main으로 넘어가지가 않았다. 따로 main으로 올라갈 수 있게 설정하는 방법도 있지만 이를 설정하기가 번거로움 때문에 vscode에서 바로 repository를 생성하고 commit 하는 방법에 대해서 적어두고자 한다. 1. vscode에서 의 버튼을 클릭한다. 그리고 github에 새로운 repository 생성을 클릭해서 생성한다. 그 뒤 github에 들어가면 다음과 같은 내용을 따라 가면 된다. echo "# 'readme'에 작성할꺼" >> README.md git init git add README.md git commit -m "first commit" git branch -M mai..
[Flutter] Firestore 1. add Dependency - pubspec.yaml에 dependencies: flutter: sdk: flutter firebase_core: "^0.7.0" cloud_firestore: "^0.16.0+1" 추가하기 2. Download dependency (처음이라면) - 터미널에 $ flutter pub get **** 만약에 Null safety를 적용 한다면 **** 터미널에 두가지를 입력 $ flutter channel stable $ flutter run --no-sound-null-safety ----------- cloud_firestore Library https://pub.dev/documentation/cloud_firestore/latest/cloud_firestore/..
C++ 기초 - Procedural language : algorithm oriented - Structured programming language : no unconditional jump, still data is separated from algorithm - Object oriented programming language : algorithm(behavior) + data(state) -> object using namespace std; 를 이용하여 cout을 이용한다면 cout이라는 객체한테 그 뒤에 나오는 string 글 변수 등을 맡기는 것 - 그리고 알아서 출력을 해준다 Linux에서 c++ compile을 돌릴려면 g++ [c++ source code file name] -o [exe_file ..
Oh my zsh ubuntu install sudo apt-get update update 확인 sudo apt-get install zsh -> y 클릭 zsh --version version 체크 설치 확인 및 reboot $whereis zsh $sudo usermod -s /usr/bin/zsh $(whoami) $sudo reboot install powerline and powerline fonts $ sudo apt-get install powerline fonts-powerline intalling zsh powerlevel9k theme $ sudo apt-get install zsh-theme-powerlevel9k 그리고 powerlevel9k 실행되도록 $echo "source /usr/share/powerlevel9k/po..
Vi/Vim 줄 번호, 탭 크기, 자동들여쓰기, 설정 :set nu :set number 설정으로 줄 번호가 나올 수 있게 할 수 있다. 이는 매번 설정을 해주어야 함으로 사전에 설정을 하려면 vi ~/.vimrc 로 들어가서 설정파일에서 설정을 해주어야 한다. 설정 후 파일을 저장하고 닫는다 탭 사이즈와 관련된 변수는 ts, sw, sts가 있다. ts(tap stop) '\t' 문자를 몇 칸으로 보여줄지 결정하는 변수 sw(Shift width) >> 또는
논리설계 Logic design switching algebra a + 0 = a a + 1 = 1 a + a' = 1 a * 1 = a a * 0 = 0 a * a' = 0 a + a = a a * a = a Absorption la in Boolean Algebra a + a'b = a + b
논리설계 Logic design NAND, NOR gate NAND gate들로 표현한 not, AND. OR gate NAND, NOR간의 Demorgan's Theorem