2018/10(6)
-
데이터 시각화를 위한 Grafana 관련 자료
IOT 데이터를 시각화하는데 적합한 오픈소스 시각화 도구인 "그라파나"를 사용하고자 검토를 하고 있다.https://grafana.com/ 47종의 데이터 소스를 연동해서 시각화를 할 수 있는데, MongoDB를 지원하지 않아서 충격을 받았다. 지금껏 IOT 데이터베이스로 적합한 데이터베이스 중 하나가 MongoDB라고 굳게 믿고 사용해왔는데, Time Series Analytics(시계열 분석)에 적합하지 않아서인지 모르겠지만 그라파나에서 지원을 하지 않는다는 것이 납득이 되지 않는다. 대신, 시계열 데이터(Time Series) 데이터베이스인 InfuxDB를 그라파나와 많이 연동하는 것 같다.http://xcv.kr/blog/post/2018/2018-04-22-influxdb/https://yena..
2018.10.22 -
Python, Vue.js 테스트 관련 자료
Pytest Referenceshttps://pytest-cov.readthedocs.io/en/latest/https://blog2.lucent.me/pytest/pytest-example Testing json responses in Flask REST apps with pytesthttps://serge-m.github.io/testing-json-responses-in-Flask-REST-apps-with-pytest.html Vue.js Unit Testhttps://kr.vuejs.org/v2/guide/unit-testing.html#%EC%84%A4%EC%B9%98%EC%99%80-%EC%82%AC%EC%9A%A9-%EB%8F%84%EA%B5%AChttps://vuejs.org/v2/coo..
2018.10.20 -
Vue.js, Bootstrap 관련 팁 모음
Bootstrap-vue.jshttps://bootstrap-vue.js.org/docs/components/alert File Upload Progress Indicator with Axios and VueJShttps://serversideup.net/file-upload-progress-indicator-with-axios-and-vuejs//* Submits the file to the server */ submitFile(){ /* Initialize the form data */ let formData = new FormData(); /* Add the form data we need to submit */ formData.append('file', this.file); /* Make the ..
2018.10.18 -
AWS EC2 (Ubuntu) 몽고디비 설치 관련
우분투에서 몽고디비 설치 ubuntu@ibks-ifp-dev-com ~$ sudo apt-get install mongodb-server mongodb-clients ubuntu@ibks-ifp-dev-com ~$ mongod --version db version v2.6.10 2017-11-06T11:18:46.890+0900 git version: nogitversion 2017-11-06T11:18:46.890+0900 OpenSSL version: OpenSSL 1.0.2g 1 Mar 2016 ubuntu@ibks-ifp-dev-com ~$ mongo --version MongoDB shell version: 2.6.10 http://devstory.ibksplatform.com/2017/11/l..
2018.10.17 -
아이폰 X, XS, XS MAX, XR 대응 코드
https://stackoverflow.com/questions/46192280/detect-if-the-device-is-iphone-x You shall perform different detections of iPhone X depending on the actual need.for dealing with the top notch (statusbar, navbar), etc.class var hasTopNotch: Bool { if #available(iOS 11.0, tvOS 11.0, *) { // with notch: 44.0 on iPhone X, XS, XS Max, XR. // without notch: 20.0 on iPhone 8 on iOS 12+. return UIApplicati..
2018.10.11 -
Python 프로그램을 윈도우 서비스 실행 및 EC2 데몬 실행
파이선으로 만든 프로그램을 윈도 서비스로 만들어서 항상 실행되게 하려고 했는데... 뭐가 이리도 복잡한지 원.한참을 괜찮은 레퍼런스 찾다가 결국 이것을 찾았다. 레퍼런스란 이렇게 만드는 것이다!!깔끔한 README 파일과 예제 샘플 하나... 정말 핵심만 정리 잘해놓았다.https://gist.github.com/guillaumevincent/d8d94a0a44a7ec13def7f96bfb713d3f Build(env)$ pyinstaller -F --hidden-import=win32timezone WindowsService.py Run(env) dist\WindowsService.exe install Installing service TestService Service installed (env) d..
2018.10.02