Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Aug 2, 2021. It is now read-only.

jakewmeyer/Ruby-Scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Imgur

Ruby Scripts

A collection of ruby scripts for those who live in the command line.

Codacy Badge GitHub release Gem Language license Platform

Stock Search / File Encryptor / Currency Converter / Weather Search / Movie Search / IP Geolocation / IP List



Install / Setup

Install the scripts easily as a ruby gem

gem install jake-scripts

Gems Used

  • Rest-Client - Client for making HTTP requests in ruby
  • Ruby Money - Ruby library for accurate currency management
  • Monetize - Ruby library for money object creation

Stock Search - Returns current stock information

Imgur

Currency Exchange - Returns converted currency based on realtime exchange rates

Uses Fixer.io for exchange data.

Uses Ruby Money for conversion accuracy + currency symbols

Imgur

File Encryptor - Uses OpenSSL to encrypt and decrypt files with a password

encrypt [original file] [encrypted file]
decrypt [encrypted file] [output file]

Encryption Details

  • Uses AES 256 level encryption
  • Key is salted before creation
  • Password is never in plain text, and OpenSSL generates key based on password
  • Data is encrypted in Base64, so it can be used as plain text in an email. (Not usually necessary if attached as a file)

Tested With => .pdf, .txt, .docx, .doc, .png, .jpeg

CAUTION => Make sure to use different filenames, otherwise your file will be overwritten!

Imgur

Weather Search - Returns current weather information based on IP

Uses the APIXU weather api.

Imgur

IP List - Returns network information

  • IP List now has dual LAN support
  • IP list is now called ip_list to avoid conflict on Linux

Imgur

IP Location - Returns info about current WAN IP

Imgur

IP Geolocation - Returns geo info on a specified IP address

Imgur

Movie Search - Uses OMDB API to return movie data

Uses the OMBDB API.

Imgur

FAQ / Contact

  • If you run into any issues, please open an issue ASAP and we'll work to get it resolved and merged.
  • All Programs are fully functional, with live API keys baked in.
  • NOTE: ip_list will only work on a Mac, due to OS specific commands used in the program.
  • Terminal used is Hyper.js -> Background Color: #292937
  • Using Oh-My-Zsh, Robby Russell theme, zsh-syntax-highlighting, and zsh_autosuggestions

About

A collection of ruby scripts for those who live in the command line

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages