同步操作将从 Gitee 极速下载/bash-snippets 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
For a quick list and summary of the tools from the terminal run one of the following 3 lines compatible with your system
curl -A curl -s cheat.sh/~Bash-Snippets
wget -qO- cheat.sh/~Bash-Snippets
fetch cheat.sh/~Bash-Snippets
The fastest way to find {command options|code pieces} you need
Supports multiple languages and many bash commands
A tool that facilitates backing up github repositories to bitbucket
If you have ever felt the fear of the github unicorn this could be your savior
Furthermore you can backup the repositories of any github user to your bitbucket.
Backup all github repositories of the designated user at once with the -a option. Or run it with no flags and backup individual repositories.
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
Tested With .pdf, .txt, .docx, .doc, .png, .jpeg
CAUTION Make sure to use different filenames, otherwise your file will be overwritten!
Converts Cryptocurrency 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
ex.currency [baseCurrency] [exchangeToCurrency] [amountBeingExchanged]
so a valid use case would be currency BTC USD 12.35
Written by: Jonas-Taha El Sesiy
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
ex.currency [baseCurrency] [exchangeToCurrency] [amountBeingExchanged]
so a valid use case would be currency USD EUR 12.35
Provides data for wan, lan, router, dns, mac, and ip geolocation
Written by: Jake Meyer
Quick search that grabs relevant information about a movie
Performs numerical calculations all the way up to symbolic math parsing.
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
Gets the link that is being masked by a url shortner
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.
Provides information about a certain stock symbol
Recommendation engine that provides three similar items like the supplied item
Also can provide information on a given item
Valid items are: shows, books, music, artists, movies, authors, games
export TASTE_API_KEY="yourAPIKeyGoesHere" >> ~/.bash_profile
A simplistic command line todo list
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
Provides a way to watch youtube videos from the terminal.
You can use ytview -c [channel name]
to see recent videos by that artist.
You can use ytview -s [videoToSearch]
or just ytview [videoToSearch]
to search for videos.
Written by: Linyos Torovoltos
brew install bash-snippets
sparrow plg install [tool]
There is an AUR package for bash-snippets located here
First clone the repository: git clone https://github.com/alexanderepstein/Bash-Snippets
Then cd into the cloned directory: cd Bash-Snippets
Git checkout to the latest stable release git checkout v1.16.2
Run the guided install script with
./install.sh
this will let you choose which scripts to install
./install.sh all
./install.sh stocks
brew upgrade bash-snippets
With any of the installed tools you can automate the update by running it with the -u option or passing in update as the arguments Ex.
stocks update
or
stocks -u
This will clone the repository and install the new versions of scripts that were installed, if you didn't install a certain tool this script will not install the new version of that tool.
brew uninstall bash-snippets
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
./uninstall.sh
If this project helped you in any way and you feel like buying a broke college kid a cup of coffee
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.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。