Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
bash_snippets-1.23.0-1-x86_64.hpkg | 2024-02-25 | 803.2 kB | |
readme.md | 2024-02-25 | 4.5 kB | |
Totals: 2 Items | 807.7 kB | 0 |
Bash-Snippets
A collection of small bash scripts for heavy terminal users with no dependencies
These scripts have been lightly tested on Haiku. Only the subset of tools that seemed to work has been included here.
Tools
cheat
The fastest way to find {command options|code pieces} you need
Supports multiple languages and many bash commands
crypt
A wrapper for openssl that allows for quickly encrypting and decrypting files
crypt -e [original file] [encrypted file] # encrypts files
crypt -d [encrypted file] [output file] # decrypts files
*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
- Encrypted data is encoded 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!
cryptocurrency
Converts Cryptocurrency based on realtime exchange rates of the top 10 cryptos
Originally written by: Jonas-Taha El Sesiy Heavy modifications by: Alex Epstein
currency
Converts currency based on realtime exchange rates
If you want to bypass to guided input you can pass in 3 arguments and it will run from there
example: .currency [baseCurrency] [exchangeToCurrency] [amountBeingExchanged]
so a valid use case would be currency USD EUR 12.35
lyrics
Grab lyrics for a given song quickly from the command line.
meme
A lightning fast meme generator.
pwned
Shows how recently an account has been breached.
qrify
Takes any string of text and turns it into a qr code
This is useful for sending links or saving a string of commands to your phone
Written by: Linyos Torovoltos
Short
Gets the link that is being masked by a url shortner
Siteciphers
Check which ciphers are enabled / disabled for a given https site.
Sometimes ciphers are deemed vulnerable, so when you are changing configuration, this can be used to confirm that the cipher truly is disabled.
Some browsers (For example old versions of IE) don't support some of the newer ciphers, which would be a good example of when a SysAdmin would need a list of currently supported ciphers so that changes can be made.
Weather
Provides a 3 day forecast
With no arguments it will grab the weather for your location as determined by your ip
With arguments you can pass in a city or country and get the weather in that area
Also can show the current moon phase
MIT Licensed
Copyright (c) 2017 Alex Epstein