lsmod | grep kvm
kvm_intel 167936 3
kvm 499712 1 kvm_intel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Install opencv from source | |
| https://docs.opencv.org/3.4.1/dd/dd5/tutorial_py_setup_in_fedora.html | |
| https://github.com/tesseract-ocr/tesseract/wiki | |
| https://github.com/BVLC/caffe | |
| yum install cmake | |
| yum install python-devel numpy | |
| yum install gcc gcc-c++ | |
| yum install gtk2-devel |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| upstream node_server { | |
| server 127.0.0.1:3000 fail_timeout=0; | |
| server 127.0.0.1:3001 fail_timeout=0; | |
| } | |
| server { | |
| listen 80 ; | |
| server_name localhost ; | |
| location / { | |
| add_header 'Access-Control-Allow-Origin' 'http://127.0.0.1:3000/' ; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
| " => General | |
| """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
| "Necessary for cool features of vim | |
| set nocompatible | |
| " Sets how many lines of history VIM has to remember and undolevels | |
| set history=9999 | |
| set undolevels=9999 | |
| " Enable syntax highlighting |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cd ~/.atom/packages/ | |
| apm install angularjs | |
| apm install atom-beautify | |
| apm install atom-path-intellisense | |
| apm install autocomplete | |
| apm install autocomplete-module-import | |
| apm install autocomplete-modules | |
| apm install autocomplete-paths | |
| apm install autocomplete-plus | |
| apm install busy-signal |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| This sketch sends data via HTTP GET requests to data.sparkfun.com service. | |
| You need to get streamId and privateKey at data.sparkfun.com and paste them | |
| below. Or just customize this script to talk to other HTTP servers. | |
| */ | |
| #include <ESP8266WiFi.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| install plug | |
| curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | |
| ส่วน vimrc ไปเอาจาก | |
| https://vim-bootstrap.com/ | |
| เพิ่ม | |
| set mouse+=a | |
| Plug 'Valloric/YouCompleteMe', { 'do': './install.py --tern-completer' } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1 create new repository and upload to github | |
| $ mkdir komomi | |
| $ git init . | |
| $ touch README.md | |
| $ git remote add origin url | |
| $ touch .gitignore | |
| 2 create sphinx | |
| $ pip3 install sphinx | |
| $ mkdir docs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ArduinoJson - arduinojson.org | |
| // Copyright Benoit Blanchon 2014-2018 | |
| // Author Sawangpong Muadphet <itbakerydev@gmail.com> | |
| // Komomi co ltd | |
| // Description getLocation() sent Get() to ip-api.com/json | |
| // to get ip information | |
| // MIT License | |
| #include <WiFi.h> |