일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- Koin
- 특가게시판
- RX
- fragment
- java.lang.OutOfMemoryError: Java heap space
- compileKotlin FAILED
- RxJava
- 카드 내역 공유 앱
- todofication
- List
- 안드로이드 클린 아키텍쳐
- Android
- 올인원타이머
- 특가알람
- 카드내역 공유
- kotlin
- 대학톡
- 안드로이드
- recyclerview
- onViewCreated
- 뷰 상태 저장
- 뷰 상태복구
- android clean architecture
- nvidia-docker
- 작성
- moveToState
- andorid
- Quickly
- 특가촌
- 타이머앱
- Today
- Total
목록분류 전체보기 (73)
seoft

Environment (작성시점 : 19.12.15) OS : Ubuntu 18.04 GPU : GTX 1080 이전글 https://seoft.tistory.com/28(Ubuntu 18.04 설치 ~ nvidia-docker 세팅)에 이어 docker환경에서 Tensorflow GPU연동을 위해 시행착오 겪은 내용들 정리 이전 글의 nvidia-docker 세팅 후 쿠다기반 도커 이미지에서 tensorflow를 넣어 돌리면 되는줄 알았으나 tensorflow에서 GPU를 적용하기 위해서 지원하는 driver, cuda 버전을 맞출 필요가 있었다. * 작성 시점 기준 : TensorFlow supports CUDA 10.0 (TensorFlow >= 1.13.0) 그래서 최신 GPU 드라이버와 쿠다 버..
ML환경 구축을위해 시행착오 겪은 내용을 정리 ubuntu 18.04 USB 제작 https://tlo-developer.tistory.com/96 window & ubuntu 듀얼부팅 https://jimnong.tistory.com/676 nvidia GPU driver setup https://curioso365.tistory.com/71 nvidia docker 설치 (다음거 진행 전 docker를 19.03이상으로 설치하자) https://github.com/NVIDIA/nvidia-docker 설치 확인과정인 다음 명령어에서 --gpus의 커맨드가 없다는 에러가 발생 docker run --gpus all nvidia/cuda:10.2-base nvidia-smi --gpus 커맨드는 도커 1..
[문제정의] 사이드 프로젝트 2min 어플리케이션 제작도중 Room을 도입하게 되어 숙지/테스트 해보았고 추가로 정리함 [핵심코드] table 추가시, abstract class AppDatabase : RoomDatabase() 에 다음처럼 반영하는거 꼭 숙지할것 @Database( entities = [ User::class, Time::class, TimeSet::class, Bell::class ], version = 1 ) @TypeConverters(RoomConverter::class) 추가로 자식 엔티티가 특정 엔티티의 list로 들어가기 위해 forengForeignKey설정시 자식엔티티의 CRUD가 안되었음 - list object 확인 완료 - object inside object 확..

[CODE] [RESULT] [CODE] [관련코드] https://gist.github.com/seoft/590aadf0b3ba8001ddf1b4ea44040aca rx subscribeOn observeOn 요약.kt GitHub Gist: instantly share code, notes, and snippets. gist.github.com

추후 작성 android:id="@+id/tvTime" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="10dp" android:text="" android:textColor="#0a0a0a" android:textSize="50dp" app:layout_constraintBottom_toTopOf="@id/ivWriteMemoBtn" app:layout_constraintLeft_toLeftOf="@id/tvTitle" app:layout_constraintTop_toBottomOf="@id/tvSubTitle" tools:text="00:00:59" /> android:id..

[문제정의] 다음과같이 ubuntu 터미널 현 디렉토리 우측에 git current branch 출력하기 위함 [해결방안] 0. 작업 환경 ubuntu16.04기준 (18.04도 확인완료) mobaXterm client로 테스트 1. ~/.bashrc 파일의 가장 밑에 다음 코드를 덧붙임 # Show git branch name force_color_prompt=yes color_prompt=yes parse_git_branch() { git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' } if [ "$color_prompt" = yes ]; then PS1='${debian_chroot:+($debian_chroot)}\[\033[01;..

[문제정의] 서버 개발 도중 다음 요구사항이 생김 [ 서버가 사용 할 port, 서버에서 사용하는 password ] 를 서버를 실행할 때 인자로 전달하여 config에 반영하고자 함 [문제해결] 다음 두가지 과정을 거쳐 해결 main문의 (String []args)로 인자 전달하고 받은 인자를 application.yml에 반영하여 해결 1. main문의 (String []args)로 인자 전달 추가적인 그래들 설정 없이, 실행 시 다음의 명령어로 실행 (gradlew대신 gradle도 가능 ) gradlew bootRun --args='port=4000,password=pwd' Intellij 내의 Run에서 사용시 결과로 java의 메인문인 public static void main(String[]..
[merge, rebase] 공통 목적 : PR전, 작업 브랜치가 대상 브랜치와 fast-forward상태가 되도록 하기위함 merge 두개 혹은 세개의 브렌치를 활용하여 새로운 commit을 생성 후 현재 브랜치에 덧붙임 3-way merge : 총 세가지의 commit(브랜치a,b,공통조상)을 활용하여 새로운 commit을 생성 후 현재 브랜치에 덧붙임 fast forward merge : merge의 피대상(base) 브랜치와 대상(changed) 브랜치가 합칠때 피대상 브랜치의 변화가 없을 경우 피대상 브랜치의 포인터만 대상브랜치로 옮겨짐 *git merge -X [ours or theirs] 브랜치명 ([내것 or 상대것]으로 conflict 없이 auto merge, 단 기존 파일 delete..