Updating to 1.21.0
This commit is contained in:
parent
c60f888b32
commit
a8300df843
|
@ -90,11 +90,6 @@ Converts Cryptocurrency based on realtime exchange rates of the top 10 cryptos
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
A valid use case would be:
|
|
||||||
```bash
|
|
||||||
cryptocurrency -f eur
|
|
||||||
```
|
|
||||||
|
|
||||||
Originally written by: [Jonas-Taha El Sesiy](https://github.com/elsesiy)
|
Originally written by: [Jonas-Taha El Sesiy](https://github.com/elsesiy)
|
||||||
Heavy modifications by: [Alex Epstein](https://github.com/alexanderepstein)
|
Heavy modifications by: [Alex Epstein](https://github.com/alexanderepstein)
|
||||||
</details>
|
</details>
|
||||||
|
@ -398,7 +393,7 @@ cd Bash-Snippets
|
||||||
|
|
||||||
* Git checkout to the latest stable release
|
* Git checkout to the latest stable release
|
||||||
```bash
|
```bash
|
||||||
git checkout v1.20.0
|
git checkout v1.21.0
|
||||||
```
|
```
|
||||||
|
|
||||||
* Run the guided install script with
|
* Run the guided install script with
|
||||||
|
|
14
changelog.md
14
changelog.md
|
@ -2,6 +2,20 @@
|
||||||
|
|
||||||
# Bash-Snippets Changelog
|
# Bash-Snippets Changelog
|
||||||
|
|
||||||
|
## Version 1.21.0
|
||||||
|
|
||||||
|
## Changes
|
||||||
|
* Fixing the exchange name for the stocks tool
|
||||||
|
* Adding the memes component
|
||||||
|
* Fixing locale error
|
||||||
|
* Added pwned component
|
||||||
|
* Adding one time file transfer to transfer component
|
||||||
|
* Changing how cryptocurrency tool works now using rate.sx
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div align="center">
|
||||||
|
|
||||||
## Version 1.20.0
|
## Version 1.20.0
|
||||||
|
|
||||||
## Changes
|
## Changes
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# Author: Alexander Epstein https://github.com/alexanderepstein
|
# Author: Alexander Epstein https://github.com/alexanderepstein
|
||||||
|
|
||||||
currentVersion="1.20.0"
|
currentVersion="1.21.0"
|
||||||
configuredClient=""
|
configuredClient=""
|
||||||
## rest of these variables are search flags
|
## rest of these variables are search flags
|
||||||
search="0"
|
search="0"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# Author: Alexander Epstein https://github.com/alexanderepstein
|
# Author: Alexander Epstein https://github.com/alexanderepstein
|
||||||
|
|
||||||
currentVersion="1.20.0"
|
currentVersion="1.21.0"
|
||||||
configuredClient=""
|
configuredClient=""
|
||||||
private="0" ## state of private flag
|
private="0" ## state of private flag
|
||||||
all="0" ## state of all flag
|
all="0" ## state of all flag
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# Author: Alexander Epstein https://github.com/alexanderepstein
|
# Author: Alexander Epstein https://github.com/alexanderepstein
|
||||||
|
|
||||||
currentVersion="1.20.0"
|
currentVersion="1.21.0"
|
||||||
state=""
|
state=""
|
||||||
configuredClient=""
|
configuredClient=""
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
unset base
|
unset base
|
||||||
unset exchangeTo
|
unset exchangeTo
|
||||||
old="false"
|
old="false"
|
||||||
currentVersion="1.20.0"
|
currentVersion="1.21.0"
|
||||||
unset configuredClient
|
unset configuredClient
|
||||||
|
|
||||||
## This function determines which http get tool the system has installed and returns an error if there isnt one
|
## This function determines which http get tool the system has installed and returns an error if there isnt one
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
unset base
|
unset base
|
||||||
unset exchangeTo
|
unset exchangeTo
|
||||||
currentVersion="1.20.0"
|
currentVersion="1.21.0"
|
||||||
unset configuredClient
|
unset configuredClient
|
||||||
currencyCodes=(AUD BGN BRL CAD CHF CNY CZK DKK
|
currencyCodes=(AUD BGN BRL CAD CHF CNY CZK DKK
|
||||||
EUR GBP HKD HRK HUF IDR ILS INR
|
EUR GBP HKD HRK HUF IDR ILS INR
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# Author: Alexander Epstein https://github.com/alexanderepstein
|
# Author: Alexander Epstein https://github.com/alexanderepstein
|
||||||
|
|
||||||
currentVersion="1.20.0"
|
currentVersion="1.21.0"
|
||||||
configuredClient=""
|
configuredClient=""
|
||||||
directionsFlag="0"
|
directionsFlag="0"
|
||||||
directionsMapFlag="0"
|
directionsMapFlag="0"
|
||||||
|
|
2
geo/geo
2
geo/geo
|
@ -4,7 +4,7 @@
|
||||||
# Author: Jake Meyer
|
# Author: Jake Meyer
|
||||||
# Github: https://github.com/jakewmeyer
|
# Github: https://github.com/jakewmeyer
|
||||||
|
|
||||||
currentVersion="1.20.0"
|
currentVersion="1.21.0"
|
||||||
configuredClient=""
|
configuredClient=""
|
||||||
|
|
||||||
## This function determines which http get tool the system has installed and returns an error if there isnt one
|
## This function determines which http get tool the system has installed and returns an error if there isnt one
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# Author: Alexander Epstein https://github.com/alexanderepstein
|
# Author: Alexander Epstein https://github.com/alexanderepstein
|
||||||
currentVersion="1.20.0"
|
currentVersion="1.21.0"
|
||||||
declare -a tools=(cheat cloudup crypt cryptocurrency currency geo lyrics meme movies newton pwned qrify short siteciphers stocks taste todo transfer weather ytview)
|
declare -a tools=(cheat cloudup crypt cryptocurrency currency geo lyrics meme movies newton pwned qrify short siteciphers stocks taste todo transfer weather ytview)
|
||||||
declare -a extraLinuxTools=(maps)
|
declare -a extraLinuxTools=(maps)
|
||||||
declare -a extraDarwinTools
|
declare -a extraDarwinTools
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# Author: Alexander Epstein https://github.com/alexanderepstein
|
# Author: Alexander Epstein https://github.com/alexanderepstein
|
||||||
currentVersion="1.20.0"
|
currentVersion="1.21.0"
|
||||||
configuredClient=""
|
configuredClient=""
|
||||||
artist="false"
|
artist="false"
|
||||||
song="false"
|
song="false"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# Author: Navan Chauhan https://github.com/navanchauhan
|
# Author: Navan Chauhan https://github.com/navanchauhan
|
||||||
currentVersion="1.20.0"
|
currentVersion="1.21.0"
|
||||||
configuredClient=""
|
configuredClient=""
|
||||||
fileName=""
|
fileName=""
|
||||||
## This function determines which http get tool the system has installed and returns an error if there isnt one
|
## This function determines which http get tool the system has installed and returns an error if there isnt one
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# Author: Alexander Epstein https://github.com/alexanderepstein
|
# Author: Alexander Epstein https://github.com/alexanderepstein
|
||||||
|
|
||||||
currentVersion="1.20.0"
|
currentVersion="1.21.0"
|
||||||
configuredClient=""
|
configuredClient=""
|
||||||
configuredPython=""
|
configuredPython=""
|
||||||
detail=false
|
detail=false
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# Author: Alexander Epstein https://github.com/alexanderepstein
|
# Author: Alexander Epstein https://github.com/alexanderepstein
|
||||||
# Author: Navan Chauhan https://github.com/navanchauhan
|
# Author: Navan Chauhan https://github.com/navanchauhan
|
||||||
|
|
||||||
currentVersion="1.20.0"
|
currentVersion="1.21.0"
|
||||||
configuredClient=""
|
configuredClient=""
|
||||||
configuredPython=""
|
configuredPython=""
|
||||||
APIKEY="b2f8880475c888056b6207067fbaa197"
|
APIKEY="b2f8880475c888056b6207067fbaa197"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# Author: Alexander Epstein https://github.com/alexanderepstein
|
# Author: Alexander Epstein https://github.com/alexanderepstein
|
||||||
|
|
||||||
currentVersion="1.20.0"
|
currentVersion="1.21.0"
|
||||||
configuredClient=""
|
configuredClient=""
|
||||||
flagCount="0"
|
flagCount="0"
|
||||||
declare -a simpleOperations=(simplify factor derive integrate zeroes roots tangent area cos sin tan arccos arcsin arctan abs log)
|
declare -a simpleOperations=(simplify factor derive integrate zeroes roots tangent area cos sin tan arccos arcsin arctan abs log)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# Author: Navan Chauhan https://github.com/navanchauhan
|
# Author: Navan Chauhan https://github.com/navanchauhan
|
||||||
|
|
||||||
currentVersion="1.20.0"
|
currentVersion="1.21.0"
|
||||||
configuredClient=""
|
configuredClient=""
|
||||||
configuredPython=""
|
configuredPython=""
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# Author: Linyos Torovoltos github.com/linyostorovovoltos
|
# Author: Linyos Torovoltos github.com/linyostorovovoltos
|
||||||
|
|
||||||
currentVersion="1.20.0"
|
currentVersion="1.21.0"
|
||||||
multiline="0" # flag that indicates multiline option
|
multiline="0" # flag that indicates multiline option
|
||||||
fileoutput="0" # flag indicating the -f option
|
fileoutput="0" # flag indicating the -f option
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# Author: Alexander Epstein https://github.com/alexanderepstein
|
# Author: Alexander Epstein https://github.com/alexanderepstein
|
||||||
|
|
||||||
currentVersion="1.20.0"
|
currentVersion="1.21.0"
|
||||||
configuredClient=""
|
configuredClient=""
|
||||||
configuredPython=""
|
configuredPython=""
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
DELAY=1
|
DELAY=1
|
||||||
configuredClient=""
|
configuredClient=""
|
||||||
currentVersion="1.20.0"
|
currentVersion="1.21.0"
|
||||||
|
|
||||||
checkOpenSSL()
|
checkOpenSSL()
|
||||||
{
|
{
|
||||||
|
|
2
skeleton
2
skeleton
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# Author: Alexander Epstein https://github.com/alexanderepstein
|
# Author: Alexander Epstein https://github.com/alexanderepstein
|
||||||
currentVersion="1.20.0"
|
currentVersion="1.21.0"
|
||||||
configuredClient=""
|
configuredClient=""
|
||||||
|
|
||||||
## This function determines which http get tool the system has installed and returns an error if there isnt one
|
## This function determines which http get tool the system has installed and returns an error if there isnt one
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# Author: Alexander Epstein https://github.com/alexanderepstein
|
# Author: Alexander Epstein https://github.com/alexanderepstein
|
||||||
# Author: Navan Chauhan https://github.com/navanchauhan
|
# Author: Navan Chauhan https://github.com/navanchauhan
|
||||||
|
|
||||||
currentVersion="1.20.0"
|
currentVersion="1.21.0"
|
||||||
configuredClient=""
|
configuredClient=""
|
||||||
configuredPython=""
|
configuredPython=""
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# Author: Alexander Epstein https://github.com/alexanderepstein
|
# Author: Alexander Epstein https://github.com/alexanderepstein
|
||||||
|
|
||||||
currentVersion="1.20.0"
|
currentVersion="1.21.0"
|
||||||
configuredClient=""
|
configuredClient=""
|
||||||
configuredPython=""
|
configuredPython=""
|
||||||
source ~/.bash_profile 2> /dev/null ## allows grabbing enviornment variable
|
source ~/.bash_profile 2> /dev/null ## allows grabbing enviornment variable
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# Author: Alexander Epstein https://github.com/alexanderepstein
|
# Author: Alexander Epstein https://github.com/alexanderepstein
|
||||||
flag=""
|
flag=""
|
||||||
currentVersion="1.20.0"
|
currentVersion="1.21.0"
|
||||||
configuredClient=""
|
configuredClient=""
|
||||||
|
|
||||||
## This function determines which http get tool the system has installed and returns an error if there isnt one
|
## This function determines which http get tool the system has installed and returns an error if there isnt one
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
configuredDownloadClient=""
|
configuredDownloadClient=""
|
||||||
configuredUploadClient=""
|
configuredUploadClient=""
|
||||||
configuredClient=""
|
configuredClient=""
|
||||||
currentVersion="1.20.0"
|
currentVersion="1.21.0"
|
||||||
down="false"
|
down="false"
|
||||||
|
|
||||||
## This function determines which http get tool the system has installed and returns an error if there isnt one
|
## This function determines which http get tool the system has installed and returns an error if there isnt one
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# Author: Alexander Epstein https://github.com/alexanderepstein
|
# Author: Alexander Epstein https://github.com/alexanderepstein
|
||||||
|
|
||||||
currentVersion="1.20.0" #This version variable should not have a v but should contain all other characters ex Github release tag is v1.2.4 currentVersion is 1.2.4
|
currentVersion="1.21.0" #This version variable should not have a v but should contain all other characters ex Github release tag is v1.2.4 currentVersion is 1.2.4
|
||||||
LANG="${LANG:-en}"
|
LANG="${LANG:-en}"
|
||||||
locale=$(echo $LANG | cut -c1-2)
|
locale=$(echo $LANG | cut -c1-2)
|
||||||
unset configuredClient
|
unset configuredClient
|
||||||
|
|
|
@ -6,7 +6,7 @@ if [[ -d $HOME/.cache/ytview ]]; then rm -rf $HOME/.cache/ytview/; fi
|
||||||
|
|
||||||
player=""
|
player=""
|
||||||
configuredClient=""
|
configuredClient=""
|
||||||
currentVersion="1.20.0"
|
currentVersion="1.21.0"
|
||||||
flag=""
|
flag=""
|
||||||
|
|
||||||
## This function determines which http get tool the system has installed and returns an error if there isnt one
|
## This function determines which http get tool the system has installed and returns an error if there isnt one
|
||||||
|
|
Loading…
Reference in New Issue