2
0
Fork 0
mirror of https://github.com/alexanderepstein/Bash-Snippets synced 2018-11-08 02:59:35 +01:00
#Bash #Snippets
Find a file
2017-06-27 10:34:03 -04:00
crypt Beautifying the bash 2017-06-26 23:18:18 -04:00
currency Adding screenshots 2017-06-26 20:08:51 -04:00
movies Adding Movies 2017-06-26 22:41:41 -04:00
stocks Adding comments to stocks 2017-06-27 10:34:03 -04:00
weather Beautifying the bash 2017-06-26 23:18:18 -04:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2017-06-26 22:02:55 -04:00
install.sh Adding Movies 2017-06-26 22:41:41 -04:00
LICENSE Initial commit 2017-06-26 17:55:08 -04:00
README.md Fixing error message 2017-06-26 22:54:07 -04:00
uninstall.sh Adding Movies 2017-06-26 22:41:41 -04:00

Bash-Snippets

A collection of small bash scripts for heavy terminal users with no dependencies

Weather

Provides a 3 day forecast based on your ip address

To Be Added

[ ] Take in location as arguments

Stocks

Provides information about a certain stock symbol

Currency

Converts currency based on realtime exchange rates

To Be Added

[ ] Pass in arguments as well on top of the option to have it guide you through input

Encryption & Decryption

A wrapper for openssl that allows for quickly encrypting and decrypting files

Movies

Quick search that grabs relevant information about a movie

API's Used

  • To get location based on ip address: ipinfo.io
  • To get and print weather based on a location: wttr.in
  • To grab the stock information in JSON format: alphavantage.co
  • To grab the latest exchange rate between currencies: api.fixer.io
  • To grab information on movies: omdbapi.com

Inspired by: Ruby-Scripts

Installing

  • First clone the repository: git clone https://github.com/alexanderepstein/Bash-Snippets

  • Then cd into the cloned directory: cd Bash-Snippets

To install all scripts

./install.sh

To install individual scripts

Ex. Weather

cd weather
./install.sh

Uninstalling

  • If you don't have the Bash-Snippets folder anymore clone the repository: git clone https://github.com/alexanderepstein/Bash-Snippets

  • cd into the Bash-Snippets directory: cd Bash-Snippets

To uninstall all scripts

./uninstall.sh

To uninstall individual scripts

Ex. Weather

cd weather
./uninstall.sh

Donate

If this project helped you in any way and you feel like buying a broke college kid a cup of coffee

Donate Donate

License

MIT License

Copyright (c) 2017 Alex Epstein

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.