본문 바로가기

: IT

(44)
[m1] 맥북 초기화 후 마이그레이션으로 데이터 받기. 2) 맥북 초기화 및 macOS 설치 1. 부팅 USB를 아직 안만들었다면 이전 글을 보고 부팅 USB를 만들어야 한다. https://bylaura.tistory.com/95 [m1] 맥북 초기화 후 마이그레이션으로 데이터 받기. 1) 부팅 usb 만들기 Mac 활성화에서 진행이 되지 않아서, 애플 고객지원 센터에 전화했다.. 부팅 가능한 macOS용 설치 프로그램을 생성하게 되어서 기록으로 남겨놓는다 고객센터 링크는 저거고..하나 띄워놓고 하는 bylaura.tistory.com 2. M1 맥북을 복구 모드로 들어가려면 종료 후, 전원 버튼을 옵션이 뜰때까지 누르고 있으면 된다. 3. 옵션(Options) > 계속 4. 디스크 유틸리티 선택 5. 디스크 지우기 > 재시작 디스크를 선택해서 지우는게 포맷이라고 보면됨.. 6. USB를 맥에..
[m1] 맥북 초기화 후 마이그레이션으로 데이터 받기. 1) 부팅 usb 만들기 Mac 활성화에서 진행이 되지 않아서, 애플 고객지원 센터에 전화했다.. 부팅 가능한 macOS용 설치 프로그램을 생성하게 되어서 기록으로 남겨놓는다 고객센터 링크는 저거고..하나 띄워놓고 하는걸 추천.. https://support.apple.com/ko-kr/HT201372 부팅 가능한 macOS용 설치 프로그램 생성하기 외장 드라이브나 보조 볼륨을 시동 디스크로 사용하여 Mac 운영 체제를 설치할 수 있습니다. support.apple.com 이대로 진행하면된다 1. 우선 부팅용 USB는 14기가 이상으로 필요하다. 부팅용 USB를 초기화해야한다 디스크 유틸리티에 들어가서 지우기 하세요.. 이름은 영문 소문자,대문자로만 하는걸 추천드림. 이때 이름 기억하기!!! 2. macOS는 설치할 버전으로 다..
[아르고CD] argoCD 설치, 삭제 # 아르고cd 삭제 kubectl delete -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml # 네임스페이스 생성 kubectl create namespace argocd # 아르고cd 설치 kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
[Flutter/Dart] Stateless Widget 1. main.dart import 'package:flutter/material.dart'; import 'package:toonflix/widgets/Button.dart'; import 'package:toonflix/widgets/currency-card.dart'; void main() { runApp(App()); } class App extends StatelessWidget { @override Widget build(BuildContext context) { // return CupertinoApp // ios return MaterialApp( home: Scaffold( backgroundColor: const Color(0xFF181818), body: SingleChildScrol..
Visual Studio - develop for Windows (the doctor check crashed) 해결법: C:\Program Files (x86)\Microsoft Visual Studio\Installer 폴더에 vswhere 파일을 덮어쓰기 다운로드 위치: https://github.com/microsoft/vswhere/releases
Final & Const 변수 void main() { int age; // mutable한 속성을 가지고 있음 age = 20; age = 50; } Final variable can be set only once. Final 변수는 값을 한번 설정할 수 있다. 런타임 시에 상수화 된다. final 변수는 rebuild 될 수 있음 a const variable is complie-time constant. const 변수는 컴파일 시에 상수가 된다. 선언과 동시에 초기화를 해야한다 Compile-time constant = Run-time constant void main() { final int myFinal = 30; const int myConst = 70; } // final, const는 제어자. 변수에 제한을 검 // ..
Focus Focus FocusNode: 포커스를 받는 특정 위젯을 식별할 때 사용. FocusScope: 어떤 위젯들까지 포커스를 받는지 범위를 나타낼 때 사용. FocusScope.of(context) 메소드: 현재 포커스된 포커스노드를 가르킴 FocusScope.of(context).unfocus() 메소드: 포커스를 해제함 플러터토스트 라이브러리 https://pub.dev/packages/fluttertoast fluttertoast | Flutter Package Toast Library for Flutter, Easily create toast messages in single line of code pub.dev 1. pubspec.yaml 파일에 라이브러리 추가 2. 토스트 보여주는 함수 추가 후 ..
플러터 2.0 버튼 import 'package:flutter/material.dart'; void main() { runApp(App()); } class App extends StatelessWidget { const App({Key? key}) : super(key: key); @override Widget build(BuildContext context) { return MaterialApp( theme: ThemeData(primarySwatch: Colors.blue), home: Page()); } } class Page extends StatelessWidget { const Page({Key? key}) : super(key: key); @override Widget build(BuildContext con..