Hacker GitHub

← All repos

sindresorhus/guides

View on GitHub ↗ ★ 2,525

A collection of succinct guides - Public Domain

3 mentions on Hacker News by 1 person: 0 stories, 3 comments · first 2015-01-16 · latest 2016-04-15

Mentions per year 3 mentions · busiest year 2015 (2)
20082026
  1. …`rm`, but in the end, it's better to just use a tool that move files to the trash [1] instead. [0]: https://github.com/sindresorhus/guides/blob/master/how-not-t... [1]: https://github.com/sindresorhus/trash-cli
  2. There are some things you can do to make `rm` safer which would prevent this from working: https://github.com/sindresorhus/guides/blob/master/how-not-t... Though the real fix is doing development in a sandboxed container.
    comment by mofle · 2015-01-26 · in Npm install could be dangerous
  3. I've written a short guide on how you should safeguard `rm`: https://github.com/sindresorhus/guides/blob/master/how-not-t...