Updating to 1.6.0

This commit is contained in:
Alex Epstein 2017-07-01 00:07:24 -04:00
parent 3348598550
commit e7540088c2
12 changed files with 35 additions and 12 deletions

View File

@ -52,6 +52,17 @@ Provides information about a certain stock symbol
</div>
## Geo
Provides date for wan, lan, router, dns, mac, and ip geolocation
<div align="center">
<img max-height="500px" max-width="500px" src="https://github.com/alexanderepstein/Bash-Snippets/blob/master/geo/geo.png?raw=true">
</div>
## Currency
Converts currency based on realtime exchange rates
@ -147,7 +158,7 @@ Gets the link that is being masked by a url shortner
* Then cd into the cloned directory: ```cd Bash-Snippets```
* Git checkout to the latest stable release ```git checkout v1.5.0```
* Git checkout to the latest stable release ```git checkout v1.6.0```
* Run the guided install script with
```bash

View File

@ -2,6 +2,15 @@
# Bash-Snippets Changelog
## Version 1.6.0
</div>
### Changes
* Added geo component
<div align="center">
## Version 1.5.0
</div>

View File

@ -1,7 +1,7 @@
#!/bin/bash
# Author: Alexander Epstein https://github.com/alexanderepstein
currentVersion="1.5.0"
currentVersion="1.6.0"
## uses openssl aes 256 cbc encryption to encrypt file salting it with password designated by user
encrypt()

View File

@ -3,7 +3,7 @@
base=""
exchangeTo=""
currentVersion="1.5.0"
currentVersion="1.6.0"
configuredClient=""
## This function determines which http get tool the system has installed and returns an error if there isnt one

View File

@ -6,7 +6,7 @@
# Github: https://github.com/jakewmeyer
#
currentVersion="1.5.0"
currentVersion="1.6.0"
configuredClient=""
## This function determines which http get tool the system has installed and returns an error if there isnt one
@ -207,6 +207,9 @@ if [ $# -eq 0 ];
then
usage
exit 0
elif [[ $1 == "update" ]];then getConfiguredClient && checkInternet && update || exit 1
elif [[ $1 == "help" ]];then usage
elif [[ $1 == "update" ]];then
getConfiguredClient && checkInternet && update || exit 1
elif [[ $1 == "help" ]];then
usage
exit 0
fi

BIN
geo/geo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

View File

@ -1,6 +1,6 @@
#!/bin/bash
# Author: Alexander Epstein https://github.com/alexanderepstein
currentVersion="1.5.0"
currentVersion="1.6.0"
if [[ $# == 0 ]]; then

View File

@ -1,7 +1,7 @@
#!/bin/bash
# Author: Alexander Epstein https://github.com/alexanderepstein
currentVersion="1.5.0"
currentVersion="1.6.0"
configuredClient=""
## This function determines which http get tool the system has installed and returns an error if there isnt one

View File

@ -1,7 +1,7 @@
#!/bin/bash
# Author: Alexander Epstein https://github.com/alexanderepstein
currentVersion="1.5.0"
currentVersion="1.6.0"
configuredClient=""
## This function determines which http get tool the system has installed and returns an error if there isnt one

View File

@ -1,7 +1,7 @@
#!/bin/bash
# Author: Alexander Epstein https://github.com/alexanderepstein
currentVersion="1.5.0"
currentVersion="1.6.0"
configuredClient=""
## This function determines which http get tool the system has installed and returns an error if there isnt one

View File

@ -1,7 +1,7 @@
#!/bin/bash
# Author: Alexander Epstein https://github.com/alexanderepstein
currentVersion="1.5.0"
currentVersion="1.6.0"
configuredClient=""
source ~/.bashrc ## allows grabbing enviornment variable
apiKey=$TASTE_API_KEY

View File

@ -1,7 +1,7 @@
#!/bin/bash
# Author: Alexander Epstein https://github.com/alexanderepstein
currentVersion="1.5.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.6.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}"
locale=$(echo $LANG | cut -c1-2)
configuredClient=""