Java アプリケーション(Spring Bootフレームワーク)でLINE BOTを作ってみる
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
version: "3.7" | |
services: | |
db: | |
image: postgres:11-alpine | |
volumes: | |
- pg11-data:/var/lib/postgresql/data | |
environment: | |
POSTGRES_USER: postgres | |
POSTGRES_PASSWORD: postgres | |
POSTGRES_INITDB_ARGS: "--no-locale --encoding=UTF-8" |
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
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta charset="UTF-8"> | |
</head> | |
<body> | |
<p id="wait"><strong>じゅんびちゅう...</strong></p> |
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
2a438a3ecfaf3ee031400356729a637a | |
https://www.dropbox.com/s/uyv3s4cy2uxvbyp/%E8%A9%95%E4%BE%A1%E3%82%B7%E3%83%BC%E3%83%AB%E5%8F%B0%E7%B4%99%EF%BC%88%E3%82%B2%E3%82%B9%E3%83%88%E7%94%A8%EF%BC%89.docx?dl=0 |
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
#!/bin/bash | |
# ------------- | |
# How to use. | |
# ------------ | |
# DB vaccum and dump. | |
# Execute the file as a root. | |
# If you vacuum and dump "foo" database, execute command :`daily-dump foo` | |
# ------------ | |
if [ "$1" = "" ] |
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
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta charset="UTF-8"> | |
<script type="text/javascript"> | |
"use strict"; | |
// ミリ秒を取得する |
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
//心拍センサーモジュールを用意し、D2ピンの心拍センサーをeehr2という名前で操作できるようにする | |
var groveehr = require('jsupm_groveehr'); | |
var ehr2 = new groveehr.GroveEHR(2); | |
//心拍センサーの動作を開始する | |
ehr2.clearBeatCounter(); | |
ehr2.initClock(); | |
ehr2.startBeatCounter(); | |
//心拍センサーから1秒ごとに生体情報を収集する |
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
<settings> | |
<localRepository>/tmp/m2repo</localRepository> | |
</settings> |
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
var mraa = require("mraa"); | |
var lcd = require('jsupm_i2clcd'); | |
var button = new mraa.Gpio(2); | |
button.dir(mraa.DIR_IN); | |
//var led = new mraa.Pwm(3); | |
//led.period(1); | |
//led.enable(true); |
NewerOlder