본문 바로가기

Flutter / GridView 사용하기 Codepen에 GridView class 사용예제를 올려봤습니다. flutter code가 동작하긴 하지만 http같은 외부 모듈은 아직 작동안하네요. (이것 때문에 간단한 playground 용도 정도 밖에는 쓰기 힘들겠네요.) 예제: https://codepen.io/yeoupooh/pen/oNbOBaQ gridview ... codepen.io Base code from http://www.kaleidosblog.com/flutter-grid-view-image-gallery-how-to-download-and-display-images Flutter grid view image gallery: how to download and display images In this flutter tutori..
flutter 에서 i18n (국제화) 적용하기 youtu.be/d_IS7stU15s example source: https://github.com/yeoupooh/flutter_i18n_app1 yeoupooh/flutter_i18n_app1 Flutter i18n example. Contribute to yeoupooh/flutter_i18n_app1 development by creating an account on GitHub. github.com
Flutter 에서 listview 안에 checkbox item 넣기 + Dynamic Tabs Live coding 영상: https://www.youtube.com/watch?v=0iapZweCoX4 관련 예제 소스: https://github.com/yeoupooh/dynamictabs-flutter 아래는 위의 예제가 적용된 SG Clien 앱의 스크린 샷입니다.
Ubuntu 18.04 Docker image에서 apt-get update 안되는 경우 ubuntu 18.04 를 docker 통해서 container 생성하고 apt-get 할 때 다음과 같은 fetch 에러가 발생하는 경우 대처하는 방법은 아래와 같습니다. 즉, 기본 제공되는 apt list 경로를 삭제하는 것이죠. rm -rf /var/lib/apt/lists/* 만약 Dockerfile을 작성한다면 apt-get update 호출전에 위를 실행하면 됩니다. RUN rm -rf /var/lib/apt/lists/* RUN apt-get update
AWS EC2(Ubuntu)의 Key Pair를 사용해서 SSH로 접근가능하게 하기 준비 사항: AWS 계정 EC2에 접근 가능하기 위한 public IP 설정 SSH client (예: putty) 접근하려는 EC2는 아직 생성하지 않은 단계입니다. 다음과 같은 절차로 진행합니다. EC > Network & Security > Key Pairs로 가서 Create Key Pair 버튼을 눌러 새 Key Pair를 추가합니다. 이 때 입력하는 Key Pair Name이 중요하니 잘 정의(예를 들면, ec2sshkeypair)하고 나면 파일을 .pem 파일을 자동으로 다운로드 합니다. 이 pem 파일은 SSH 접근 시 사용하는 private 키 이므로 안전하게 보관합니다. 이제 EC2의 설정에서 Key Name 이라는 항목에 이 2번에서 입력한 key pair name을 입력하여 EC2 ..
VS Code에서 mocha 실행하기 (launch.json옵션) mocha를 launch.json 파일만 만들어 주면 VS code에서 직접 실행할 수 있습니다. 아래에서 주의할 점은 unit test에서 describe()를 사용했다면 args 중 -u 다음에 tdd(Test Driven Development)가 아닌 bdd(Behavior Driven Development)로 해주어야 에러가 발생하지 않습니다. { // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version"..
firebase-admin을 mocha에서 실행시 terminate되지 않는 이슈 mocha를 사용해서 firebase-admin api들을 테스트하는 도중에 mocha가 종료되지 않는 현상이 발견되었는데, 아래와 같이 이슈가 보고 되었고, 해결방법은 app.delete()를 호출해주면 됩니다. Process not terminated. · Issue #91 · firebase/firebase-admin-node [READ] Step 1: Are you in the right place? For issues or feature requests related to the code in this repository file a Github issue. If this is a feature request make sure the issue title starts w... github.com..
Firebase Realtime Database with Flutter Flutter에서 Firebase Realtime Database를 사용하는 방법에 대해서는 아래의 링크(이하 링크)를 참조하면 된다.https://medium.com/47billion/how-to-use-firebase-with-flutter-e4a47a7470ce그런데, 위의 방법대로 해보시면 알겠지만, 여러가지 오류발생하는데, 이 포스트에서는 링크에서 빠트린 설정에 대해서만 언급한다. 1. Firebase Console에서 Realtime Database Rule설정링크에서는 Firebase Console에 들어가서 앱에 대한 설정만 하고 마는데, Realtime Database에 대한 권한 설정이 추가로 필요하다.Firebase Console > Database > Realtime Database..