목록링크모음 (173)
올해는 머신러닝이다.
Android 에뮬레이터 실행시 Emulator: Process finished with exit code -1073741819 (0xC0000005)라는 에러로 실행이 되지 않는 경우 avd config 파일에서 hw.gpu.mode = off출처 : https://stackoverflow.com/a/51740954
ou may need to try setting certain variables within your sessiontmp_table_sizemax_heap_table_sizeThese particular values may be too small for your DB Connection to fulfill the query efficiently. These can be set within as follows:To see what values these settings have currently do the following:SHOW VARIABLES LIKE 'max_heap_table_size';SHOW VARIABLES LIKE 'tmp_table_size';To set max_heap_table_s..
출처 : https://stackoverflow.com/questions/29478751/how-to-cancel-an-emcascript6-vanilla-javascript-promise-chainWhile there isn't a standard way of doing this in ES6, there is a library called Bluebird to handle this.There is also a recommended way described as part of the react documentation. It looks similar to what you have in your 2 and 3rd updates.const makeCancelable = (promise) => { let ha..
https://ethereum.stackexchange.com/questions/28703/full-list-of-geth-terminal-commandsBy running geth and entering the start of each of the global objects I'm aware of I can get the following lists, but I won't mark this as the correct answer as I'm sure there is documentation out there somewhere.> eth.eth._requestManager eth.getBlockUncleCount eth.getWork eth.accounts eth.getCode eth.hashrate e..
5월 21일. 핫한 IT, 개발, Blockchain, 노마드 뉴스 TOP5 1. TOP 10 자바스크립트 에러 (5월 16일. code burst.) - 가장 흔한 자바스크립트 탑10 에러! - can not read property! - 어떻게 에러를 피하는지 팁 공개 2. 재택근무? 집에서 효율적으로 일하는 5가지 방법 (4월17일. Medium.) - 디지털노마드, 프리랜서라서 집에서 일하는 당신을 위한 팁 - 1번. 잠옷입고 일하지 마라 - 린이 추천합니다. 3. 봇을 만들며 알게된 7가지 레슨 (5월 18일. Hacker Noon.) - 트위터봇을 만든 개발자가 배운 7가지 레슨 - 1번. 타잎스크립트 까먹지마 4. 구글 자바스크립트 스타일 가이드 13가지 신박한 가이드 (3월 27일. fr..
https://codehangar.io/mongodb-image-instance-with-docker-toolbox-tutorial/
https://github.com/bear2u/til/blob/master/blockchain/DAPP/%ED%81%AC%EB%A6%BD%ED%86%A0%ED%82%A4%ED%8B%B0%EC%86%8C%EC%8A%A4.md
크립토 좀비 https://cryptozombies.io 프로그래머스https://programmers.co.kr/pages/blockchain 자바스크립트로 블록체인 코인 클론https://academy.nomadcoders.co/p/nomad-coin
Document Metadata• Creators: @ned; @theoretical• Developers: @theoretical; @vandeberg; @itwasntme; @zgredek; @pychol-mychol;@small.minion; @youkaicountry; @picokernel• Contributors:@sneak; @vandeberg; @valzav; @youkaicountry; @justinw;@goldibex; et al.• Sketch designs: @pkattera• Copyright (c) Steemit, Inc. 2017• GitHub: https://github.com/steemit/smt-whitepaper/blob/master/smt-manual/manual.md ..
https://stackoverflow.com/questions/19970301/convert-javascript-object-or-array-to-json-for-ajax-data/24728537#24728537
https://medium.com/@antonicg/android-clean-architecture-with-viewmodel-usecases-and-repositories-part-1-b9e63889a1aahttps://medium.com/@antonicg/android-clean-architecture-with-viewmodel-usecases-and-repositories-part-2-unit-testing-4683b334b327
영문https://media.readthedocs.org/pdf/solidity/latest/solidity.pdfhttp://solidity.readthedocs.io/en/develop/ 한글https://ggs134.gitbooks.io/solidityguide/content/
출처 : http://b1ix.net/322
https://coderwall.com/p/zrdsmq/signing-configs-with-gradle-android
https://www.raywenderlich.com/174137/android-unit-testing-with-mockito
http://thetechnocafe.com/make-bottom-sheet-android/?utm_source=Android+Weekly&utm_campaign=06a50e579d-EMAIL_CAMPAIGN_2018_01_28&utm_medium=email&utm_term=0_4eb677ad19-06a50e579d-338106413
출처 : http://fragmentedpodcast.com/episodes/110/?utm_source=Android+Weekly&utm_campaign=06a50e579d-EMAIL_CAMPAIGN_2018_01_28&utm_medium=email&utm_term=0_4eb677ad19-06a50e579d-338106413
Synchronous:var fs = require('fs'); var array = fs.readFileSync('file.txt').toString().split("\n"); for(i in array) { console.log(array[i]); }Asynchronous:var fs = require('fs'); fs.readFile('file.txt', function(err, data) { if(err) throw err; var array = data.toString().split("\n"); for(i in array) { console.log(array[i]); } });
새로나온 룸 에서는 리스트형태가 저장이 안된다. 그래서 json string으로 변환 후에 저장했다가 꺼낼때에 다시 변환해야 합니다. https://stackoverflow.com/questions/44986626/android-room-database-how-to-handle-arraylist-in-an-entity
https://blog.stylingandroid.com/tool-time-part-1-2/?utm_source=Android+Weekly&utm_campaign=97507a2973-EMAIL_CAMPAIGN_2018_01_21&utm_medium=email&utm_term=0_4eb677ad19-97507a2973-338106413
task deleteBuild(type: Delete) { delete 'build/generated/' delete project(':mobile-ui').file('build/') delete project(':domain').file('build/') delete project(':cache').file('build/') delete project(':presentation').file('build/') delete project(':data').file('build/') delete project(':remote').file('build/') } mobile-ui -> app 모듈로 변경..
https://www.raywenderlich.com/183588/introduction-google-maps-api-android-2
MIME-TypeDescriptionFile Extensionapplication/acadAutoCAD drawing filesdwgapplication/clariscadClarisCAD filesccadapplication/dxfDXF (AutoCAD)dxfapplication/msaccessMicrosoft Access filemdbapplication/mswordMicrosoft Word filedocapplication/octet-streamUninterpreted binarybinapplication/pdfPDF (Adobe Acrobat)pdfapplication/postscriptPostscript, encapsulated Postscript,ai, ps, epsAdobe Illustrato..
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