Ruby Essential Testing Tools
Here is the "test tooling" that you need to be a successful Ruby developer. [subpages] Rspec Factory Bot SimpleCov Reverse_coverage Reverse coverage is a tool...
Use Git Clean Remove Changes and New Directories
Doesn't actually clean yet, just tells you what would be cleaned: git clean -n For real, delete any files not committed to your repository git...
Shell Scripting – set -euo pipefail Failsafe
Shell scripts don't actually fail automatically. If one line returns a non-zero (failure) exit code, that code simply falls through to the next line, but...
Show the current git branch on the shell prompt
5) Show the current git branch on the shell prompt Add this to your ~/.bash_profile script parse_git_branch() { git branch 2> /dev/null | sed -e...
Git autocomplete on the shell prompt
4) Git autocomplete on the shell prompt Go here, right-click and choose “Save As…”, save this file to your home directory as ~/.git-completion.bash(Remember, that ~...
Set the default EDITOR for you Shell
3) Set the default EDITOR for you Shell Sometimes you are on the shell prompt and your shell prompt needs you to edit a document,...
Node Version Manager
2) Node Version Manager For sanity sake, you'll want to install a tool call Node Version Manager (or nvm) that will let you switch between...
RVM vs RBENV
1) Choose between Ruby Version Manager or RBENV You'll want to install either of two tools: Ruby Version Manager, known as RVM, or its alternative...
curl
curl is the fasted command-line tool to see how a URI (uniform resource identifier) responds. You simply pass curl the URL you want to send...
Tab-tab — Auto-suggest
#11) Tab-tab — Auto-suggest BONUS! Bash comes with a special bonus: Tab-tab. That's when you hit tab twice, your shell prompt will show you a list...