This file contains 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
TS_SOCKET=/tmp/ts-sock.add ts sleep 10 | |
TS_SOCKET=/tmp/ts-sock.del ts sleep 10 | |
TS_SOCKET=/tmp/ts-sock.edit ts sleep 10 |
This file contains 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
Xvfb -ac :99 -screen 0 1280x1024x16 & | |
export DISPLAY=:99 |
This file contains 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
function sendTempHumid(tempHumid) { | |
// Send the device a 'pong' message immediately | |
server.log("デバイス = " + tempHumid[0] + "度 / " + tempHumid[1] + "%"); | |
local url = "センサーデータ受信用サーバのAPIパス"; | |
// Prepare the request with a JSON payload | |
local body = http.jsonencode({ "temp": tempHumid[0], "humid" : tempHumid[1] }); | |
local extraHeaders = {}; | |
local request = http.post(url, extraHeaders, body); |
This file contains 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 Foundation | |
import Gryphon | |
final class API { | |
/* | |
* Your common property or function. | |
*/ | |
} | |
extension API { |
This file contains 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
MATCH (s:Company),(c:Company) | |
WHERE s.name IN c.supplyer | |
CREATE (s)-[r:得意先]->(c) | |
RETURN r; |
This file contains 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
python load.py | |
Using TensorFlow backend. | |
32/280 [==>...........................] - ETA: 0s予測:1,実際1,True | |
予測:1,実際1,True | |
予測:1,実際1,True | |
: | |
: | |
: | |
予測:2,実際2,True | |
予測:2,実際0,False |
This file contains 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
npm install rolling-spider | |
npm install express | |
npm install path | |
npm install http | |
npm install swig | |
npm install body-parser | |
This file contains 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
npm install rolling-spider | |
npm install express | |
npm install path | |
npm install http | |
npm install swig | |
npm install body-parser | |
This file contains 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
python generate_tiles.py | |
/usr/lib64/python2.7/site-packages/mapnik2/__init__.py:27: DeprecationWarning: mapnik2 module has been deprecated, | |
please use 'import mapnik' | |
warnings.warn(msg, DeprecationWarning) | |
render_tiles( (139.549763, 35.675632, 139.771898, 35.964519) /usr/local/src/mapnik-v2.0.2/mapnik-stylesheets/osm.xml /var/lib/mod_tile/default/ 10 16 unknown ) | |
Traceback (most recent call last): | |
File "generate_tiles.py", line 220, in <module> | |
render_tiles(bbox, mapfile, tile_dir, minZoom, maxZoom) | |
File "generate_tiles.py", line 136, in render_tiles | |
renderer = RenderThread(tile_dir, mapfile, queue, printLock, maxZoom) |
This file contains 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
#[base]の最後に行追加 | |
exclude=postgresql* | |
#[updates]の最後に行追加 | |
exclude=postgresql* | |
#[extras]の最後に行追加 | |
exclude=postgresql* |
NewerOlder