The dreams were awesome, but I did it professionally. I quit for another job, but this was my process
1) clear out my work computer of absolutely any personal things, make backup of any useful contacts or code.
2) secretly bring out any personal item I own the days before, so when I give notice, if my boss gives the slightest bit of crap I can immediately leave after saying, "You know what, two weeks notice is a courtesy I was planning on extending to you, but no longer am".
3) resignation letter:
<date>
This letter is to inform you that I am am resigning my position of <job title> with <company name>. My planned last day will be <date from two weeks from now>
<signed name>
<name>
4) I walked into my boss with confidence, even though inside I was a bit nervous, shut the door and just said, "I'm sorry to have to dump this on your plate but I was offered a position with another company that I accepted, here is my resignation letter." That was enough to get the ball rolling with an informal professional conversation, "sorry to see you go" "it was nice to work with you" "let me absorb this and meet up in an hour to talk transition" etc.
5) created my own transition plan on my own terms
----with 10 business days to go, spend the first 3 documenting, next 3 training, next three supporting, with the last day turning in laptop and going to lunch. I'd show up at 10, leave at 3, and as of giving in the letter would take on no more responsibilities.