목록IT (1009)
올해는 머신러닝이다.
task copyTestClasses(type: Copy) { from "build/tmp/kotlin-classes/debugUnitTest" into "build/intermediates/classes/debug" } task copySdkClasses(type: Copy) { from "build/tmp/kotlin-classes/debug" into "build/intermediates/classes/debug" } 추가 후에 Run 설정에서 defaults 에서 junit 과 Instrumented test 에 2개를 추가해준다.
출처 : http://thinkerodeng.tistory.com/227 1. Android Studio는 Intellij 기반이다. 2. 클래스와 자동 주석을 달기 위해서 /** 을 사용하면 자동으로 뭔가 정보가 입력되었으면 좋겠는데, 그게 안된다. (클래스 주석 그리고 메소드 주석 수정/추가 기능이 안된다) 3. 다른 방법을 찾아보니 Live Templates 라는 기능이 있었다. 나름 찾은 방법이니 정답은 아니다. 4. File -> Settings 이동 5. Editor -> Live Templates -> AndroidComments 선택 후 -> + 버튼 클릭 -> 1.Live Template 클릭 6. 으로 포커스가 잡힌다. 7. 정보를 입력한다. 필자의 경우는 Abbreviation : c..
fun appendList(listOfLists: List, toAppend: List): List { }Of course both of the following work:fun appendList(listOfLists: List, toAppend: List): List { // Use spread operator return listOf(*listOfLists.toTypedArray(), toAppend); } fun appendList(listOfLists: List, toAppend: List): List { // Turn to mutable list val ret = listOfLists.toArrayList() ret.add(toAppend) return ret } But this is conf..
요 며칠 Firestore 관련해서 삽질을 많이 했다. 느낀 점을 정리해본다. 1. 읽고 , 쓰기 속도는 좀 걸린다. - 최소 1~2초정도 걸린다. 이점을 고려해서 설계를 해야 할것 이다. 2. 모델링시 방법이 많은데 대략 3가지를 소개하고 있다. https://firebase.google.com/docs/firestore/manage-data/structure-data?hl=ko문서의 중첩 데이터문서 내에 배열(맵) 등의 복합 개체를 중첩할 수 있습니다.장점: 문서 안에 단순한 고정 데이터 목록을 보관하려는 경우 데이터 구조를 손쉽게 설정하고 간소화할 수 있습니다.한계: 중첩 목록에 대해 쿼리를 실행할 수 없습니다. 또한 시간에 따라 데이터가 증가하는 경우 다른 옵션보다 확장성이 부족합니다. 목록이 커..
You have two choices:The first and most performant is to use associateBy function that takes two lambdas for generating the key and value, and inlines the creation of the map:val map = friends.associateBy({it.facebookId}, {it.points})The second, less performant, is to use the standard map function to create a list of Pair which can be used by toMap to generate the final map:val map = friends.map..
https://github.com/gkskenftpt/test/blob/master/1.mdhttps://github.com/gkskenftpt/test/blob/master/2.mdhttps://github.com/gkskenftpt/test/blob/master/3.mdhttps://github.com/gkskenftpt/test/blob/master/4.md
https://medium.com/@aristides.papadopoulos/completable-to-single-boolean-in-rxjava2-2cb65cc9b613
http://pluu.github.io/blog/android/droidkaigi/2017/12/30/droidkaigi-location/
https://stackoverflow.com/a/47126127 Fix res/values/styles.xml and Manifest.xml like so:This solution is tested and don't forget to clean and build :Manifest.xmlchange the theme of HomeActivity to : 2. res/values/styles.xml Make all your themes preceeded with Base :styles.xml will be like this :
https://www.tutorialspoint.com/android/android_drag_and_drop.htm
MVI 패턴 기본 설명 (영문)http://hannesdorfmann.com/android/model-view-intent MVI Realm 한글 설명https://academy.realm.io/kr/posts/eric-maxwell-uni-directional-architecture-android-using-realm/ MVI + Clean Architecture boilerplatehttps://github.com/bufferapp/android-clean-architecture-mvi-boilerplate Google TODO MVI +Rxjavahttps://github.com/oldergod/android-architecture/tree/todo-mvi-rxjava
이번에 새로산 페이퍼 프로 ..전자잉크라서 그런지 가독성도 좋고 최고입니다. 추천합니다~
http://www.popit.kr/cors-preflight-%EC%9D%B8%EC%A6%9D-%EC%B2%98%EB%A6%AC-%EA%B4%80%EB%A0%A8-%EC%82%BD%EC%A7%88/
https://brunch.co.kr/@brightlee/13
https://medium.com/@joongwon/kotlin-kotlin-%ED%82%A4%EC%9B%8C%EB%93%9C-%EB%B0%8F-%EC%97%B0%EC%82%B0%EC%9E%90-%ED%95%B4%EB%B6%80-part-3-59ff3ed736be?source=rss-1ee57944eab8------2
https://medium.com/nos-digital/some-useful-insights-on-instant-apps-67cc7d177695
코틀린으로 연동시 주의 할 점 1. Data class 설정시 꼭 val -> var 로 하자. 2. app build gradle 설정시 윗부분에 apply plugin: 'kotlin-kapt' 을 넣어주자3. Database 에 export = true 또는 build.gradle 하단에 ============================================configurations.all { resolutionStrategy.eachDependency { DependencyResolveDetails details -> def requested = details.requested if (requested.group == 'com.android.support') { if (!requested..
http://www.moreagile.net/2015/05/how-to-start-machine-learning-study.html?m=1
Our Top Nine Learnings from Migrating from RxJava 1 to RxJava 2 https://www.runtastic.com/blog/en/tech/rxjava-2-migration-learnings/?utm_source=Android+Weekly&utm_campaign=e254d2512b-androidweekly-285&utm_medium=email&utm_term=0_4eb677ad19-e254d2512b-338106413
http://soulduse.tistory.com/m/63
http://damoa-nawa.tistory.com/173
adb shell am startservice -n com.google.wifisetup/.WifiSetupService -a WifiSetupService.Resetadb shell am startservice -n com.google.wifisetup/.WifiSetupService -a WifiSetupService.Connect -e ssid "De\ Buurman" -e passphrase "test1234""" 사이에 값 입력해야 함. 그리고 한번 껏다가 키면서 랜선도 제거 해준다.
1. 개인정보 처리방침이란?반갑습니다!영어공부는 이용자의 ‘동의를 기반으로 개인정보를 수집·이용 및 제공’하고 있으며, ‘이용자의 권리 (개인정보 자기결정권)를 적극적으로 보장’합니다. 회사는 정보통신서비스제공자가 준수하여야 하는 대한민국의 관계 법령 및 개인정보보호 규정, 가이드라인을 준수하고 있습니다.“개인정보 처리방침”이란 이용자의 소중한 개인정보를 보호함으로써 이용자가 안심하고 서비스를 이용할 수 있도록 회사가 준수해야 할 지침을 의미합니다.본 개인정보 처리방침은 카카오 서비스(이하 '영어공부' 또는 '서비스'라 함)에 적용됩니다.2. 개인정보 수집서비스 제공을 위한 필요 최소한의 개인정보를 수집하고 있습니다.회원 가입 시 또는 서비스 이용 과정에서 홈페이지 또는 개별 어플리케이션이나 프로그램 등..
http://www.baeldung.com/kotlin-when
코틀린은 다음과 같은 길이를 가지고 있다.TypeWidthLong64Int32Short16Byte8Double64Float32테스트를 해보자val int = 123 val long = 123456L val double = 12.34 val float = 12.34F val hexadecimal = 0XAB val binary = 0b01010101 println( "$int , $long , $double , $float , $hexadecimal , $binary") ================== 123 , 123456 , 12.34 , 12.34 , 171 , 85 String 멀티 라인val rawString = """ 안녕하세요 반갑습니다. 코틀린입니다 """ print(rawString) =..
요구사항내 응용 프로그램에서는 최근에 다음과 같은 요구 사항이 있습니다. 항목의 반응적인 스트림에서 특정 항목이 하나 방출 될 때까지 기다린 다음 모든 항목을 관찰자에게 내 보냅니다. 해당 항목을 찾을 수 없으면 아무 것도 출력하지 말고 오류로 종료하십시오. https://medium.com/@Cypressious/rxjava-kotlin-conditionally-delaying-the-first-item-in-a-stream-9d4e7a8d0071
https://wiki.v.anil.la/w/index.php?title=%EC%B0%B8%EA%B3%A0%EC%84%9C:Kotlin/%ED%81%B4%EB%9E%98%EC%8A%A4%EC%99%80_%EA%B0%9D%EC%B2%B4/%EC%A0%91%EA%B7%BC_%EC%A0%9C%EC%96%B4%EC%9E%90&mobileaction=toggle_view_mobile
코틀린 세션https://medium.com/til-kotlin-ko/hey-kotlin-how-it-works-f77ac72e56c5 UI Test 연동으로 배포 두려움 없애기: CI, Espresso, Dagger2, Mockito, Firebase Test Labhttps://www.slideshare.net/KimJihyok/ui-test-ci-espresso-dagger2-mockito-firebase-test-lab Fabric Branch로 사용자 행동 완벽 분석하기https://speakerdeck.com/rfrost77/fabric-branchro-sayongja-haengdong-wanbyeog-bunseoghagi MVC부터 MVVM, 단방향 데이터 흐름까지https://speaker..
출처 : http://blog.gaerae.com/2015/06/code-search-engines.html Source graph홈페이지: https://sourcegraph.com 깔끔한 화면과 다양한 검색을 지원해준다. Search code홈페이지: https://searchcode.com GitHub, Bitbucket, Codeplex, Sourceforge, Fedora Project, Google Code에서 공유되고 있는 소스코드를 검색해준다. Github홈페이지: https://github.com Github에서 관리되는 소스를 검색해준다. Krugle홈페이지: http://krugle.org searchcode와 비슷하게 여러 오픈소스의 소스코드를 검색해준다. Antepedia홈페이지:..