Write an article based on this summary:

Finish large projects. Provide detailed instructions. Offer to work a little longer, if possible. Approach an exit interview warily. Leave the office immediately, if requested. Speak positively about your employer in the future.

Article:
The worst thing you can do is dump a heap of work on the person hired to replace you (or on colleagues left behind). Accordingly, make sure that you finish up any large projects before you leave.  Another option is to time your exit just right. Finish large projects and then give your two weeks' notice. Also remember not to take on any new large projects during your remaining days. Instead, volunteer to find someone else who can jump in. If you can't finish all your big projects ahead of time, then leave instructions for your boss about how to complete the project. Identify who on the current team can complete tasks until a new person is hired to replace you.  Identify every project you are working on currently and explain what needs to be done. You might need to offer very detailed instructions if no one on the team knows how to complete certain tasks. Also repeat that you are available by phone if someone needs to contact you. Two weeks might not be enough time for you to finish up important tasks and get other people up to speed. Furthermore, people in more senior positions need to give more than two weeks because of the complexity of their jobs. If possible, be flexible and tell your employer you can stay longer.  Generally, the amount of notice you need to give should be equivalent to the number of vacation weeks you earn in a year. Accordingly, someone who gets four vacation weeks should probably give four weeks' notice. If you can't work longer, offer to train a replacement if they're hired in time. Some employers will hound you to do an exit interview. These interviews are supposed to be completely confidential, but often they aren't. Instead, if you vent about anyone in the company, word could get back to them and now you've made an enemy. The safest option is to decline an exit interview, if possible.  If you do participate in the exit interview, offer only light constructive criticism. For example, your boss might have been too involved with team members' personal lives. In that situation, you can say, “Karen really cared about her team, but sometimes she cared so much that she probed into people's personal lives. I think she had the best intentions, and otherwise she was a great boss.” Always remember to swamp any criticism you make with praise. Your boss might not let you work two more weeks. Instead, as soon as you give your resignation you may be shown the door. In that situation, leave without putting up a fuss. Smile at everyone on your way out and keep your chin up.  This “perp walk” sometimes happens when you quit to work for a competitor or your boss thinks you might be disruptive. To prepare for the perp walk, gather your personal belongings ahead of time so that they are in a box you can take with you. Research ahead of time what you can take and what you can't take. If you used a company cell phone for personal matters, make sure you've removed the personal material before turning over the phone. You should never bad mouth a previous employer, even after you've left the position. Only speak positively about your colleagues, boss, and the company itself. Try to maintain the same story to explain why you left. If you told your boss you left for more advancement opportunities, then that should be your story for the future.