npm install multiple package names

It is definitely not installing multiple packages Why? You’re installing package1 and package2 and marking them as devDependencies with –save-dev. As stated in the documentation, you may combine multiple arguments, and even multiple types of arguments. In your case, you’re combining 2 package names published on the registry.

git undo all uncommitted or unsaved changes

This will unstage all files you might have staged with git add:git reset This will revert all local uncommitted changes (should be executed in repo root):git checkout . You can also revert uncommitted changes only to particular file or directory:git checkout [some_dir|file.txt] Yet another way to revert all uncommitted changes (longer to type, but works from … Read more

How do I make a python script executable?

Add a shebang line to the top of the script:#!/usr/bin/env python Mark the script as executable:chmod +x myscript.py Add the dir containing it to your PATH variable. (If you want it to stick, you’ll have to do this in .bashrc or .bash_profile in your home dir.)export PATH=/path/to/script:$PATH