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
import React, { useEffect, useState, useRef } from "react"; | |
import { | |
SpeechRecogintionResult, | |
createSpeechRecognition, | |
createMediaRecorder, | |
SpeechRecord | |
} from "./utils"; | |
let currentSpeechRecognition: any | null = null; | |
let currentMediaRecorder: any | null = null; |
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
#!/usr/bin/perl -w | |
# src/htdocs 下の PHP ファイルのパスを取得して表示します。 | |
# ファイル名が php-files.txt に含まれているもののみ取得します。 | |
# @files は「foo.php」のような PHP ファイル名のリスト,行区切り | |
open FILE, '<', 'php-files.txt'; | |
chomp(@files = <FILE>); | |
@file_dict{@files} = (); # ハッシュスライスを使って、%file_dict のキーとして @files の中身を入れる |