mirror of
https://github.com/alexanderepstein/Bash-Snippets
synced 2018-11-08 02:59:35 +01:00
Updating to 1.5.0
This commit is contained in:
parent
ce876cb59f
commit
a972f11fba
12
README.md
12
README.md
@ -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
|
||||
|
13
changelog.md
13
changelog.md
@ -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
|
||||
|
@ -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()
|
||||
|
@ -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
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
# Author: Alexander Epstein https://github.com/alexanderepstein
|
||||
currentVersion="1.4.0"
|
||||
currentVersion="1.5.0"
|
||||
|
||||
if [[ $# == 0 ]]; then
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
BIN
short/short.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 23 KiB |
@ -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
|
||||
|
@ -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
|
||||
|
@ -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=""
|
||||
|
Loading…
Reference in New Issue
Block a user