JavaScript Promises are great, but there's a number of subtle misuses that can break them. We'll walk through some common mistakes and how to avoid them.
The best way to deal with asynchronous JavaScript is ES6 Promises. Here's an overview of JavaScript Promises, error catching, and how to make your own.
Bash programmable completion lets you create your own custom completion functions – scripts that allow you to tab-complete arguments for specific commands.