I tried the bare minimum approach, and with my personality type, it actually made me more stressed (which was kind of ironic, because my boss didn't like me because he thought I wasn't doing enough due to my....*checks notes again* Skype light going yellow more than he liked).
What has gotten me through, at least for a little while, was to (1) learn as much new stuff as I could, even knowing I would be gone eventually and (2) helping others out, so at least someone wouldn't be miserable with me there.