Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Saw this at a glance:

> Add to your Vim configuration:

    " :w!! 
    " write the file when you accidentally opened it without the right (root) privileges
    cmap w!! w !sudo tee % > /dev/null
https://wikileaks.org/ciav7p1/cms/page_4849889.html

Much of it is like this, little recipes ranging from building EFI executables to setting up a Debian machine and so on. Like collected stackoverflow answers.

It's interesting to see how they write up these little how-tos in a way that gets the reader very quickly up to speed and hacking on a particular problem.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: