본문 바로가기

Learned with Apache Ignite - server/ client mode made easy with ipfinder, singleton server node - one machine has to be one server with multiple secvices - one machine has one client with mutiple services. - without ipfinder, server nodes are clusted. each nodes are trying to be synced its cache. - in/out parameter should he externalizable - default IGNITE_HOME is /tmp/ignite, to run multiple nodes inone machine, it shoul..
Learned with MongoDB - max size of one document is 16MB - creating index should be less time consuming before massive insertion - be careful to use of combination of index is usable. useless index could be takes much time than without it.
Learned with docker - Default max size of container is 10gb. - To extend it, add parameter in running docker daemon. If docker data folder already is created, it should be removed and restarted the daemon
Javascript Examples (GridStack.js, Cytoscape.js 등등) 제가 여러가지 Javascript library를 배우기 위해서 작성한 예제들입니다. 모두 http://codepen.io/ 에 올려져 있으니 fork에서 자유롭게 수정해서 쓰십시오. 1. Cytoscape.js Selector DemoCytoscape.js는 graph를 그리기위한 library 입니다.Cytoscape.js의 selector 예제입니다.bootstrap의 grid를 써서 layout을 사용했습니다.Cytoscape.js: http://js.cytoscape.org/ 2. GridStack.js + Cytoscape.jsgridstack으로 draggable한 widget형태로 창을 분할하고, 그 중하나의 창에 Cytoscape.js를 사용해서 graph를 보여주게 했습니다. Cytos..
Ionic and Typescript Video Tutorials Ionic Framework 에서 제공하는 Ionic과 Typescript 에 대한 튜터리얼입니다. Part1: https://www.youtube.com/watch?v=kVegt2E72wwPart2: https://www.youtube.com/watch?v=H6NxUieUjyMPart3: https://www.youtube.com/watch?v=b6JEjfdDoKgPart4: https://www.youtube.com/watch?v=GJQ6lWb3ifY 참고하세요.
Ionic Awesomes Ionic: Angular 기반 Webview 위에서 동작하는 Mobile Cross-platform application framework 입니다. 아래의 링크만 둘러봐도 좋은 자료들이 많이 있습니다. https://github.com/Alexintosh/Awesome-Ionichttps://github.com/lanceli/awesome-ionic
왜 0 대신 Integer.valueOf(0) 을 써야할까? Android 개발자 사이트에서 in-app billing 관련하여 예제코드를 보면 아래와 같이 int 0값을 Integer.valueOf(0)으로 넘겨주는 것을 볼 수가 있습니다. startIntentSenderForResult(pendingIntent.getIntentSender(), 1001, new Intent(), Integer.valueOf(0), Integer.valueOf(0), Integer.valueOf(0)); 실제 0과 Integer.valueOf(0)은 의미적으로는 동일하게 0입니다만, Java내부의 구현을 들어가면 0 이나 new Integer(0)은 객체를 새로 만드는 것이고, Integer.valueOf(0)는 cache된 객체를 다시 사용할 수가 있습니다. 그래서 이 값을 ..
Github의 TOPT (Time-based OTP) 설정 후 Android 앱에서 접속하려면 Github의 TOPT를 설정을 하면 로그인마다 OPT 값을 물어봅니다. Android 앱에서 접속해도 마찬가지인데요. 실제 해보시면 Authenticator와 앱간에 이동을 하면서 OPT가 무효가 되는지 접속이 되지 않습니다. 이 경우는 Personal Access Tokens를 사용해보십시오. 이는 앱별로 token을 만들어서 암호대신 사용하는 건데, 이럴 때 쓰면 됩니다. Generate new token 버튼을 눌러서 새로 생성하고 이 암호를 로그인시 사용하면 정상적으로 접속이 됩니다.암호는 외우기 힘든 문자열로 되어 있으므로 개인적인 공간에 적거나 복사해놓으시고 사용하시게 좋을 듯 합니다. 혹시라도 노출되거나 잊어버리면 다시 생성하면 됩니다.