Grails pastebin updated

Posted: 2009-03-13

Just updated the grails based pastebin.

I got fed up (read embarrassed) by the autogenerated URLs. They were simply too long as it was using UUID to generate the URLs.

So - I generated a nice new function that will generate a short (3-10 chars) random string of upper/lower case letters and numbers.

This also allowed me to have a "short url" function (similar to tinyurl etc etc) without too much extra work.

Finally I grabbed a theme off of open source web design to make it look a little better.