OpenStreetMapの関西エリアの飲食店を、
$ osmium tags-filter kansai.osm.pbf nwr/amenity=restaurant,cafe,fast_food -o eatplace-in-kansai.osm.pbfで取得。
| #!/usr/bin/env bash | |
| set -ex | |
| if [ $# -ne 1 ]; then | |
| echo "指定された引数は$#個です。" 1>&2 | |
| echo "実行するには、import元のurlを一つ引数に指定してください。" 1>&2 | |
| exit 1 | |
| fi | |
| wp --path=/var/www/html/ db import /vagrant/wordpress.sql | |
| wp --path=/var/www/html/ search-replace $1 'http://vccw.test' |
| { | |
| // Place your snippets for typescriptreact here. Each snippet is defined under a snippet name and has a prefix, body and | |
| // description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are: | |
| // $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the | |
| // same ids are connected. | |
| // Example: | |
| "Insert typescript component": { | |
| "prefix": "component", | |
| "body": [ | |
| "import * as React from \"react\";", |