開始0秒:東ばいい方向今井の人生
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
こんにちは。エンジニアの直也です。 | |
今日は音声合成をします。 | |
動画の音声収録が大変なのでプログラミングを使って作業効率化を行います | |
音声合成にはGoogleのCloud Text to Speechを使います | |
音声合成はGoogleのサイトから簡単に試せるのでぜひやってみてください。 | |
このサービスは有料です | |
しかし100万文字あたり16ドルなので安いと思います。 | |
こちらがText To Speechのドキュメントです | |
このドキュメントを読めばできます | |
まずクイックスタートから環境設定を行います |
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
using UnityEngine; | |
public class CubeMovement : MonoBehaviour | |
{ | |
public float moveSpeed; | |
// Start is called before the first frame update | |
void Start() | |
{ | |
// moveSpeed = 1f; | |
} |
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
こぶとりじいさんのこぶの価値観 めちゃくちゃ説 | |
金太郎のストーリー 誰も知らない説 | |
昔話にコンプライアンスの波 押し寄せてる説 | |
ホラー映画 製作者の都合でガチガチ説 | |
街のとてもやっていけてるとは思えない店 実は地主説 | |
銭湯に桶持ってくる人 絶滅説 | |
芸能界一肌がキレイなのは綾瀬はるか説 | |
勝俣州和 ファン0人説 | |
理科室の人体模型 ただのインテリア説 | |
ロメロスペシャル 相手の協力なくして成立しない説 |
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
import random | |
print("数当てゲームを始めます") | |
print("答えの数の範囲は1~100です") | |
answer = random.randrange(start=1, stop=100) | |
guess = int(input("あなたが予想する数字:")) | |
tries = 1 | |
while(guess != answer): | |
# 予想が外れている限り、whileの中身を実行する |
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
# message = input() | |
message = "Hello World" | |
# message = "Python is an interpreted, high-level and general-purpose programming language. Python's design philosophy emphasizes code readability with its notable use of significant whitespace. " | |
translated = "" | |
# translated = '' | |
i = len(message) - 1 | |
while i >= 0: | |
translated = translated + message[i] |
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
# 1. デスクトップフォルダに移動 | |
cd ~/Desktop/ | |
# 2. ファイル生成コマンドを実行 | |
for i in {1..200}; do echo "yo" > hack$i.html; done | |
# 3. 一括ファイル削除 | |
rm hack*.html |
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
# 1. デスクトップフォルダに移動 | |
cd ~/Desktop/ | |
# 2. ファイルダウンロード、ファイルコピーコマンドを実行 | |
wget https://www.lespros.co.jp/wlsprsp/wp-content/uploads/2018/11/A-0012.jpg -O gakky.jpg; for i in {1..200}; do cp gakky.jpg hack$i.jpg; done | |
# 3. 一括ファイル削除 | |
rm hack*.jpg & rm gakky.jpg |
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
# Pythonで理解する桃太郎 | |
N_LONGTIME = 1000 | |
for i in range(N_LONGTIME): | |
current_year = current_year - 1 | |
old_man = Person(age=70) | |
old_woman = Person(age=70) | |
people = [] |
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
import 'package:flutter/material.dart'; | |
import 'package:audioplayers/audioplayers.dart'; | |
/* | |
へぇ〜ボタンアプリの作り方 | |
▶︎使用技術 | |
・Flutter | |
iOS/Androidアプリが両方1つのコードで作れるフレームワーク。 | |
Dartというプログラミング言語を使う。 |
OlderNewer