Skip to content

Commit

Permalink
Updating to 1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Epstein committed Jun 30, 2017
1 parent ce876cb commit a972f11
Show file tree
Hide file tree
Showing 11 changed files with 32 additions and 9 deletions.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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
Expand All @@ -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
Expand Down
13 changes: 13 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion crypt/crypt
Original file line number Diff line number Diff line change
@@ -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()
Expand Down
2 changes: 1 addition & 1 deletion currency/currency
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
# Author: Alexander Epstein https://github.com/alexanderepstein
currentVersion="1.4.0"
currentVersion="1.5.0"

if [[ $# == 0 ]]; then

Expand Down
2 changes: 1 addition & 1 deletion movies/movies
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion short/short
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Binary file added short/short.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion stocks/stocks
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion taste/taste
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion weather/weather
Original file line number Diff line number Diff line change
@@ -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=""
Expand Down

0 comments on commit a972f11

Please sign in to comment.