Googleマップでルートを検索し、ルート詳細を表示してから実行してください。
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
javascript:(function() { | |
if (!document.URL.startsWith('https://chat.openai.com')) { | |
alert('Please use on https://chat.openai.com'); | |
return; | |
} | |
const sanitize = html => { | |
return String(html).replace(/&/g,'&') | |
.replace(/</g,'<') | |
.replace(/>/g,'>') | |
.replace(/"/g,'"'); |
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
'use strict'; | |
const functions = require('firebase-functions'); | |
const { dialogflow } = require('actions-on-google'); | |
const app = dialogflow(); | |
app.intent('Default Welcome Intent', conv => { | |
conv.close('hello'); | |
}); |
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
[ | |
"arse", | |
"arsehole", | |
"ass", | |
"asshole", | |
"balls", | |
"bastard", | |
"beaver", | |
"beef curtains", | |
"bellend", |
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
lemon orange banana melon lemon | |
orange banana melon lemon orange | |
banana melon lemon orange banana | |
melon lemon orange banana melon | |
lemon orange banana melon lemon | |
orange banana melon lemon orange | |
banana melon lemon orange banana | |
melon lemon orange banana melon |
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
{ | |
"year": "2020", | |
"month": "03", | |
"ranking": [ | |
{ | |
"book_id": "773", | |
"access": 5113, | |
"title": "こころ", | |
"authors": [ | |
"夏目 漱石" |
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
<speak> | |
むかしむかし、あるところにおじいさんとおばあさんとアレクサがいました。 | |
<prosody pitch="x-low" rate="x-slow">おじいさん、アレクサのおかげで、毎日がたのしいですねぇ。</prosody> | |
では問題です。私は何歳でしょうか? | |
<prosody pitch="x-low" rate="x-slow"><voice name="Takumi">うーん、何歳だったかのう</voice></prosody> | |
<audio src='soundbank://soundlibrary/impacts/amzn_sfx_fireworks_whistles_01'/> | |
<prosody pitch="x-high">ボーッと生きてんじゃねーよ!</prosody> | |
<prosody pitch="x-high"><voice name="Kendra"><lang xml:lang="en-US">I am 4 years old!</lang></voice></prosody> | |
<audio src='soundbank://soundlibrary/human/amzn_sfx_crowd_excited_cheer_01'/> | |
</speak> |
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
http://instagram.com/developer/embedding/ | |
を参考にしてサムネイルを表示する。 |
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
{ | |
"manifest_version": 2, | |
"name": "Name of this extension", | |
"version": "0.1", // 新しい拡張を公開するたびに上げていく | |
"description": "Description of this extension", | |
"icons": { | |
"128": "icon128.png" // chrome://extensions に表示されるアイコン。128x128 | |
}, | |
"page_action": { | |
"default_icon": "icon128.png", // アドレスバーに表示されるアイコン。19x19, 38x38 を準備しておくべき? |
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
var urlRegExp = new RegExp('^https?://www.google.com/maps/preview'); // アドレスバーの横にアイコンを表示するときのURL正規表現 | |
function showIcon(tabId, changeInfo, tab) { | |
if (tab.url.match(urlRegExp)) { | |
chrome.pageAction.show(tabId); | |
} | |
} | |
chrome.tabs.onUpdated.addListener(showIcon); |
NewerOlder