Skip to content

Instantly share code, notes, and snippets.

Avatar

Hirokazu Takatama takatama

View GitHub Profile
View swear-words.json
[
"arse",
"arsehole",
"ass",
"asshole",
"balls",
"bastard",
"beaver",
"beef curtains",
"bellend",
@takatama
takatama / vireplace.txt
Created Jun 18, 2020
Linux標準教科書 v3.0.2 第6章 vi エディタ 学習用データ
View vireplace.txt
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
View aozora-bunko-2020-03.json
{
"year": "2020",
"month": "03",
"ranking": [
{
"book_id": "773",
"access": 5113,
"title": "こころ",
"authors": [
"夏目 漱石"
View ssml.xml
<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>
@takatama
takatama / index.js
Created May 3, 2018
dialogflow-fulfillment-nodejs v2.0.0 code template
View index.js
'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');
});
@takatama
takatama / README
Created Dec 1, 2014
Web Speech API (Synthesis)
View README
https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html
@takatama
takatama / jsdoit.html
Created Dec 1, 2014
英語トレーニング
View jsdoit.html
<button id="controller">開始</button>
<div id="display-ja">
</div>
<div id="display-en">
</div>
@takatama
takatama / README
Created Dec 1, 2014
英語トレーニング (Deferredのthen)
View README
音声が出ます。日本語に対応する英文を作りましょう。
View README
http://thecodeplayer.com/walkthrough/canvas-fireworks-tutorial
https://developer.mozilla.org/samples/canvas-tutorial/6_1_canvas_composite.html
View FizzBuzzTest.php
<?php
require_once 'FizzBuzz.php';
class FizzBuzzTest extends PHPUnit_Framework_TestCase
{
/**
* @test
*/
public function say()
{
$fizzBuzz = new FizzBuzz();