Add show-bitcoin-rate.ps1 and show-ether-rate.ps1

This commit is contained in:
Markus Fleschutz
2021-12-07 07:15:39 +01:00
parent 3e9db326bc
commit 8cb9e9a888
7 changed files with 37 additions and 7 deletions

View File

@ -4,7 +4,7 @@
.DESCRIPTION
This script queries the current Bitcoin exchange rates and answers by text-to-speech (TTS).
.EXAMPLE
PS> ./check-bitcoin
PS> ./check-bitcoin-rate
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK

View File

@ -4,7 +4,7 @@
.DESCRIPTION
This script queries the current Dogecoin exchange rates and answers by text-to-speech (TTS).
.EXAMPLE
PS> ./check-doge-coin
PS> ./check-doge-coin-rate
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK

View File

@ -1,10 +1,10 @@
<#
.SYNOPSIS
Checks the Ethereum rate
Checks the Ether rate
.DESCRIPTION
This script queries the current Ethereum exchange rates and answers by text-to-speech (TTS).
.EXAMPLE
PS> ./check-ethereum
PS> ./check-ether-rate
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK

View File

@ -4,7 +4,7 @@
.DESCRIPTION
This script launches the Web browser with the Toggl Track website.
.EXAMPLE
PS> ./open-toggl-track
PS> ./open-toggl-website
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK

View File

@ -0,0 +1,15 @@
<#
.SYNOPSIS
Shows the Bitcoin rate
.DESCRIPTION
This script launches the Web browser and shows the Bitcoin rate.
.EXAMPLE
PS> ./show-bitcoin-rate
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
& "$PSScriptRoot/open-default-browser.ps1" "https://www.bitstamp.net/markets/btc/usd/"
exit 0 # success

View File

@ -0,0 +1,15 @@
<#
.SYNOPSIS
Shows the Ether rate
.DESCRIPTION
This script launches the Web browser and shows the Ether rate.
.EXAMPLE
PS> ./show-ether-rate
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
& "$PSScriptRoot/open-default-browser.ps1" "https://www.bitstamp.net/markets/eth/usd/"
exit 0 # success