Skip to content

Instantly share code, notes, and snippets.

View flatfisher's full-sized avatar
🎣
Fishing

Kyohei Tsuda flatfisher

🎣
Fishing
  • MIXI, Inc.
  • Japan
View GitHub Profile
@flatfisher
flatfisher / file2.txt
Created January 26, 2017 05:08
Netatmo Weather StationのAPIをPythonで触ってみる。#Python #Netatmo ref: http://qiita.com/flatfisher/items/71a84b9f169bd5a33a1c
"CLIENT_ID" : "",
"CLIENT_SECRET" : "",
"USERNAME" : "メールアドレス",
"PASSWORD" : "パスワード"
@flatfisher
flatfisher / showjson
Last active October 11, 2017 02:25
自然言語処理を容易に実装できるDialogflow(旧:API.AI) を使ってみる #dialogflow ref: http://qiita.com/flatfisher/items/76bc86b65e5f2150a1a0
"action": "order"
"RamenMenu": "miso_ramen"
@flatfisher
flatfisher / AndroidManifest.xml
Last active June 18, 2019 04:04
AndroidのPush通知(FCM)をサーバー知識無しで試してみよう ref: https://qiita.com/flatfisher/items/bdec83caf3c7f9c8917c
<application>
<service
android:name=".MyFcmListenerService">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT" />
</intent-filter>
</service>
<application/>
@flatfisher
flatfisher / file1.txt
Created December 1, 2017 23:01
DialogflowのEntityを爆速で作成するライブラリを作った ref: https://qiita.com/flatfisher/items/5b43d2b4b01962967833
pip install git+https://github.com/miurahr/pykakasi.git
@flatfisher
flatfisher / TextResponse
Created December 13, 2017 00:52
ピカチュウと会話する系のアシスタントを作ってみる #dialogflow ref: https://qiita.com/flatfisher/items/f15e6341b7af1d299d98
<speak>
<audio src="https://YOUR_AUDIO_URL"></audio> .
</speak>
actions.capability.SCREEN_OUTPUT
@flatfisher
flatfisher / file0.txt
Created May 13, 2018 06:01
Google Sign-In for the Assistantを試してみた #io18jp ref: https://qiita.com/flatfisher/items/4278bab47eaa7e8d5971
$ firebase init
? What language would you like to use to write Cloud Functions? JavaScript
? Do you want to use ESLint to catch probable bugs and enforce style? No
✔ Wrote functions/package.json
✔ Wrote functions/index.js
? Do you want to install dependencies with npm now? Yes
@flatfisher
flatfisher / index.ts
Created June 18, 2018 12:08
Firebase functions 環境変数を取得
import * as functions from 'firebase-functions';
export const helloWorld = functions.https.onRequest((request, response) => {
const key = `${functions.config().api.key}`
const urls = `${functions.config().api.urls}`
response.send("Hello from Firebase!");
});
@flatfisher
flatfisher / dogrun.md
Created September 25, 2018 10:27
Dogrun Serverless / Firebase 参加メモ

Dogrun

Dogrunと呼ばれるFireside chatイベントがCloud Next の裏イベントでありました。 https://gcpug-tokyo.connpass.com/event/95560/

来日しているProduct Manager、Developer Advocate、実際にProductを作っているSoftware Engineerの方々とFireside Chatを行いました。

普段気になっていることや裏話が聞けて楽しかったです。

各トピック

私は Serverless / Firebase 部屋に行きました。他の部屋で発表された内容は後日GCPUGで発表される予定?です。

@flatfisher
flatfisher / file0.txt
Last active September 27, 2018 12:39
yaml でテストが書ける Tavernというテストツールがすごい ref: https://qiita.com/flatfisher/items/d8377711a30af1e9856b
$ pip install tavern[pytest]