Very nice! This can come in handy for creating a place to dump code, without having to endure pastebin.com's recently-acquired fail-ness.
Nice work with the code, too. Short and sweet.
My only suggestion would be to make the links a bit shorter, as a base64-encode is a bit long for comfort in the short-URL world which we live in.