Updating to 1.5.0

This commit is contained in:
Alex Epstein 2017-06-30 11:18:49 -04:00
parent ce876cb59f
commit a972f11fba
11 changed files with 32 additions and 9 deletions

View File

@ -121,6 +121,15 @@ Valid items are: shows, books, music, artists, movies, authors, games
* After getting the API key run the following command: export TASTE_API_KEY="yourAPIKeyGoesHere"
* If issues occur first try setting the API key without quotations marks
## Short
Gets the link that is being masked by a url shortner
<div align="center">
<img max-height="500px" max-width="500px" src="https://github.com/alexanderepstein/Bash-Snippets/blob/master/short/short.png?raw=true">
</div>
## API's Used
* To get location based on ip address: <a href="https://ipinfo.io">ipinfo.io</a>
@ -129,6 +138,7 @@ Valid items are: shows, books, music, artists, movies, authors, games
* To grab the latest exchange rate between currencies: <a href="http://api.fixer.io">api.fixer.io</a>
* To grab information on movies: <a href="http://www.omdbapi.com/">omdbapi.com</a>
* To grab recommendations based on an item: <a href="https://tastedive.com">tastedive.com</a>
* To determine masked link behind url shortner: <a href="http://x.datasig.io">x.datasig.io</a>
#### Inspired by: <a href="https://github.com/jakewmeyer/Ruby-Scripts">Ruby-Scripts</a>
## Installing
@ -137,7 +147,7 @@ Valid items are: shows, books, music, artists, movies, authors, games
* Then cd into the cloned directory: ```cd Bash-Snippets```
* Git checkout to the latest stable release ```git checkout v1.4.0```
* Git checkout to the latest stable release ```git checkout v1.5.0```
* Run the guided install script with
```bash

View File

@ -2,7 +2,20 @@
# Bash-Snippets Changelog
## Version 1.5.0
</div>
### Changes
* Added short component
### Bugfixes
* Sending errors in taste tool to /den/null
* Taste tool only has one unique youtube link not three
<div align="center">
## Version 1.4.0
</div>
# Changes

View File

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

View File

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

View File

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

BIN
short/short.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

View File

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