Rename to say-joke.ps1 and say-quote.ps1

This commit is contained in:
Markus Fleschutz 2021-10-13 10:36:18 +02:00
parent f1c204b798
commit b24f938476
7 changed files with 75 additions and 23 deletions

View File

@ -195,6 +195,8 @@ remove-tag.ps1, Removes a tag in a Git repository
replace-in-files.ps1, Search and replace a pattern in the given files by the replacement
restart-network-adapters.ps1, Restarts all local network adapters
say-date.ps1, Say the current date by text-to-speech
say-joke.ps1, Say a random Chuck Norris joke by text-to-speech
say-quote.ps1, Say a random quote by text-to-speech
say-time.ps1, Say the current time by text-to-speech
search-filename.ps1, Searches the directory tree for filenames by given pattern
search-files.ps1, Searches the given pattern in the given files
@ -207,19 +209,17 @@ set-timer.ps1, Sets a timer for a countdown
set-wallpaper.ps1, Sets the given image as wallpaper
simulate-matrix.ps1, Simulates the Matrix (fun)
simulate-presence.ps1, Simulates the human presence against burglars
speak-checklist.ps1, Speaks the given checklist by text-to-speech (TTS)
speak-countdown.ps1, Starts a countdown by text-to-speech (TTS)
speak-english.ps1, Speaks the given text with an English text-to-speech (TTS) voice
speak-epub.ps1, Speaks the content of the given Epub file by text-to-speech (TTS)
speak-file.ps1, Speaks the content of the given text file by text-to-speech (TTS)
speak-french.ps1, Speaks the given text with a French text-to-speech (TTS) voice
speak-german.ps1, Speaks the given text with a German text-to-speech (TTS) voice
speak-italian.ps1, Speaks the given text with an Italian text-to-speech (TTS) voice
speak-joke.ps1, Speaks a random Chuck Norris joke by text-to-speech (TTS)
speak-quote.ps1, Speaks a random quote by text-to-speech (TTS)
speak-spanish.ps1, Speaks the given text with a Spanish text-to-speech (TTS) voice
speak-test.ps1, Performs a speak test by text-to-speech (TTS)
speak-text.ps1, Speaks the given text by text-to-speech (TTS)
speak-checklist.ps1, Speaks the given checklist by text-to-speech
speak-countdown.ps1, Starts a countdown by text-to-speech
speak-english.ps1, Speaks the given text with an English text-to-speech voice
speak-epub.ps1, Speaks the content of the given Epub file by text-to-speech
speak-file.ps1, Speaks the content of the given text file by text-to-speech
speak-french.ps1, Speaks the given text with a French text-to-speech voice
speak-german.ps1, Speaks the given text with a German text-to-speech voice
speak-italian.ps1, Speaks the given text with an Italian text-to-speech voice
speak-spanish.ps1, Speaks the given text with a Spanish text-to-speech voice
speak-test.ps1, Performs a speak test by text-to-speech
speak-text.ps1, Speaks the given text by text-to-speech
start-calibre-server.ps1, Starts a local Calibre server
start-ipfs-server.ps1, Starts a local IPFS server
switch-branch.ps1, Switches the branch in the current/given Git repository (including submodules)

Can't render this file because it has a wrong number of fields in line 90.

View File

