일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
- language
- 영어
- cloud
- Chrome
- DART
- javascript
- mongodb
- English
- express
- typescript
- Infra
- database
- etc
- ReactJS
- JSP
- flutter
- HTML
- node.js
- frontend
- Datastructure
- db
- OOP
- MAC
- nodejs
- java
- Git
- leetcode
- CSS
- react
- Algorithms
- Today
- Total
목록전체 글 (15)
henry dev
Chrome에서 웹에 대한 다크 모드가 풀리지 않을 때가 있다. OS 옵션에서 Light 모드를 해서 창은 Light 모드가 적용됐으나 웹으 그대로 다크 모드인 경우 주소창에 아래와 같이 입력한다. 그리고 dark mode로 검색하면 "Auto Dark Mode for Web Contents" 가 있는데 이걸 disable시키면 웹에 대한 dark mode가 풀린다. chrome://flags/
iOS 시뮬레이터를 실행시키려고 할 때 "Unable to boot the Simulator." 에러가 발생하면서 실행이 안 되는 현상이 발생했다. 이를 해결하려면 상단 메뉴에서 about this mac-More info.-General-Storage-Developer의 느낌표-xCode cache 삭제 이 과정을 거치면 문제가 해결된다.
아래와 같이 scaffold를 탭할 때 unfocus를 해주면 input창에 포커스 가 있던게 없어진다. 그러면서 키보드도 사라진다. void _onScaffoldTap() { FocusScope.of(context).unfocus(); } ... @override Widget build(BuildContext context) { return GestureDetector( onTap: _onScaffoldTap, child: Scaffold( appBar: AppBar( ...
Flutter에서 AppBar를 많이 사용하는데 모든 화면에서 AppBar에 대한 배경색, 폰트색, 폰트 굵기 등을 정의한다면 너무 귀찮을 것이다. AppBar 성격상 동일한 스타일이 적용될건데 매번 반복 작업을 해야하기 때문이다. Scaffold의 배경색 같은 것도 마찬가지다. 이런 부분을 해결하기 위해 main.dart에서 style에 대한 전역 설정을 할 수 있다. Widget build(BuildContext context) { return MaterialApp( theme: ThemeData( scaffoldBackgroundColor: Colors.white, primaryColor: const Color(0xFFE9435A), appBarTheme: const AppBarTheme( fore..
Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. Github에 push하는 과정에서 갑자기 위와 같은 에러가 발생했다. Sourcetree에 정상적으로 Github 계정을 등록했었고, 로컬 key 또한 Github 계정에 정상적으로 등록됐음을 확인했지만 지속적으로 에러가 발생했다. SSH Agent에 private key가 등록되지 않았던 것이 원인이었다. 먼저 아래와 같이 SSH Agent가 정상적으로 MAC에서 동작하고 있는지 확인했다. ps -e | grep ssh-age..