Adding bash-snippets tools

Didnt add cheat as i thought that was a little recursive
pull/3/head
Alex Epstein 7 years ago
parent 9ff7ea4d0c
commit 74add8a095

@ -0,0 +1,8 @@
# Backup all of a single github users repositories
cloudup -a
# Backup a single github repository
cloudup
# Backup a single github repository (supplying the name of repo as argument)
cloudup repositoryName

@ -0,0 +1,5 @@
# Encrypt a file
crypt -e fileToEncrypt outputFile
# Decrypt a file
crypt -d fileToDecrypt outputFile

@ -0,0 +1,6 @@
# To convert between currencies (guided)
currency
# To convert between currencies (by supplying arguments)
# First argument is base currency second is the currency being exchanged to
currency USD EUR 14.38

@ -0,0 +1,20 @@
# Get your wireless area network ip address
geo -w
# Get your local area network ip address(es)
geo -l
# Get your router ip address
geo -r
# Get your DNS name server
geo -d
# Get mac address for supplied interface
geo -m eth0
# Get your current ip address geodata
geo -g
# Combine options
geo -wlrdgm eth0

@ -0,0 +1,2 @@
# Search for information on a specific movie
movies Inception

@ -0,0 +1,8 @@
# Encode a single lined string into a qr code
qrify This is an example string
# Encode a multiple lined string into a qr code
qrify -m "This should be \n two lines"
# Encode a url into a qr code
github.com

@ -0,0 +1,3 @@
# Unmask the true url behind a shortened link
Input: short tinyurl.com/jhkj
Output: http://possiblemaliciouswebsiteornot.com

@ -0,0 +1,5 @@
# Determine the available SSL ciphers for an https website
siteciphers github.com
# Determine the ciphers setting the delay between requests (default is 1 sec)
siteciphers -d 0.75 travis-ci.org

@ -0,0 +1,5 @@
# Determine the latest stock information searching by company
stocks Tesla
# Determine the latest stock information searching by stock ticker
stocks AAPL

@ -0,0 +1,8 @@
# Get the names of three recommendations based on supplied item
taste Catcher in the Rye
# Get the names and information on three recommendations based on supplied item
taste -i Kendrick Lamar
# Get information on the supplied item
taste -s Red Hot Chili Peppers

@ -0,0 +1,11 @@
# Add a task to your todo list
todo -a This is an example task
# Print the current task list
todo -g
# Remove a single task from the list
todo -r [taskNumber]
# To clear all tasks
todo -c or todo clear

@ -0,0 +1,8 @@
# Get a 3 day forecast for your current location as determined by your ip address
weather
# Get a 3 day forecast for any location
weather Tokyo
# Get the current moon phase
weather Moon

@ -0,0 +1,8 @@
# Search for youtube videos by title
ytview This is my search query
# Search for youtbe videos by specifying a channel
ytview -c numberphile
# After using one of the two above commands you will be able
# To pick from a list of videos and play it from the terminal
Loading…
Cancel
Save