@ -30,8 +30,8 @@ export-to-serenade.ps1 [[-FilePattern] <String>] [[-TargetFile] <String>] [<Comm
## Example
```powershell
PS>./export-to-serenade.ps1
Found 264 scripts, starting export to C:\Users\Markus/.serenade/scripts/PowerShell.js...
✔️ exported 264 PowerShell scripts for Serenade voice control in 22 sec
Exporting 264 scripts to C:\Users\Markus/.serenade/scripts/PowerShell.js...
✔️ exported 264 PowerShell scripts to Serenade in 22 sec
```
## Notes

26
Docs/say-joke.md Normal file
View File

@ -0,0 +1,26 @@
## say-joke.ps1 - Say a random Chuck Norris joke by text-to-speech
This script selects a random joke in Data/jokes.csv and tells it by text-to-speech (TTS).
## Parameters
```powershell
say-joke.ps1 [<CommonParameters>]
[<CommonParameters>]
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
```
## Example
```powershell
PS>./say-joke
(listen and have fun)
```
## Notes
Author: Markus Fleschutz · License: CC0
## Related Links
https://github.com/fleschutz/PowerShell
*Generated by convert-ps2md.ps1 using the comment-based help of say-joke.ps1*

26
Docs/say-quote.md Normal file
View File

@ -0,0 +1,26 @@
## say-quote.ps1 - Say a random quote by text-to-speech
This script selects a random quote in Data/quotes.csv and tells it by text-to-speech (TTS).
## Parameters
```powershell
say-quote.ps1 [<CommonParameters>]
[<CommonParameters>]
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
```
## Example
```powershell
PS>./say-quote
(listen and learn)
```
## Notes
Author: Markus Fleschutz · License: CC0
## Related Links
https://github.com/fleschutz/PowerShell
*Generated by convert-ps2md.ps1 using the comment-based help of say-quote.ps1*

View File

@ -23,6 +23,8 @@ Mega Collection of PowerShell Scripts
| [play-super-mario.ps1](Scripts/play-super-mario.ps1) | Plays the Super Mario Intro | [Help](Docs/play-super-mario.md) |
| [play-tetris-melody.ps1](Scripts/play-tetris-melody.ps1) | Plays the Tetris melody | [Help](Docs/play-tetris-melody.md) |
| [say-date.ps1](Scripts/say-date.ps1) | Say the current date by text-to-speech | [Help](Docs/say-date.md) |
| [say-joke.ps1](Scripts/say-joke.ps1) | Say a random Chuck Norris joke by text-to-speech | [Help](Docs/say-joke.md) |
| [say-quote.ps1](Scripts/say-quote.ps1) | Say a random quote by text-to-speech | [Help](Docs/say-quote.md) |
| [say-time.ps1](Scripts/say-time.ps1) | Say the current time by text-to-speech | [Help](Docs/say-time.md) |
| [speak-checklist.ps1](Scripts/speak-checklist.ps1) | Speaks the given checklist by text-to-speech | [Help](Docs/speak-checklist.md) |
| [speak-countdown.ps1](Scripts/speak-countdown.ps1) | Starts a countdown by text-to-speech | [Help](Docs/speak-countdown.md) |
@ -32,8 +34,6 @@ Mega Collection of PowerShell Scripts
| [speak-french.ps1](Scripts/speak-french.ps1) | Speaks the given text with a French text-to-speech voice | [Help](Docs/speak-french.md) |
| [speak-german.ps1](Scripts/speak-german.ps1) | Speaks the given text with a German text-to-speech voice | [Help](Docs/speak-german.md) |
| [speak-italian.ps1](Scripts/speak-italian.ps1) | Speaks the given text with an Italian text-to-speech voice | [Help](Docs/speak-italian.md) |
| [speak-joke.ps1](Scripts/speak-joke.ps1) | Speaks a random Chuck Norris joke by text-to-speech | [Help](Docs/speak-joke.md) |
| [speak-quote.ps1](Scripts/speak-quote.ps1) | Speaks a random quote by text-to-speech | [Help](Docs/speak-quote.md) |
| [speak-spanish.ps1](Scripts/speak-spanish.ps1) | Speaks the given text with a Spanish text-to-speech voice | [Help](Docs/speak-spanish.md) |
| [speak-test.ps1](Scripts/speak-test.ps1) | Performs a speak test by text-to-speech | [Help](Docs/speak-test.md) |
| [speak-text.ps1](Scripts/speak-text.ps1) | Speaks the given text by text-to-speech | [Help](Docs/speak-text.md) |

View File

@ -1,10 +1,10 @@
<#
.SYNOPSIS
Speaks a random Chuck Norris joke by text-to-speech
Say a random Chuck Norris joke by text-to-speech
.DESCRIPTION
This script selects a random joke in Data/jokes.csv and uses text-to-speech (TTS) for output.
This script selects a random joke in Data/jokes.csv and tells it by text-to-speech (TTS).
.EXAMPLE
PS> ./speak-joke
PS> ./say-joke
(listen and have fun)
.NOTES
Author: Markus Fleschutz · License: CC0

View File

@ -1,10 +1,10 @@
<#
.SYNOPSIS
Speaks a random quote by text-to-speech
Say a random quote by text-to-speech
.DESCRIPTION
This script selects a random quote in Data/quotes.csv and uses text-to-speech (TTS) for output.
This script selects a random quote in Data/quotes.csv and tells it by text-to-speech (TTS).
.EXAMPLE
PS> ./speak-quote
PS> ./say-quote
(listen and learn)
.NOTES
Author: Markus Fleschutz · License: CC0