<template>
<div>
<h1>Parent</h1>
<child-component :child-message="message" @update="update"></child-component>
</div>
</template>
<script>
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
| import logging | |
| import os | |
| logger = logging.getLogger(__name__) | |
| logger.setLevel(logging.DEBUG) | |
| logname = "program.log" | |
| fh = logging.FileHandler(os.path.expanduser(logname)) | |
| fh.setLevel(logging.DEBUG) | |
| ch = logging.StreamHandler() | |
| ch.setLevel(logging.INFO) |
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
| import multiprocessing as multi | |
| from multiprocessing import Pool | |
| p = Pool(multi.cpu_count()) | |
| p.map(process, data_list) | |
| p.close() |
# apt install gdal-bin
https://overpass-api.de/api/map?bbox=135.4854,34.6943,135.5045,34.7112
ogr2ogr.exe --config OSM_USE_CUSTOM_INDEXING NO -skipfailures -f "ESRI Shapefile" output.shp input.osm
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
| # for debug | |
| ``` | |
| $ pip install django-cors-headers | |
| ``` | |
| project/settings.pyを編集 | |
| ``` | |
| INSTALLED_APPS = [ | |
| ... | |
| 'corsheaders' |
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
| [user] | |
| name = tatsunode | |
| email = tatsunode@yahoo.co.jp | |
| [core] | |
| editor = vim -c \"set fence=utf-8\" | |
| [color] | |
| diff = auto | |
| status = auto | |
| branch = auto |
NewerOlder