Save a readonly file while you are still in Vim

I was doing this and a coworker of mine saw it and told me that is a cool trick so it became a blogpost.

:w !sudo tee %