Tools, VIM

Git Commit Weirdness

Sometimes when we pull from upstream origin in terminal, we see git prompting to enter vim. And if we left it hanging there and went ahead committing somewhere else, it would treat all those changes in master as your own contribution, because merge didn’t happen before commit.

Continue reading

Standard
OS X, Tools

NPM: ERRORINUSE

For error:

Error: listen EADDRINUSE :::3042

We just need to kill whatever that’s on the port. Probably the last exit wasn’t clean. Do:

$ lsof -i :3042 // to find out the PID number
$ kill -9 PID   // kill the process with its PID
Standard